{"action":"closed","issue":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/6073","labels_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/6073/labels{/name}","comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/6073/comments","events_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/6073/events","html_url":"https://github.com/rapid7/metasploit-framework/issues/6073","id":110776047,"number":6073,"title":"Ctrl + C fails to exit db_disconnect comand ","user":{"login":"all3g","id":7352479,"avatar_url":"https://avatars.githubusercontent.com/u/7352479?v=3","gravatar_id":"","url":"https://api.github.com/users/all3g","html_url":"https://github.com/all3g","followers_url":"https://api.github.com/users/all3g/followers","following_url":"https://api.github.com/users/all3g/following{/other_user}","gists_url":"https://api.github.com/users/all3g/gists{/gist_id}","starred_url":"https://api.github.com/users/all3g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/all3g/subscriptions","organizations_url":"https://api.github.com/users/all3g/orgs","repos_url":"https://api.github.com/users/all3g/repos","events_url":"https://api.github.com/users/all3g/events{/privacy}","received_events_url":"https://api.github.com/users/all3g/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rapid7/metasploit-framework/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/rapid7/metasploit-framework/labels/database","name":"database","color":"f7c6c7"},{"url":"https://api.github.com/repos/rapid7/metasploit-framework/labels/msfconsole","name":"msfconsole","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-10T07:42:17Z","updated_at":"2015-10-22T16:55:12Z","closed_at":"2015-10-22T16:55:12Z","body":"Ctrl + C could not exit **db_disconnect** command, and something as follow.\r\n\r\n\r\n----\r\n\r\n```\r\n┌─[lab@core]─[/opt/metasploit-framework]\r\n└──╼  ./msfconsole \r\n                                                  \r\n     ,           ,\r\n    /             \\\r\n   ((__---,,,---__))\r\n      (_) O O (_)_________\r\n         \\ _ /            |\\\r\n          o_o \\   M S F   | \\\r\n               \\   _____  |  *\r\n                |||   WW|||\r\n                |||     |||\r\n\r\n\r\n       =[ metasploit v4.11.4-dev-fc09eaf5                 ]\r\n+ -- --=[ 1495 exploits - 878 auxiliary - 251 post        ]\r\n+ -- --=[ 432 payloads - 37 encoders - 8 nops             ]\r\n+ -- --=[ Free Metasploit Pro trial: http://r-7.co/trymsp ]\r\n\r\nmsf > db_rebuild_cache \r\n[*] Purging and rebuilding the module cache in the background...\r\nmsf > db_status \r\n[*] postgresql connected to msfdb\r\nmsf > db_disconnect \r\n^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C^C\r\n```\r\n\r\nMy msf databse conf file is in **~/.msf4/database.yml**. Ruby is **ruby 2.1.6p336**.\r\n\r\n```\r\n┌─[lab@core]─[/opt/metasploit-framework]\r\n└──╼ uname -a\r\nLinux core 4.2.2-1-ARCH #1 SMP PREEMPT Tue Sep 29 22:21:33 CEST 2015 x86_64 GNU/Linux\r\n\r\n┌─[✗]─[lab@core]─[/opt/metasploit-framework]\r\n└──╼ ruby -v\r\nruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]\r\n\r\n┌─[lab@core]─[/opt/metasploit-framework]\r\n└──╼ cat ~/.msf4/database.yml\r\nproduction: &pgsql\r\n    adapter: postgresql\r\n    database: msfdb\r\n    username: msfuser\r\n    password: msfpass\r\n    host: 127.0.0.1\r\n    port: 5432\r\n    pool: 5\r\n    timeout: 5\r\n```\r\n"}}