Results 1 to 7 of 7

Thread: BT5-R2 Metasploit issues

  1. #1
    Just burned his ISO
    Join Date
    Mar 2012
    Posts
    4

    Exclamation BT5-R2 Metasploit issues

    Hello !

    I can't start msfconsole .

    BackTrack : BackTrack 5R2 Live-CD
    Metasploit : At revision 14855.

    Code:
        root@root:~# msfconsole
        /opt/metasploit/msf3/lib/active_support/dependencies.rb:429:in `rescue in load_missing_constant': uninitialized constant Msf::Handler::BindTcp (NameError)
                from /opt/metasploit/msf3/lib/active_support/dependencies.rb:425:in `load_missing_constant'
                from /opt/metasploit/msf3/lib/active_support/dependencies.rb:80:in `const_missing_with_dependencies'
                from /opt/metasploit/msf3/modules/payloads/singles/linux/armle/shell_bind_tcp.rb:21:in `initialize'
                from /opt/metasploit/msf3/lib/msf/core/payload_set.rb:190:in `new'
                from /opt/metasploit/msf3/lib/msf/core/payload_set.rb:190:in `add_module'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:1254:in `on_module_load'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:1080:in `load_module_from_file'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:915:in `block (2 levels) in load_modules_from_directory'
                from /opt/metasploit/msf3/lib/rex/file.rb:79:in `block in find'
                from /opt/metasploit/msf3/lib/rex/file.rb:78:in `catch'
                from /opt/metasploit/msf3/lib/rex/file.rb:78:in `find'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:904:in `block in load_modules_from_directory'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:893:in `each'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:893:in `load_modules_from_directory'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:878:in `load_modules'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:651:in `add_module_path'
                from /opt/metasploit/msf3/lib/msf/base/simple/framework.rb:112:in `simplify'
                from /opt/metasploit/msf3/lib/msf/base/simple/framework.rb:71:in `create'
                from /opt/metasploit/msf3/lib/msf/ui/console/driver.rb:81:in `initialize'
                from /opt/metasploit/msf3/msfconsole:134:in `new'
                from /opt/metasploit/msf3/msfconsole:134:in `<main>'
    Please help me !

  2. #2
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: BT5-R2 Metasploit issues

    What BT5 R2 did you download ? What architecture / flavor ?
    I can not reproduce your issue:

    Code:
    root@bt:~# msfconsole 
    NOTICE:  CREATE TABLE will create implicit sequence "hosts_id_seq" for serial column "hosts.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "hosts_pkey" for table "hosts"
    NOTICE:  CREATE TABLE will create implicit sequence "clients_id_seq" for serial column "clients.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "clients_pkey" for table "clients"
    NOTICE:  CREATE TABLE will create implicit sequence "services_id_seq" for serial column "services.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "services_pkey" for table "services"
    NOTICE:  CREATE TABLE will create implicit sequence "vulns_id_seq" for serial column "vulns.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "vulns_pkey" for table "vulns"
    NOTICE:  CREATE TABLE will create implicit sequence "refs_id_seq" for serial column "refs.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "refs_pkey" for table "refs"
    NOTICE:  CREATE TABLE will create implicit sequence "notes_id_seq" for serial column "notes.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "notes_pkey" for table "notes"
    NOTICE:  CREATE TABLE will create implicit sequence "wmap_targets_id_seq" for serial column "wmap_targets.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "wmap_targets_pkey" for table "wmap_targets"
    NOTICE:  CREATE TABLE will create implicit sequence "wmap_requests_id_seq" for serial column "wmap_requests.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "wmap_requests_pkey" for table "wmap_requests"
    NOTICE:  CREATE TABLE will create implicit sequence "workspaces_id_seq" for serial column "workspaces.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "workspaces_pkey" for table "workspaces"
    NOTICE:  CREATE TABLE will create implicit sequence "events_id_seq" for serial column "events.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "events_pkey" for table "events"
    NOTICE:  CREATE TABLE will create implicit sequence "loots_id_seq" for serial column "loots.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "loots_pkey" for table "loots"
    NOTICE:  CREATE TABLE will create implicit sequence "users_id_seq" for serial column "users.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "users_pkey" for table "users"
    NOTICE:  CREATE TABLE will create implicit sequence "reports_id_seq" for serial column "reports.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "reports_pkey" for table "reports"
    NOTICE:  CREATE TABLE will create implicit sequence "tasks_id_seq" for serial column "tasks.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "tasks_pkey" for table "tasks"
    NOTICE:  CREATE TABLE will create implicit sequence "creds_id_seq" for serial column "creds.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "creds_pkey" for table "creds"
    NOTICE:  CREATE TABLE will create implicit sequence "exploited_hosts_id_seq" for serial column "exploited_hosts.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "exploited_hosts_pkey" for table "exploited_hosts"
    NOTICE:  CREATE TABLE will create implicit sequence "report_templates_id_seq" for serial column "report_templates.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "report_templates_pkey" for table "report_templates"
    NOTICE:  CREATE TABLE will create implicit sequence "campaigns_id_seq" for serial column "campaigns.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "campaigns_pkey" for table "campaigns"
    NOTICE:  CREATE TABLE will create implicit sequence "email_templates_id_seq" for serial column "email_templates.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "email_templates_pkey" for table "email_templates"
    NOTICE:  CREATE TABLE will create implicit sequence "attachments_id_seq" for serial column "attachments.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "attachments_pkey" for table "attachments"
    NOTICE:  CREATE TABLE will create implicit sequence "email_addresses_id_seq" for serial column "email_addresses.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "email_addresses_pkey" for table "email_addresses"
    NOTICE:  CREATE TABLE will create implicit sequence "web_templates_id_seq" for serial column "web_templates.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "web_templates_pkey" for table "web_templates"
    NOTICE:  CREATE TABLE will create implicit sequence "web_sites_id_seq" for serial column "web_sites.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "web_sites_pkey" for table "web_sites"
    NOTICE:  CREATE TABLE will create implicit sequence "web_pages_id_seq" for serial column "web_pages.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "web_pages_pkey" for table "web_pages"
    NOTICE:  CREATE TABLE will create implicit sequence "web_forms_id_seq" for serial column "web_forms.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "web_forms_pkey" for table "web_forms"
    NOTICE:  CREATE TABLE will create implicit sequence "web_vulns_id_seq" for serial column "web_vulns.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "web_vulns_pkey" for table "web_vulns"
    NOTICE:  CREATE TABLE will create implicit sequence "imported_creds_id_seq" for serial column "imported_creds.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "imported_creds_pkey" for table "imported_creds"
    NOTICE:  CREATE TABLE will create implicit sequence "tags_id_seq" for serial column "tags.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "tags_pkey" for table "tags"
    NOTICE:  CREATE TABLE will create implicit sequence "sessions_id_seq" for serial column "sessions.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "sessions_pkey" for table "sessions"
    NOTICE:  CREATE TABLE will create implicit sequence "session_events_id_seq" for serial column "session_events.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "session_events_pkey" for table "session_events"
    NOTICE:  CREATE TABLE will create implicit sequence "routes_id_seq" for serial column "routes.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "routes_pkey" for table "routes"
    NOTICE:  CREATE TABLE will create implicit sequence "api_keys_id_seq" for serial column "api_keys.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "api_keys_pkey" for table "api_keys"
    NOTICE:  CREATE TABLE will create implicit sequence "macros_id_seq" for serial column "macros.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "macros_pkey" for table "macros"
    NOTICE:  CREATE TABLE will create implicit sequence "cred_files_id_seq" for serial column "cred_files.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "cred_files_pkey" for table "cred_files"
    NOTICE:  CREATE TABLE will create implicit sequence "listeners_id_seq" for serial column "listeners.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "listeners_pkey" for table "listeners"
    NOTICE:  CREATE TABLE will create implicit sequence "nexpose_consoles_id_seq" for serial column "nexpose_consoles.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "nexpose_consoles_pkey" for table "nexpose_consoles"
    NOTICE:  CREATE TABLE will create implicit sequence "profiles_id_seq" for serial column "profiles.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "profiles_pkey" for table "profiles"
    NOTICE:  CREATE TABLE will create implicit sequence "mod_refs_id_seq" for serial column "mod_refs.id"
    NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index "mod_refs_pkey" for table "mod_refs"
    
      +-------------------------------------------------------+
      |  METASPLOIT by Rapid7                                 |
      +---------------------------+---------------------------+
      |      __________________   |                           |
      |  ==c(______(o(______(_()  | |""""""""""""|======[***  |
      |             )=\           | |  EXPLOIT   \            |
      |            // \\          | |_____________\_______    |
      |           //   \\         | |==[msf >]============\   |
      |          //     \\        | |______________________\  |
      |         // RECON \\       | \(@)(@)(@)(@)(@)(@)(@)/   |
      |        //         \\      |  *********************    |
      +---------------------------+---------------------------+
      |      o O o                |        \'\/\/\/'/         |
      |              o O          |         )======(          |
      |                 o         |       .'  LOOT  '.        |
      | |^^^^^^^^^^^^^^|l___      |      /    _||__   \       |
      | |    PAYLOAD     |""\___, |     /    (_||_     \      |
      | |________________|__|)__| |    |     __||_)     |     |
      | |(@)(@)"""**|(@)(@)**|(@) |    "       ||       "     |
      |  = = = = = = = = = = = =  |     '--------------'      |
      +---------------------------+---------------------------+
      
    
    
           =[ metasploit v4.3.0-dev [core:4.3 api:1.0]
    + -- --=[ 808 exploits - 452 auxiliary - 135 post
    + -- --=[ 246 payloads - 27 encoders - 8 nops
           =[ svn r14832 updated yesterday (2012.03.01)
    
    msf >
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

  3. #3
    Just burned his ISO
    Join Date
    Mar 2012
    Posts
    4

    Thumbs up AW: BT5-R2 Metasploit issues

    Thx for your help ! I downloaded the BT5R2-KDE32.iso .

    http://pastebin.com/bbNm9FNC

  4. #4
    Just burned his ISO
    Join Date
    Mar 2012
    Posts
    1

    Default Re: BT5-R2 Metasploit issues

    I was seeing the same error messages after a dist-upgrade from R1. Adding the following line to the top of .../modules/payloads/singles/linux/armle/shell_bind_tcp.rb fixed it:

    require 'msf/core/handler/bind_tcp'



    Quote Originally Posted by MetasploitUser View Post
    Hello !

    I can't start msfconsole .

    BackTrack : BackTrack 5R2 Live-CD
    Metasploit : At revision 14855.

    Code:
        root@root:~# msfconsole
        /opt/metasploit/msf3/lib/active_support/dependencies.rb:429:in `rescue in load_missing_constant': uninitialized constant Msf::Handler::BindTcp (NameError)
                from /opt/metasploit/msf3/lib/active_support/dependencies.rb:425:in `load_missing_constant'
                from /opt/metasploit/msf3/lib/active_support/dependencies.rb:80:in `const_missing_with_dependencies'
                from /opt/metasploit/msf3/modules/payloads/singles/linux/armle/shell_bind_tcp.rb:21:in `initialize'
                from /opt/metasploit/msf3/lib/msf/core/payload_set.rb:190:in `new'
                from /opt/metasploit/msf3/lib/msf/core/payload_set.rb:190:in `add_module'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:1254:in `on_module_load'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:1080:in `load_module_from_file'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:915:in `block (2 levels) in load_modules_from_directory'
                from /opt/metasploit/msf3/lib/rex/file.rb:79:in `block in find'
                from /opt/metasploit/msf3/lib/rex/file.rb:78:in `catch'
                from /opt/metasploit/msf3/lib/rex/file.rb:78:in `find'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:904:in `block in load_modules_from_directory'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:893:in `each'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:893:in `load_modules_from_directory'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:878:in `load_modules'
                from /opt/metasploit/msf3/lib/msf/core/module_manager.rb:651:in `add_module_path'
                from /opt/metasploit/msf3/lib/msf/base/simple/framework.rb:112:in `simplify'
                from /opt/metasploit/msf3/lib/msf/base/simple/framework.rb:71:in `create'
                from /opt/metasploit/msf3/lib/msf/ui/console/driver.rb:81:in `initialize'
                from /opt/metasploit/msf3/msfconsole:134:in `new'
                from /opt/metasploit/msf3/msfconsole:134:in `<main>'
    Please help me !

  5. #5
    Just burned his ISO
    Join Date
    Mar 2012
    Posts
    1

    Default Re: BT5-R2 Metasploit issues

    He downloaded the KDE version 32bit. Maybe this will help you to look further into the issue. I know that because I habe the same issue but I installed Backtrack 5 R2 with unetboootin on a usb stick. The error we got is also in the R1 version. Could it be the date when we updates with "msfupdate" ?

  6. #6
    Just burned his ISO
    Join Date
    Feb 2010
    Posts
    9

    Default Re: BT5-R2 Metasploit issues

    Same prob here! Gnome 32bit live running at eeepc701 , 900.
    After updating i am getting the same logs.
    Last edited by miata; 03-06-2012 at 04:58 PM.

  7. #7
    Just burned his ISO
    Join Date
    Mar 2012
    Posts
    4

    Default AW: BT5-R2 Metasploit issues

    I was seeing the same error messages after a dist-upgrade from R1. Adding the following line to the top of .../modules/payloads/singles/linux/armle/shell_bind_tcp.rb fixed it:

    require 'msf/core/handler/bind_tcp'
    Great idea !!!

    Thx gNash ;-)

Similar Threads

  1. Replies: 2
    Last Post: 10-22-2011, 01:37 AM
  2. Metasploit: db_driver issues
    By ThereAreFourLights in forum BackTrack 5 ARM topics
    Replies: 3
    Last Post: 10-19-2011, 09:55 PM
  3. metasploit db_driver issues (or have i totally lost it?)
    By krrunch in forum BackTrack 5 Beginners Section
    Replies: 9
    Last Post: 05-25-2011, 10:12 AM
  4. Metasploit issues!
    By imported_Joes100 in forum OLD Pentesting
    Replies: 9
    Last Post: 10-21-2009, 11:33 PM
  5. Weird update issues on metasploit
    By fastboi in forum OLD Newbie Area
    Replies: 5
    Last Post: 11-17-2008, 10:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •