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

Arjun often crashes on a list of URLs #223

Open
Xitro01 opened this issue Dec 12, 2024 · 1 comment
Open

Arjun often crashes on a list of URLs #223

Xitro01 opened this issue Dec 12, 2024 · 1 comment

Comments

@Xitro01
Copy link

Xitro01 commented Dec 12, 2024

Somehow Arjun crashes quite often with the following error:

[*] Probing the target for stability
Traceback (most recent call last):
  File "/home/kali/.local/bin/arjun", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/kali/.local/lib/python3.12/site-packages/arjun/__main__.py", line 204, in main
    these_params = initialize(request, wordlist, single_url=is_single)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/kali/.local/lib/python3.12/site-packages/arjun/__main__.py", line 133, in initialize
    mem.var['healthy_url'] = response_1.status_code not in (400, 413, 418, 429, 503)
                             ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'status_code'

I'm using the following command:
arjun -i gospider_deduped.txt -t 10 --disable-redirects -oT arjun.txt

The file contained 435 lines.
Running Arjun version: v2.2.7

Any idea?

EDIT: Another crash. Same same but different:

Traceback (most recent call last):
  File "/home/kali/.local/bin/arjun", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/kali/.local/lib/python3.12/site-packages/arjun/__main__.py", line 204, in main
    these_params = initialize(request, wordlist, single_url=is_single)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/kali/.local/lib/python3.12/site-packages/arjun/__main__.py", line 135, in initialize
    print('%s Target returned HTTP %i, this may cause problems.' % (bad, request.status_code))
                                                                         ^^^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'status_code'

@Xitro01
Copy link
Author

Xitro01 commented Dec 13, 2024

The second error I got seems related to: #218
The first one seems to be a different cause.

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

1 participant