Metasploit Failed to run

1,027 views
Skip to first unread message

Mohammed Lahlou

unread,
Mar 30, 2016, 7:10:39 AM3/30/16
to PentestBox Forum
DL is deprecated, please use Fiddle
C:/PentestBox/bin/metasploit-framework/modules/payloads/stagers/android/reverse_tcp.rb:39:in `generate_jar': android/apk/classes.dex not found (RuntimeError)
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/payload/dalvik.rb:27:in `generate'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/payload.rb:200:in `size'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/payload_set.rb:158:in `block (2 levels) in recalculate'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/payload_set.rb:102:in `each_pair'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/payload_set.rb:102:in `block in recalculate'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/payload_set.rb:98:in `each_pair'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/payload_set.rb:98:in `recalculate'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/modules/loader/base.rb:250:in `block in load_modules'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/modules/loader/base.rb:247:in `each'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/modules/loader/base.rb:247:in `load_modules'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/module_manager/loading.rb:117:in `block in load_modules'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/module_manager/loading.rb:115:in `each'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/module_manager/loading.rb:115:in `load_modules'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:41:in `block in add_module_path'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:40:in `each'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/core/module_manager/module_paths.rb:40:in `add_module_path'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:50:in `block in init_module_paths'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:49:in `each'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/base/simple/framework/module_paths.rb:49:in `init_module_paths'
        from C:/PentestBox/bin/metasploit-framework/lib/msf/ui/console/driver.rb:212:in `initialize'
        from C:/PentestBox/bin/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `new'
        from C:/PentestBox/bin/metasploit-framework/lib/metasploit/framework/command/console.rb:62:in `driver'
        from C:/PentestBox/bin/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'
        from C:/PentestBox/bin/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
        from C:/PentestBox/bin/metasploit-framework/msfconsole:48:in `<main>'

Aditya Agrawal

unread,
Mar 30, 2016, 8:19:25 AM3/30/16
to PentestBox Forum
Did you switched off your antivirus and firewalls ?

Also command did you type that lead to this error?

-Aditya

fahed zain_alabden

unread,
Apr 11, 2016, 3:21:40 PM4/11/16
to PentestBox Forum
but yes it is didnot work msfconsole why ? ? i turn off but same problem

Aditya Agrawal

unread,
Apr 12, 2016, 10:57:23 AM4/12/16
to PentestBox Forum
well, antivirus and firewalls need to be switched off at the time of installation and operating.

May be you have switched on your antivirus at that time of installation and antivirus might have shifted neccessary files to sandbox.

Also please type "update all" to fix minor bugs.

Thanks
Aditya Agrawal

fahed zain_alabden

unread,
May 21, 2016, 1:04:29 PM5/21/16
to PentestBox Forum
man i turn off but same problem i dk what prob and when i install there are no anti virus 

Aditya Agrawal

unread,
May 21, 2016, 2:07:43 PM5/21/16
to PentestBox Forum
If you have any ruby installed on your system, please make sure to remove that installation from system/user path.

Also, there is new version of PentestBox i.e PentestBox v2.1, it solves most of the issues related to metasploit.

Thanks
Aditya Agrawal

murad badran

unread,
May 3, 2018, 12:37:27 PM5/3/18
to PentestBox Forum
Please i have the same problem!!

Reply all
Reply to author
Forward
0 new messages