dhondta / dronesploit

Drone pentesting framework console

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"show options" returns "object of type 'int' has no len()"

FD87CB7 opened this issue · comments

Hello,
I am trying to use the software on Tello with a rtl based wireless card in monitor mode. I'm running up to date Ubuntu 20.04.
After doing pip3 install dronesploit then starting dronesploit.
I tried to follow the example and use auxiliary/wifi/find_targets
When I then run show options
I get

[ - ] object of type 'int' has no len()
Traceback (most recent call last):
   File "/usr/local/lib/python3.8/dist-packages/sploitkit/core/console.py", line 361, in run obj.run(*args)
   File "/usr/local/lib/python3.8/dist-packages/sploitkit/base/commands/module.py", line 78, in run print_formatted_text(ANSI(str(self.config)))
   File "/usr/local/lib/python3.8/dist-packages/sploitkit/core/components/config.py", line 491, in __str__ return str(c)
   File "/usr/local/lib/python3.8/dist-packages/sploitkit/core/components/config.py", line 105, in __str__ BorderlessTable(data, "%s options" % prefix).table
   File "/usr/local/lib/python3.8/dist-packages/tinyscript/helpers/layout.py", line 60, in __init__ if len(v) > 0:
TypeError: object of type 'int' has no len()

I get a similar error with auxiliary/wifi/find_ssids

It seems like this would affect the operation, do you know how I would fix this or what I can try next?

commented

Arf, my bad ! This comes from a change in Tinyscript 20 days ago.
I'll fix this and keep you posted.

commented

@FD87CB7 You canpip install --upgrade dronesploit (this will give you version 1.1.6).

commented

@FD87CB7 Can you test and provide feedback, please ? Thank you so much for the head up anyway ;-)

@dhondta Thank you! Did testand can confirm that fixes the issue.

It appears there are a set of new problems in the update, one seems to be that dronesploit can only store 4-letter long names for the ESSID and access points now when you run the find_ssids module.... I will write up all of the errors I have and put them together neatly, thank you for doing an update!

commented

Please then open a new issue and I will handle it ASAP.
Thank you !