Closed sumgr0 closed 5 years ago
My bad typo when connection error to the target. It's should be fixed now.
Hi,
Still getting the error when attempting to use the tool.
[*] Config file detected: core/config.conf --~~~=:>[ Staarting Flask API ]>
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 600, in urlopen chunked=chunked) File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.7/http/client.py", line 1229, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1275, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1224, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1016, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 956, in send self.connect() File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 196, in connect conn = self._new_conn() File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 180, in _new_conn self, "Failed to establish a new connection: %s" % e) urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f2d9ff10978>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 445, in send timeout=timeout File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 638, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/local/lib/python3.7/dist-packages/urllib3/util/retry.py", line 398, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /config (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2d9ff10978>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./osmedeus.py", line 151, in
Look like requests library is missing from your OS. So you may wanna check this out Install Guide
I've verified both pip and python requests library is installed. Still reinstalled it, but still getting the same error.
This was working fine till sometime in Feb'19. Not sure of what had broken this... I've tried a fresh clone and install process, but in vain.
Apparently, did a fresh VM and installed the tool. The tool worked without any issues...any suggestion on how to resolve this on the current setup shall be really great.
Thanks
yeah just DM @j3ssiejjj
./osmedeus.py -m subdomain -t 1 ↵
[*] Config file detected: core/config.conf --~~~=:>[ Staarting Flask API ]> [-] Something wrong to connect to {0} Traceback (most recent call last): File "/root/PenTest/OSINT/Osmedeus/core/config.py", line 136, in parsing_config ip = socket.gethostbyname(strip_target) socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "./osmedeus.py", line 151, in
main()
File "./osmedeus.py", line 147, in main
parsing_argument(args)
File "./osmedeus.py", line 50, in parsing_argument
options = config.parsing_config(config_path, args)
File "/root/PenTest/OSINT/Osmedeus/core/config.py", line 139, in parsing_config
utils.print_bad("Something wrong to connect to {0}").format(target)
AttributeError: 'NoneType' object has no attribute 'format'