Open n1kton1k43 opened 2 years ago
in DNSDumpsterAPI.py add :
import collections collections.Callable = collections.abc.Callable
after :
import base64
in DNSDumpsterAPI.py add :
import collections collections.Callable = collections.abc.Callable
after :
import base64
Thanks, that fixed it for me !!
I did as you wrote, but when using the --tor option, this comes out: [19:23:40] Initializing CloudFail - the date is: 31/10/2022 Traceback (most recent call last): File "C:\CloudFail\socks.py", line 750, in connect negotiate(self, dest_addr, dest_port) File "C:\CloudFail\socks.py", line 421, in _negotiate_SOCKS5 self.proxy_peername, self.proxy_sockname = self._SOCKS5_request(self, ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\CloudFail\socks.py", line 497, in _SOCKS5_request raise SOCKS5Error("{0:#04x}: {1}".format(status, error)) socks.SOCKS5Error: 0x01: General SOCKS server failure
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Program Files\Python311\Lib\site-packages\urllib3\connection.py", line 158, in _new_conn conn = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python311\Lib\site-packages\urllib3\util\connection.py", line 80, in create_connection raise err File "C:\Program Files\Python311\Lib\site-packages\urllib3\util\connection.py", line 70, in create_connection sock.connect(sa) File "C:\CloudFail\socks.py", line 754, in connect raise GeneralProxyError("Socket error", error) socks.GeneralProxyError: Socket error: 0x01: General SOCKS server failure
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Program Files\Python311\Lib\site-packages\urllib3\connectionpool.py", line 597, in urlopen httplib_response = self._make_request(conn, method, url, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python311\Lib\site-packages\urllib3\connectionpool.py", line 354, in _make_request conn.request(method, url, **httplib_request_kw) File "C:\Program Files\Python311\Lib\http\client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "C:\Program Files\Python311\Lib\http\client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "C:\Program Files\Python311\Lib\http\client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "C:\Program Files\Python311\Lib\http\client.py", line 1037, in _send_output self.send(msg) File "C:\Program Files\Python311\Lib\http\client.py", line 975, in send self.connect() File "C:\Program Files\Python311\Lib\site-packages\urllib3\connection.py", line 181, in connect conn = self._new_conn() ^^^^^^^^^^^^^^^^ File "C:\Program Files\Python311\Lib\site-packages\urllib3\connection.py", line 167, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x0000008915F2FD10>: Failed to establish a new connection: Socket error: 0x01: General SOCKS server failure
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Program Files\Python311\Lib\site-packages\requests\adapters.py", line 489, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "C:\Program Files\Python311\Lib\site-packages\urllib3\connectionpool.py", line 637, in urlopen retries = retries.increment(method, url, error=e, _pool=self, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python311\Lib\site-packages\urllib3\util\retry.py", line 399, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='ipinfo.io', port=80): Max retries exceeded with url: /ip (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000008915F2FD10>: Failed to establish a new connection: Socket error: 0x01: General SOCKS server failure'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\CloudFail\cloudfail.py", line 288, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\CloudFail\cloudfail.py", line 295, in
Traceback (most recent call last):
File "c:\Users\gylam\OneDrive\Hujjatlar\GitHub\VidioMusicBot\config.py", line 9, in
Traceback (most recent call last): File "/home/kali/cloudfail.py", line 307, in
dnsdumpster(args.target)
File "/home/kali/cloudfail.py", line 84, in dnsdumpster
res = DNSDumpsterAPI(False).search(target)
File "/home/kali/DNSDumpsterAPI.py", line 71, in search
soup = BeautifulSoup(req.content, 'html.parser')
File "/usr/local/lib/python3.10/dist-packages/bs4/init.py", line 228, in init
self._feed()
File "/usr/local/lib/python3.10/dist-packages/bs4/init.py", line 289, in _feed
self.builder.feed(self.markup)
File "/usr/local/lib/python3.10/dist-packages/bs4/builder/_htmlparser.py", line 215, in feed
parser.feed(markup)
File "/usr/lib/python3.10/html/parser.py", line 110, in feed
self.goahead(0)
File "/usr/lib/python3.10/html/parser.py", line 178, in goahead
k = self.parse_html_declaration(i)
File "/usr/lib/python3.10/html/parser.py", line 269, in parse_html_declaration
self.handle_decl(rawdata[i+2:gtpos])
File "/usr/local/lib/python3.10/dist-packages/bs4/builder/_htmlparser.py", line 160, in handle_decl
self.soup.endData(Doctype)
File "/usr/local/lib/python3.10/dist-packages/bs4/init.py", line 365, in endData
self.object_was_parsed(o)
File "/usr/local/lib/python3.10/dist-packages/bs4/init.py", line 370, in object_was_parsed
previous_element = most_recent_element or self._most_recent_element
File "/usr/local/lib/python3.10/dist-packages/bs4/element.py", line 1054, in getattr
return self.find(tag)
File "/usr/local/lib/python3.10/dist-packages/bs4/element.py", line 1292, in find
l = self.find_all(name, attrs, recursive, text, 1, kwargs)
File "/usr/local/lib/python3.10/dist-packages/bs4/element.py", line 1313, in find_all
return self._find_all(name, attrs, text, limit, generator, kwargs)
File "/usr/local/lib/python3.10/dist-packages/bs4/element.py", line 528, in _find_all
strainer = SoupStrainer(name, attrs, text, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bs4/element.py", line 1610, in init
self.text = self._normalize_search_value(text)
File "/usr/local/lib/python3.10/dist-packages/bs4/element.py", line 1615, in _normalize_search_value
if (isinstance(value, str) or isinstance(value, collections.Callable) or hasattr(value, 'match')
AttributeError: module 'collections' has no attribute 'Callable'
what is the problem?