Closed JohnTroony closed 8 years ago
@JohnTroony Thanks for the work here. I'll make some time to review.
No problem @dana-at-cp
@JohnTroony FYI. I really like the Metasploit RC file generation idea.
Nice! @danta-at-cp
@JohnTroony Thanks again for this pull request. I'm incorporating your Metasploit resource script suggestion in the next release. I'll give you credit for the suggestion in the "AUTHORS" file if that is alright with you.
This pull request will be closed.
No problem! Thank you for your time to review the PR.
Change log:
1) Add colors for different program message output
2) Remove redundant error checking code
The above error checking code has been replaced by an exception_handler function below;
It take the error status code (
$rc
) and the error message, as inputs.3) Add function to check if required packages/libs have been installed.
If a required package is not available, it's going to be installed.
GOTCHA:
Here I've assumed the user is on a Debian based Linux distro - (Kali).
4) Generate Metasploit RC file
After creating the backdoor APK file, the option used for payload generation is later used for creating a Metasploit rc file. This automates the process of setting up the required listener for the backdoor APK.
To execute the file:
run
msfconsole -r backdoorApk.rc
.