{"action":"opened","issue":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/5805","labels_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/5805/labels{/name}","comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/5805/comments","events_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/5805/events","html_url":"https://github.com/rapid7/metasploit-framework/issues/5805","id":98622912,"number":5805,"title":"Module listing crash upon autocompletion","user":{"login":"maaaaz","id":1863158,"avatar_url":"https://avatars.githubusercontent.com/u/1863158?v=3","gravatar_id":"","url":"https://api.github.com/users/maaaaz","html_url":"https://github.com/maaaaz","followers_url":"https://api.github.com/users/maaaaz/followers","following_url":"https://api.github.com/users/maaaaz/following{/other_user}","gists_url":"https://api.github.com/users/maaaaz/gists{/gist_id}","starred_url":"https://api.github.com/users/maaaaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maaaaz/subscriptions","organizations_url":"https://api.github.com/users/maaaaz/orgs","repos_url":"https://api.github.com/users/maaaaz/repos","events_url":"https://api.github.com/users/maaaaz/events{/privacy}","received_events_url":"https://api.github.com/users/maaaaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-02T17:14:53Z","updated_at":"2015-08-02T17:14:53Z","closed_at":null,"body":"Hello, \r\nI would like to report a crash affecting the latest msfconsole version on Kali. It seems to be related to `readline`.\r\nSteps to reproduce:\r\n1. Type `use auxiliary/scanner/http/`\r\n2. Press `tab` to list all modules\r\n3. msfconsole crashes\r\n\r\nBefore pasting the log, I would like to add that starting msfconsole with the `-L` option does not lead to the crash.\r\n```\r\nroot@kali:~# msfconsole\r\n                                                 \r\n  +-------------------------------------------------------+\r\n  |  METASPLOIT by Rapid7                                 |\r\n  +---------------------------+---------------------------+\r\n  |      __________________   |                           |\r\n  |  ==c(______(o(______(_()  | |\"\"\"\"\"\"\"\"\"\"\"\"|======[***  |\r\n  |             )=\\           | |  EXPLOIT   \\            |\r\n  |            // \\\\          | |_____________\\_______    |\r\n  |           //   \\\\         | |==[msf >]============\\   |\r\n  |          //     \\\\        | |______________________\\  |\r\n  |         // RECON \\\\       | \\(@)(@)(@)(@)(@)(@)(@)/   |\r\n  |        //         \\\\      |  *********************    |\r\n  +---------------------------+---------------------------+\r\n  |      o O o                |        \\'\\/\\/\\/'/         |\r\n  |              o O          |         )======(          |\r\n  |                 o         |       .'  LOOT  '.        |\r\n  | |^^^^^^^^^^^^^^|l___      |      /    _||__   \\       |\r\n  | |    PAYLOAD     |\"\"\\___, |     /    (_||_     \\      |\r\n  | |________________|__|)__| |    |     __||_)     |     |\r\n  | |(@)(@)\"\"\"**|(@)(@)**|(@) |    \"       ||       \"     |\r\n  |  = = = = = = = = = = = =  |     '--------------'      |\r\n  +---------------------------+---------------------------+\r\n\r\n\r\nTired of typing 'set RHOSTS'? Click & pwn with Metasploit Pro\r\nLearn more on http://rapid7.com/metasploit\r\n\r\n       =[ metasploit v4.11.4-2015071402                   ]\r\n+ -- --=[ 1476 exploits - 931 auxiliary - 246 post        ]\r\n+ -- --=[ 432 payloads - 37 encoders - 8 nops             ]\r\n+ -- --=[ Free Metasploit Pro trial: http://r-7.co/trymsp ]\r\n\r\nmsf > use auxiliary/scanner/http/\r\nDisplay all 192 possibilities? (y or n)\r\nuse auxiliary/scanner/http/a10networks_ax_directory_traversal         use auxiliary/scanner/http/manageengine_deviceexpert_user_creds\r\nuse auxiliary/scanner/http/accellion_fta_statecode_file_read          use auxiliary/scanner/http/manageengine_securitymanager_traversal\r\nuse auxiliary/scanner/http/adobe_xml_inject                           use auxiliary/scanner/http/mediawiki_svg_fileaccess\r\nuse auxiliary/scanner/http/allegro_rompager_misfortune_cookie         use auxiliary/scanner/http/mod_negotiation_brute\r\nuse auxiliary/scanner/http/apache_activemq_source_disclosure          use auxiliary/scanner/http/mod_negotiation_scanner\r\nuse auxiliary/scanner/http/apache_activemq_traversal                  use auxiliary/scanner/http/ms09_020_webdav_unicode_bypass\r\nuse auxiliary/scanner/http/apache_mod_cgi_bash_env                    use auxiliary/scanner/http/ms15_034_http_sys_memory_dump\r\nuse auxiliary/scanner/http/apache_userdir_enum                        use auxiliary/scanner/http/mybook_live_login\r\nuse auxiliary/scanner/http/appletv_login                              use auxiliary/scanner/http/netdecision_traversal\r\nuse auxiliary/scanner/http/atlassian_crowd_fileaccess                 use auxiliary/scanner/http/netgear_sph200d_traversal\r\nuse auxiliary/scanner/http/axis_local_file_include                    use auxiliary/scanner/http/nginx_source_disclosure\r\nuse auxiliary/scanner/http/axis_login                                 use auxiliary/scanner/http/novell_file_reporter_fsfui_fileaccess\r\nuse auxiliary/scanner/http/backup_file                                use auxiliary/scanner/http/novell_file_reporter_srs_fileaccess\r\nuse auxiliary/scanner/http/barracuda_directory_traversal              use auxiliary/scanner/http/novell_mdm_creds\r\nuse auxiliary/scanner/http/bitweaver_overlay_type_traversal           use auxiliary/scanner/http/ntlm_info_enumeration\r\nuse auxiliary/scanner/http/blind_sql_query                            use auxiliary/scanner/http/open_proxy\r\nuse auxiliary/scanner/http/bmc_trackit_passwd_reset                   use auxiliary/scanner/http/openmind_messageos_login\r\nuse auxiliary/scanner/http/brute_dirs                                 use auxiliary/scanner/http/options\r\nuse auxiliary/scanner/http/buffalo_login                              use auxiliary/scanner/http/oracle_demantra_database_credentials_leak\r\nuse auxiliary/scanner/http/canon_wireless                             use auxiliary/scanner/http/oracle_demantra_file_retrieval\r\nuse auxiliary/scanner/http/cert                                       use auxiliary/scanner/http/oracle_ilom_login\r\nuse auxiliary/scanner/http/chef_webui_login                           use auxiliary/scanner/http/owa_iis_internal_ip\r\nuse auxiliary/scanner/http/chromecast_webserver                       use auxiliary/scanner/http/owa_login\r\nuse auxiliary/scanner/http/cisco_asa_asdm                             use auxiliary/scanner/http/pocketpad_login\r\nuse auxiliary/scanner/http/cisco_device_manager                       use auxiliary/scanner/http/prev_dir_same_name_file\r\nuse auxiliary/scanner/http/cisco_ios_auth_bypass                      use auxiliary/scanner/http/radware_appdirector_enum\r\nuse auxiliary/scanner/http/cisco_ironport_enum                        use auxiliary/scanner/http/rails_json_yaml_scanner\r\nuse auxiliary/scanner/http/cisco_nac_manager_traversal                use auxiliary/scanner/http/rails_mass_assignment\r\nuse auxiliary/scanner/http/cisco_ssl_vpn                              use auxiliary/scanner/http/rails_xml_yaml_scanner\r\nuse auxiliary/scanner/http/cisco_ssl_vpn_priv_esc                     use auxiliary/scanner/http/replace_ext\r\nuse auxiliary/scanner/http/clansphere_traversal                       use auxiliary/scanner/http/rewrite_proxy_bypass\r\nuse auxiliary/scanner/http/coldfusion_locale_traversal                use auxiliary/scanner/http/rfcode_reader_enum\r\n/opt/metasploit/apps/pro/vendor/bundle/ruby/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:6497:in `_rl_internal_pager': private method `puts' called for #<Rex::Ui::Text::Output::Tee:0xea0d878> (NoMethodError)\r\n\tfrom /opt/metasploit/apps/pro/vendor/bundle/ruby/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:8384:in `block in rl_display_match_list'\r\n\tfrom /opt/metasploit/apps/pro/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.13/lib/active_support/core_ext/range/each.rb:7:in `each'\r\n\tfrom /opt/metasploit/apps/pro/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.13/lib/active_support/core_ext/range/each.rb:7:in `each_with_time_with_zone'\r\n\tfrom /opt/metasploit/apps/pro/vendor/bundle/ruby/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:8366:in `rl_display_match_list'\r\n\tfrom /opt/metasploit/apps/pro/vendor/bundle/ruby/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:6730:in `display_matches'\r\n\tfrom /opt/metasploit/apps/pro/vendor/bundle/ruby/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:6824:in `rl_complete_internal'\r\n\tfrom /opt/metasploit/apps/pro/vendor/bundle/ruby/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:6852:in `rl_complete'\r\n\tfrom /opt/metasploit/apps/pro/vendor/bundle/ruby/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:4329:in `_rl_dispatch_subseq'\r\n\tfrom /opt/metasploit/apps/pro/vendor/bundle/ruby/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:4318:in `_rl_dispatch'\r\n\tfrom /opt/metasploit/apps/pro/vendor/bundle/ruby/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:4734:in `readline_internal_charloop'\r\n\tfrom /opt/metasploit/apps/pro/vendor/bundle/ruby/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:4808:in `readline_internal'\r\n\tfrom /opt/metasploit/apps/pro/vendor/bundle/ruby/2.1.0/gems/rb-readline-r7-0.5.2.0/lib/rbreadline.rb:4830:in `readline'\r\n\tfrom /usr/share/metasploit-framework/lib/rex/ui/text/input/readline.rb:132:in `readline_with_output'\r\n\tfrom /usr/share/metasploit-framework/lib/rex/ui/text/input/readline.rb:86:in `pgets'\r\n\tfrom /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:187:in `run'\r\n\tfrom /usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'\r\n\tfrom /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'\r\n\tfrom /opt/metasploit/apps/pro/msf3/msfconsole:48:in `<main>'\r\nroot@kali:~#\r\n```\r\n\r\nThank you."}}