{"action":"created","issue":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/9556","repository_url":"https://api.github.com/repos/rapid7/metasploit-framework","labels_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/9556/labels{/name}","comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/9556/comments","events_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/9556/events","html_url":"https://github.com/rapid7/metasploit-framework/issues/9556","id":297100478,"node_id":"MDU6SXNzdWUyOTcxMDA0Nzg=","number":9556,"title":"bignum too big to convert into `long'","user":{"login":"esfomeado","id":1906254,"node_id":"MDQ6VXNlcjE5MDYyNTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1906254?v=4","gravatar_id":"","url":"https://api.github.com/users/esfomeado","html_url":"https://github.com/esfomeado","followers_url":"https://api.github.com/users/esfomeado/followers","following_url":"https://api.github.com/users/esfomeado/following{/other_user}","gists_url":"https://api.github.com/users/esfomeado/gists{/gist_id}","starred_url":"https://api.github.com/users/esfomeado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esfomeado/subscriptions","organizations_url":"https://api.github.com/users/esfomeado/orgs","repos_url":"https://api.github.com/users/esfomeado/repos","events_url":"https://api.github.com/users/esfomeado/events{/privacy}","received_events_url":"https://api.github.com/users/esfomeado/received_events","type":"User","site_admin":false},"labels":[{"id":124421898,"node_id":"MDU6TGFiZWwxMjQ0MjE4OTg=","url":"https://api.github.com/repos/rapid7/metasploit-framework/labels/bug","name":"bug","color":"e11d21","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2018-02-14T13:45:13Z","updated_at":"2018-07-07T14:39:58Z","closed_at":"2018-03-01T15:16:37Z","author_association":"NONE","body":"## Steps to reproduce\r\n\r\nHow'd you do it?\r\n\r\n1. use exploit/windows/smb/ms17_010__eternalblue\r\n2. set options for the exploit\r\n3. run it\r\n\r\nThis happens with other exploits too.\r\n\r\nThis section should also tell us any relevant information about the\r\nenvironment; for example, if an exploit that used to work is failing,\r\ntell us the victim operating system and service versions.\r\n\r\n## Expected behavior\r\n\r\nWhat should happen?\r\nShould run without any errors\r\n\r\n## Current behavior\r\n\r\nWhat happens instead?\r\n\r\n```\r\n[-] 10.x.x.x:139 - RangeError\r\n[-] 10.x.x.x:139 - bignum too big to convert into `long'\r\n[-] 10.x.x.x:139 - <internal:prelude>:76:in `__read_nonblock'\r\n<internal:prelude>:76:in `read_nonblock'\r\n/usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/rex-core-0.1.12/lib/rex/io/stream.rb:72:in `read'\r\n/usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/ruby_smb-0.0.18/lib/ruby_smb/dispatcher/socket.rb:54:in `recv_packet'\r\n/usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/ruby_smb-0.0.18/lib/ruby_smb/client.rb:229:in `send_recv'\r\n/usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/ruby_smb-0.0.18/lib/ruby_smb/client/negotiation.rb:36:in `negotiate_request'\r\n/usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/ruby_smb-0.0.18/lib/ruby_smb/client/negotiation.rb:14:in `negotiate'\r\n/usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/ruby_smb-0.0.18/lib/ruby_smb/client.rb:186:in `login'\r\n/usr/share/metasploit-framework/modules/exploits/windows/smb/ms17_010_eternalblue.rb:310:in `smb1_anonymous_connect_ipc'\r\n/usr/share/metasploit-framework/modules/exploits/windows/smb/ms17_010_eternalblue.rb:166:in `smb_eternalblue'\r\n/usr/share/metasploit-framework/modules/exploits/windows/smb/ms17_010_eternalblue.rb:118:in `block in exploit'\r\n/usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/core_ext/range/each.rb:7:in `each'\r\n/usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/core_ext/range/each.rb:7:in `each_with_time_with_zone'\r\n/usr/share/metasploit-framework/modules/exploits/windows/smb/ms17_010_eternalblue.rb:114:in `exploit'\r\n/usr/share/metasploit-framework/lib/msf/core/exploit_driver.rb:206:in `job_run_proc'\r\n/usr/share/metasploit-framework/lib/msf/core/exploit_driver.rb:167:in `run'\r\n/usr/share/metasploit-framework/lib/msf/base/simple/exploit.rb:136:in `exploit_simple'\r\n/usr/share/metasploit-framework/lib/msf/base/simple/exploit.rb:161:in `exploit_simple'\r\n/usr/share/metasploit-framework/lib/msf/ui/console/command_dispatcher/exploit.rb:110:in `cmd_exploit'\r\n/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:548:in `run_command'\r\n/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:510:in `block in run_single'\r\n/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:504:in `each'\r\n/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:504:in `run_single'\r\n/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:206:in `run'\r\n/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'\r\n/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'\r\n/usr/bin/msfconsole:48:in `<main>'\r\n```\r\n\r\n## System stuff\r\n\r\n### Metasploit version\r\n\r\nFramework: 4.16.36-dev\r\nConsole  : 4.16.36-dev\r\n\r\nGet this with the `version` command in msfconsole (or `git log -1 --pretty=oneline` for a source install).\r\n\r\n### I installed Metasploit with:\r\n- [ x] Kali package via apt\r\n- [ ] Omnibus installer (nightly)\r\n- [ ] Commercial/Community installer (from http://www.rapid7.com/products/metasploit/download.jsp)\r\n- [ ] Source install (please specify ruby version)\r\n\r\n### OS\r\n\r\nWhat OS are you running Metasploit on?\r\n4.12.0-kali2-686\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/comments/403220239","html_url":"https://github.com/rapid7/metasploit-framework/issues/9556#issuecomment-403220239","issue_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/9556","id":403220239,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzIyMDIzOQ==","user":{"login":"omerdonin","id":11806576,"node_id":"MDQ6VXNlcjExODA2NTc2","avatar_url":"https://avatars3.githubusercontent.com/u/11806576?v=4","gravatar_id":"","url":"https://api.github.com/users/omerdonin","html_url":"https://github.com/omerdonin","followers_url":"https://api.github.com/users/omerdonin/followers","following_url":"https://api.github.com/users/omerdonin/following{/other_user}","gists_url":"https://api.github.com/users/omerdonin/gists{/gist_id}","starred_url":"https://api.github.com/users/omerdonin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omerdonin/subscriptions","organizations_url":"https://api.github.com/users/omerdonin/orgs","repos_url":"https://api.github.com/users/omerdonin/repos","events_url":"https://api.github.com/users/omerdonin/events{/privacy}","received_events_url":"https://api.github.com/users/omerdonin/received_events","type":"User","site_admin":false},"created_at":"2018-07-07T14:39:58Z","updated_at":"2018-07-07T14:39:58Z","author_association":"NONE","body":"refering to rtaylor777 answer which pointed me to another solution since it still didn't fully work, \r\nI replaced the file at framework/master/lib/msf/core/payload/android.rb \r\nto this file: https://raw.githubusercontent.com/rapid7/metasploit-framework/master/lib/msf/core/payload/android.rb \r\nwhich solved the problem.\r\n"}}
{"actor":{"display_login":"omerdonin"}}