Open lone238523 opened 1 year ago
Seems like prob with managing csrf token!
Please provide the following details:
hi i need help with this error
Traceback (most recent call last):
File "/root/igbf/igbf.py", line 543, in
File "/usr/local/lib/python3.11/dist-packages/requests/cookies.py", line 334, in __getitem__
return self._find_no_duplicates(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/requests/cookies.py", line 413, in _find_no_duplicates
raise KeyError(f"name={name!r}, domain={domain!r}, path={path!r}")
KeyError: "name='csrftoken', domain=None, path=None"
Traceback (most recent call last):
File "/home/mamian/dox/Social_Rain/igbf/igbf.py", line 543, in
I need help with this
Seems like prob with managing csrf token!
Please provide the following details: - os - python version - command used
os - windows python version- python 3.9 command used- python igbf.py -u myusername -p rockyou.txt
please reply
The problem is that instagram has changed some functionality the way the csrf tokens load in cookies - this is causing the error! Seems like this is because of the new update (on there website), but as soon as I find a fix I'll update here!
Meanwhile - if anyone knows/found how to extract csrf token
from instagram.com
- please paste the solution/code here - it will be appreciated :)
thankyou y'all for being patient
hello, when starting brute force I get the following error in the code:
File "igbf.py", line 543, in
main()
File "igbf.py", line 409, in main
csrf_token = get_csrf_token()
File "igbf.py", line 107, in get_csrf_token
return content.cookies['csrftoken']
File "C:\Users\alan2\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\requests\cookies.py", line 334, in getitem
return self._find_no_duplicates(name)
File "C:\Users\alan2\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\requests\cookies.py", line 413, in _find_no_duplicates
raise KeyError(f "name={name!r}, domain={domain!r}, path={path!r}")
KeyError: "name='csrftoken', domain=None, path=None"