obheda12 / GitDorker

A Python program to scrape secrets from GitHub through usage of a large repository of dorks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

show error,显示报错了

AJsec opened this issue · comments

commented

image

File "GitDorker.py", line 325, in
pool.map(api_search, url_dict)
File "D:\python38\lib\multiprocessing\pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "D:\python38\lib\multiprocessing\pool.py", line 771, in get
raise self._value
File "D:\python38\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "D:\python38\lib\multiprocessing\pool.py", line 48, in mapstar
return list(map(*args))
File "GitDorker.py", line 164, in api_search
headers = {"Authorization": "token " + token_round_robin()}
File "GitDorker.py", line 140, in token_round_robin
current_token = tokens_list[n]
IndexError: list index out of range

Let import your Github token access to Token File