Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback (most recent call last): #1601

Closed
koubaabdellah opened this issue Dec 9, 2023 · 2 comments · Fixed by #1628
Closed

Traceback (most recent call last): #1601

koubaabdellah opened this issue Dec 9, 2023 · 2 comments · Fixed by #1628

Comments

@koubaabdellah
Copy link

koubaabdellah commented Dec 9, 2023

/Tools/theHarvester# python3 theHarvester.py -h Read proxies.yaml from /root/.theHarvester/proxies.yaml Traceback (most recent call last): File "theHarvester.py", line 5, in <module> from theHarvester.theHarvester import main File "/root/Tools/theHarvester/theHarvester/theHarvester.py", line 4, in <module> from theHarvester import __main__ File "/root/Tools/theHarvester/theHarvester/__main__.py", line 16, in <module> from theHarvester.discovery import ( File "/root/Tools/theHarvester/theHarvester/discovery/securitytrailssearch.py", line 6, in <module> from theHarvester.parsers import securitytrailsparser File "/root/Tools/theHarvester/theHarvester/parsers/securitytrailsparser.py", line 4, in <module> class Parser: File "/root/Tools/theHarvester/theHarvester/parsers/securitytrailsparser.py", line 11, in Parser async def parse_text(self) -> tuple[set, set]: TypeError: 'type' object is not subscriptable

@jryebread
Copy link

same here when i try to run the python file

@NotoriousRebel
Copy link
Collaborator

@jryebread @koubaabdellah Apologies for the late response, it seems to be a mistyping on line https://github.com/laramies/theHarvester/blob/master/theHarvester/parsers/securitytrailsparser.py#L11 tuple[set, set]: should be Tuple[set, set]: That should fix the error you are running into

L1ghtn1ng added a commit that referenced this issue Jan 6, 2024
@L1ghtn1ng L1ghtn1ng mentioned this issue Jan 6, 2024
L1ghtn1ng added a commit that referenced this issue Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants