dhondta / dronesploit

Drone pentesting framework console

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to run, error occured

cr4sh-me opened this issue · comments

commented

After running setup.py, I have tried to run script, but an error occurred ;

(rootkali)-[~/dronesploit]
# dronesploit

Traceback (most recent call last):
  File "/usr/local/bin/dronesploit", line 33, in <module>
    sys.exit(load_entry_point('dronesploit==1.1.10', 'console_scripts', 'dronesploit')())
  File "/usr/local/lib/python3.10/dist-packages/dronesploit-1.1.10-py3.10.egg/dronesploit/__main__.py", line 23, in main
    initialize(exit_at_interrupt=False, sudo=True)
  File "/usr/local/lib/python3.10/dist-packages/tinyscript/parser.py", line 114, in initialize
    p = ArgumentParser(glob)
  File "/usr/local/lib/python3.10/dist-packages/tinyscript/argreparse.py", line 263, in __init__
    self._check_requirements(gd.get('__requires__'))
  File "/usr/local/lib/python3.10/dist-packages/tinyscript/argreparse.py", line 343, in _check_requirements
    for m, v in (requires or {}).items():
AttributeError: 'str' object has no attribute 'items'
(rootkali)-[~/dronesploit]
#
commented

Hi @cr4sh-me !
Thank you very much for reporting this.
This is an issue with a recent addition to tinyscript, a dependency of sploitkit, itself a dependency of dronesploit.
I will try to get it fixed ASAP.

commented

Hi @cr4sh-me
You can pip install --upgrade dronesploit and try again.

commented

Hi @cr4sh-me You can pip install --upgrade dronesploit and try again.

Its works now, thanks for fast response. Clossing the issue