{"action":"created","issue":{"url":"https://api.github.com/repos/reverse-shell/routersploit/issues/82","repository_url":"https://api.github.com/repos/reverse-shell/routersploit","labels_url":"https://api.github.com/repos/reverse-shell/routersploit/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/reverse-shell/routersploit/issues/82/comments","events_url":"https://api.github.com/repos/reverse-shell/routersploit/issues/82/events","html_url":"https://github.com/reverse-shell/routersploit/issues/82","id":154218871,"number":82,"title":"AttributeError: 'module' object has no attribute 'packages' when running scanners/autopwn","user":{"login":"maluga-net","id":4234763,"avatar_url":"https://avatars.githubusercontent.com/u/4234763?v=3","gravatar_id":"","url":"https://api.github.com/users/maluga-net","html_url":"https://github.com/maluga-net","followers_url":"https://api.github.com/users/maluga-net/followers","following_url":"https://api.github.com/users/maluga-net/following{/other_user}","gists_url":"https://api.github.com/users/maluga-net/gists{/gist_id}","starred_url":"https://api.github.com/users/maluga-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maluga-net/subscriptions","organizations_url":"https://api.github.com/users/maluga-net/orgs","repos_url":"https://api.github.com/users/maluga-net/repos","events_url":"https://api.github.com/users/maluga-net/events{/privacy}","received_events_url":"https://api.github.com/users/maluga-net/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/reverse-shell/routersploit/labels/help%20wanted","name":"help wanted","color":"128A0C"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-11T11:17:35Z","updated_at":"2016-05-12T08:51:48Z","closed_at":null,"body":"rsf > use scanners/autopwn\r\nrsf (AutoPwn) > set target 192.168.0.1\r\n[+] {'target': '192.168.0.1'}\r\nrsf (AutoPwn) > run\r\n[*] Running module...\r\n[-] exploits/technicolor/tc7200_password_disclosure is not vulnerable\r\n[-] exploits/2wire/gateway_auth_bypass is not vulnerable\r\n[-] exploits/juniper/screenos_backdoor is not vulnerable\r\n[-] exploits/netgear/multi_rce is not vulnerable\r\n[-] exploits/netgear/n300_auth_bypass is not vulnerable\r\n[-] exploits/netgear/prosafe_rce is not vulnerable\r\n[-] Traceback (most recent call last):\r\n  File \"/home/michal-praca/Workspaces/Playground/routersploit/routersploit/interpreter.py\", line 261, in command_run\r\n    self.current_module.run()\r\n  File \"/home/michal-praca/Workspaces/Playground/routersploit/routersploit/modules/scanners/autopwn.py\", line 49, in run\r\n    module = imp.load_source('module', rootpath + f + '.py')\r\n  File \"routersploit/modules/exploits/ubiquiti/airos_6_x.py\", line 14, in <module>\r\n    class Exploit(exploits.Exploit):\r\n  File \"routersploit/modules/exploits/ubiquiti/airos_6_x.py\", line 43, in Exploit\r\n    requests.packages.urllib3.disable_warnings()\r\nAttributeError: 'module' object has no attribute 'packages'\r\n\r\nrsf (AutoPwn) > \r\n[*] routersploit stopped\r\n\r\nRun on Ubuntu 14.04 with Python 2.7.6"},"comment":{"url":"https://api.github.com/repos/reverse-shell/routersploit/issues/comments/218697548","html_url":"https://github.com/reverse-shell/routersploit/issues/82#issuecomment-218697548","issue_url":"https://api.github.com/repos/reverse-shell/routersploit/issues/82","id":218697548,"user":{"login":"maluga-net","id":4234763,"avatar_url":"https://avatars.githubusercontent.com/u/4234763?v=3","gravatar_id":"","url":"https://api.github.com/users/maluga-net","html_url":"https://github.com/maluga-net","followers_url":"https://api.github.com/users/maluga-net/followers","following_url":"https://api.github.com/users/maluga-net/following{/other_user}","gists_url":"https://api.github.com/users/maluga-net/gists{/gist_id}","starred_url":"https://api.github.com/users/maluga-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maluga-net/subscriptions","organizations_url":"https://api.github.com/users/maluga-net/orgs","repos_url":"https://api.github.com/users/maluga-net/repos","events_url":"https://api.github.com/users/maluga-net/events{/privacy}","received_events_url":"https://api.github.com/users/maluga-net/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T08:51:48Z","updated_at":"2016-05-12T08:51:48Z","body":"Looks like it's a paramiko library bug:\r\nhttp://stackoverflow.com/questions/34192016/importerror-no-module-named-py3compat\r\n\r\nI have created a simple py file:\r\n\r\n```\r\nfrom paramiko.py3compat import u\r\nprint 'Hello Python'\r\n```\r\n\r\nResult of running:\r\n\r\n```\r\nmichal-praca@praca:~/Workspaces/Playground/routersploit$ python test.py \r\nTraceback (most recent call last):\r\n  File \"test.py\", line 1, in <module>\r\n    from paramiko.py3compat import u\r\nImportError: No module named py3compat\r\n```\r\n"}}