megadose / holehe

holehe allows you to check if the mail is used on different sites like twitter, instagram and will retrieve information on sites with the forgotten password function.
GNU General Public License v3.0
7.33k stars 812 forks source link

Index out of range in raidforums.py #181

Open netoeuler opened 1 year ago

netoeuler commented 1 year ago

Describe the bug I just updated the repository and tried to use it with the command holehe user@email.com 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 user@email.com

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 commented 10 months ago
xsrf = req.text.split('data-xsrf="')[1].split('"')[0]
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^

IndexError: list index out of range

Yeah Even I have got the error . . .