aliasrobotics / aztarna

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

Error running the code #3

Closed LanderU closed 6 years ago

LanderU commented 6 years ago

@olaldiko and @XabierPB I'm trying to use the code using an input file generated by: https://github.com/aliasrobotics/zmap_results/blob/master/zmap_scan.sh

I try it with this two files: https://github.com/aliasrobotics/zmap_results/blob/master/ros_scan_s0.csv, https://github.com/aliasrobotics/zmap_results/blob/master/ros_scan_s20.csv

I'm getting these errors:

lander@MacBook-Pro-de-Lander:~/github/zmap_results (master)$ aztarna -t ROS -p 11311 -i ros_scan_s0.csv 
Invalid address entered
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 51, in main

In the down of the error (it shows me all the ip addresses) this message:

does not appear to be an IPv4 or IPv6 network

Could be a problem when you try to parse the ip address? In the array shows a \n character:

'170.104.155.174\n', '170.104.230.235\n', '101.118.152.93\n', '172.65.199.176\n'
XabierPB commented 6 years ago

Actually there were a couple of problems. All fixed for ROS. SROS fix coming soon

LanderU commented 6 years ago

Main problem is solved!