BlackArch / blackarch

An ArchLinux based distribution for penetration testers and security researchers.
https://www.blackarch.org
Other
2.83k stars 572 forks source link

`arjun` package misses `python-ratelimit` dependency #4331

Closed nil0x42 closed 2 weeks ago

nil0x42 commented 2 weeks ago

Bug description

arjun package misses python-ratelimit dependency:

$ arjun -u <URL>
    _
   /_| _ '
  (  |/ /(//) v2.2.6
      _/      

Traceback (most recent call last):
  File "/usr/sbin/arjun", line 33, in <module>
    sys.exit(load_entry_point('arjun==2.2.6', 'console_scripts', 'arjun')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/sbin/arjun", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.12/site-packages/arjun/__main__.py", line 90, in <module>
    from arjun.core.requester import requester
  File "/usr/lib/python3.12/site-packages/arjun/core/requester.py", line 9, in <module>
    from ratelimit import limits, sleep_and_retry
ModuleNotFoundError: No module named 'ratelimi

Steps to reproduce

Info for developers

I would have submitted a pull request with the updated pkgfile, but since python-ratelimit is only available on AUR, it may need to be packaged in BlackArch. I’m unsure of the best way to proceed with this.

D3vil0p3r commented 2 weeks ago

https://github.com/BlackArch/blackarch/pull/4332