aliasrobotics / aztarna

aztarna, a footprinting tool for robots.
https://aliasrobotics.com
GNU General Public License v3.0
89 stars 27 forks source link

Using the code with a single ip address #4

Closed LanderU closed 6 years ago

LanderU commented 6 years ago

I try to use the code with a single ip address, here the error:

lander@MacBook-Pro-de-Lander:~/github/zmap_results (master)$ aztarna -t ROS -p 11311 -a 115.129.241.241
[-] Error connecting to host http://115.129.241.241:11311: 

Communications:
Exception occurred during execution
Traceback (most recent call last):
  File "/usr/local/bin/aztarna", line 11, in <module>
    load_entry_point('aztarna==1.0', 'console_scripts', 'aztarna')()
  File "/usr/local/lib/python3.6/site-packages/aztarna-1.0-py3.6.egg/aztarna/cmd.py", line 59, in main
    framework.  There is no good reason to instantiate Cmd itself; rather,
  File "/usr/local/lib/python3.6/site-packages/aztarna-1.0-py3.6.egg/aztarna/cmd.py", line 56, in main
    prototypes that will later be wrapped in a more sophisticated interface.
  File "/usr/local/lib/python3.6/site-packages/aztarna-1.0-py3.6.egg/aztarna/ros/scanner.py", line 155, in print_results
AttributeError: 'ROSScanner' object has no attribute '_communications'
XabierPB commented 6 years ago

Fixed

LanderU commented 6 years ago
lander@MacBook-Pro-de-Lander:~/github/aztarna (master)$ aztarna -t ROS -p 11311 -a 115.129.241.241
[-] Error connecting to host http://115.129.241.241:11311: 
    Not a ROS host

Confirmed! Thanks @XabierPB!