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

Index out of range in raidforums.py #181

Open
netoeuler opened this issue Sep 16, 2023 · 1 comment
Open

Index out of range in raidforums.py #181

netoeuler opened this issue Sep 16, 2023 · 1 comment

Comments

@netoeuler
Copy link

Describe the bug
I just updated the repository and tried to use it with the command holehe [email protected] and got the following error:
File "/usr/local/lib/python3.6/site-packages/holehe-1.61-py3.6.egg/holehe/modules/forum/raidforums.py", line 49, in raidforums
'my_post_key': r.text.split('var my_post_key = "')[1].split('"')[0]
IndexError: list index out of range

To Reproduce
Just use the command holehe [email protected]

Expected behavior
I was unable to use the tool due to this line (line 49 in raidforums.py), so I had to change it to:
'my_post_key': ''

After that, I was able to see the results for the email.

@skydrige
Copy link

xsrf = req.text.split('data-xsrf="')[1].split('"')[0]
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^

IndexError: list index out of range

Yeah Even I have got the error . . .

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

No branches or pull requests

2 participants