s0md3v / Arjun

HTTP parameter discovery suite.
GNU Affero General Public License v3.0
5.25k stars 793 forks source link

TypeError: object of type 'NoneType' has no len() #195

Closed learnerboy88 closed 7 months ago

learnerboy88 commented 1 year ago

I am getting the error when running this command arjun -i burpRequests -m JSON --headers "Authorization: Basic exampleheaderrunninghere" -oT arjun-result --include='{"root":{"a":"b",$arjun$}}'

Error:

Traceback (most recent call last):
  File "/home/kali/.local/bin/arjun", line 8, in <module>
    sys.exit(main())
  File "/home/kali/.local/lib/python3.8/site-packages/arjun/__main__.py", line 201, in main
    these_params = initialize(each, list(wordlist))
  File "/home/kali/.local/lib/python3.8/site-packages/arjun/__main__.py", line 121, in initialize
    response_1 = requester(request, {fuzz: fuzz[::-1]})
  File "/home/kali/.local/lib/python3.8/site-packages/arjun/core/requester.py", line 18, in requester
    if len(request.get('include', '')) != 0:
TypeError: object of type 'NoneType' has no len()
s0md3v commented 7 months ago

Fixed in 2.2.5