megadose / OnionSearch

OnionSearch is a script that scrapes urls on different .onion search engines.
GNU General Public License v3.0
1.16k stars 153 forks source link

Exception occured: SOCKSHTTPConnectionPool / Failed to establish a new connection #12

Closed kamuluzo closed 2 years ago

kamuluzo commented 2 years ago

Hi there, first: thx so much for your work!!!!!

I am in the process of getting to work with your tools right now. Step 1: I use onionsearch without Torbrowser -> ok, thats a bad idea: Exception occured: SOCKSHTTPConnectionPool(host='darksearch.io', port=80)

Step 2: Turn on Tor Browser & #onionsearch "computer" => search.py started with 1 processing units... Ahmia (#0): 0%| | 0/1 [00:00<?, ?it/s] than, the search stands still. After one or two minutes I'll get the error Exception occured: Exception occured: SOCKSHTTPConnectionPool(host='msydqstlz2kzerdg.onion', port=80): Max retries exceeded with url: /search/?q=computer (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fb832be3430>: Failed to establish a new connection: 0x06: TTL expired'))

Ok, DarkSearch runs DarkSearch (.io) (#0): 100%|████████████████| 30/30 [00:31<00:00, 1.04s/it]

but OnionLand gives an error again: OnionLand (#0): 68%|██████████▏ | 68/100 [01:52<00:53, 1.66s/it] Exception occured: SOCKSHTTPConnectionPool(host='hss3uro2hsxfogfq.onion', port=80): Max retries exceeded with url: /index.php?q=computer (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fb832378f40>: Failed to establish a new connection: 0x06: TTL expired'))

and so on and on....

What am I doing wrong, can you help?

Regards henry

megadose commented 2 years ago

https://github.com/megadose/OnionSearch/issues/7

kamuluzo commented 2 years ago

Unfortunately this does not work for me...

onionsearch password --proxy=127.0.0.1:9050 search.py started with 1 processing units... Ahmia (#0): 0%| | 0/1 [00:00<?, ?it/s] Exception occured: SOCKSHTTPConnectionPool(host='msydqstlz2kzerdg.onion', port=80): Max retries exceeded with url: /search/?q=password (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0ce2455e0>: Failed to establish a new connection: [Errno 111] Connection refused')) Exception occured: SOCKSHTTPConnectionPool(host='darksearch.io', port=80): Max retries exceeded with url: /api/search?query=password&page=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0ce245fa0>: Failed to establish a new connection: [Errno 111] Connection refused')) Exception occured: SOCKSHTTPConnectionPool(host='3bbad7fauom4d6sgppalyqddsqbf5u5p56b5k5uk2zxsy3d6ey2jobad.onion', port=80): Max retries exceeded with url: /search?q=password&page=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0cd9dc8b0>: Failed to establish a new connection: [Errno 111] Connection refused')) Exception occured: SOCKSHTTPConnectionPool(host='hss3uro2hsxfogfq.onion', port=80): Max retries exceeded with url: /index.php?q=password (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0cd9eb280>: Failed to establish a new connection: [Errno 111] Connection refused')) Exception occured: SOCKSHTTPConnectionPool(host='7pwy57iklvt6lyhe.onion', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0cd9dcdc0>: Failed to establish a new connection: [Errno 111] Connection refused')) Exception occured: SOCKSHTTPConnectionPool(host='phobosxilamwcg75xt22id7aywkzol6q6rfl2flipcqoc4e4ahima5id.onion', port=80): Max retries exceeded with url: /search?query=password&p=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0cd9dc580>: Failed to establish a new connection: [Errno 111] Connection refused')) Exception occured: SOCKSHTTPConnectionPool(host='oss7wrm7xvoub77o.onion', port=80): Max retries exceeded with url: /oss/ (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0ce233970>: Failed to establish a new connection: [Errno 111] Connection refused')) Torgle (#0): 0%| | 0/1 [00:00<?, ?it/s] Exception occured: SOCKSHTTPConnectionPool(host='submarhglcl66nz6.onion', port=80): Max retries exceeded with url: //search.php?term=password (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0ce245970>: Failed to establish a new connection: [Errno 111] Connection refused')) Exception occured: SOCKSHTTPConnectionPool(host='torgle5fj664v7pf.onion', port=80): Max retries exceeded with url: /torgle/index-frame.php?query=password&search=1&engine-ver=2&isframe=0 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0cd9eba90>: Failed to establish a new connection: [Errno 111] Connection refused')) Exception occured: SOCKSHTTPConnectionPool(host='onionf4j3fwqpeo5.onion', port=80): Max retries exceeded with url: /search.php?search=password&submit=Search&page=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0cd9f6340>: Failed to establish a new connection: [Errno 111] Connection refused')) Exception occured: SOCKSHTTPConnectionPool(host='tordex7iie7z2wcg.onion', port=80): Max retries exceeded with url: /search?query=password&page=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0ce2337f0>: Failed to establish a new connection: [Errno 111] Connection refused')) Exception occured: SOCKSHTTPConnectionPool(host='tor66sezptuu2nta.onion', port=80): Max retries exceeded with url: /search?q=password&sorttype=rel&page=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0ce233190>: Failed to establish a new connection: [Errno 111] Connection refused')) Tormax (#0): 0%| | 0/1 [00:00<?, ?it/s] Exception occured: SOCKSHTTPConnectionPool(host='tormaxunodsbvtgo.onion', port=80): Max retries exceeded with url: /search?q=password (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0cd9eb6a0>: Failed to establish a new connection: [Errno 111] Connection refused')) Exception occured: SOCKSHTTPConnectionPool(host='haystakvxad7wbk5.onion', port=80): Max retries exceeded with url: /?q=password&offset=0 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0cd9dca30>: Failed to establish a new connection: [Errno 111] Connection refused')) Exception occured: SOCKSHTTPConnectionPool(host='multivacigqzqqon.onion', port=80): Max retries exceeded with url: /?q=password&page=1 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0cd9f6250>: Failed to establish a new connection: [Errno 111] Connection refused')) Exception occured: SOCKSHTTPConnectionPool(host='evo7no6twwwrm63c.onion', port=80): Max retries exceeded with url: /evo/search.php?query=password&start=1&search=1&type=and&mark=bold+text&results=50 (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0cd9dcac0>: Failed to establish a new connection: [Errno 111] Connection refused')) Exception occured: SOCKSHTTPConnectionPool(host='deeplinkdeatbml7.onion', port=80): Max retries exceeded with url: /index.php (Caused by NewConnectionError('<urllib3.contrib.socks.SOCKSConnection object at 0x7fe0cd9dc7f0>: Failed to establish a new connection: [Errno 111] Connection refused'))

Report: Execution time: 0:00:00.039504 seconds Results per engine: ahmia: 0 darksearchio: 0 onionland: 0 notevil: 0 darksearchenginer: 0 phobos: 0 onionsearchserver: 0 torgle: 0 torgle1: 0 onionsearchengine: 0 tordex: 0 tor66: 0 tormax: 0 haystack: 0 multivac: 0 evosearch: 0 deeplink: 0 Total: 0 links written to output_password_20211019080138.txt

megadose commented 2 years ago

start the tor proxy

kamuluzo commented 2 years ago

Tried it with

in both case i get the same error... :(