craighays/bucketkicker

Import Error: No module named Queue (macOS Sierra 10.12.6)

Opened this issue · 0 comments

ak1t4 commented

Hi, when we clone the git repo and install requirements, we have the next error from run ./python bucket kicker.py

MacBook-Pro-de-akita:bucketkicker ak1t4$ python bucketkicker.py Traceback (most recent call last): File "bucketkicker.py", line 20, in <module> from queue import Queue ImportError: No module named queue
This can be solved changing on buckerkicker.py:
from from queue import Queue
to: from multiprocessing import Queue

Result is:

MacBook-Pro-de-akita:bucketkicker ak1t4$ python bucketkicker.py -h
usage: bucketkicker.py [-h] [-D] [-d SAVEDIR] -l HOSTLIST [-g GREPWORDS]
[-m MAXSIZE] [-t THREADS] [-b]

optional arguments:
-h, --help show this help message and exit
-D Download files. This requires significant disk space.
-d SAVEDIR If -D, then -d 1 to create save directories for each bucket
with results.
-l HOSTLIST
-g GREPWORDS Provide a wordlist to grep for.
-m MAXSIZE Maximum file size to download.
-t THREADS Number of threads.
-b List open buckets only