I am just trying to run the attacker code of the link mentioned. But i am facing the following errors :
MAV> Waiting for heartbeat from tcp:127.0.0.1:5760
Exception in thread main_loop:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/bin/mavproxy.py", line 1168, in main_loop
master.wait_heartbeat()
File "/usr/local/lib/python2.7/dist-packages/pymavlink/mavutil.py", line 383, in wait_heartbeat
return self.recv_match(type='HEARTBEAT', blocking=blocking)
File "/usr/local/lib/python2.7/dist-packages/pymavlink/mavutil.py", line 344, in recv_match
m = self.recv_msg()
File "/usr/local/lib/python2.7/dist-packages/pymavlink/mavutil.py", line 318, in recv_msg
msg = self.mav.parse_char(s)
File "/usr/local/lib/python2.7/dist-packages/pymavlink/dialects/v10/ardupilotmega.py", line 9257, in parse_char
self.__callbacks(m)
File "/usr/local/lib/python2.7/dist-packages/pymavlink/dialects/v10/ardupilotmega.py", line 9234, in __callbacks
self.callback(msg, *self.callback_args, **self.callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/mavproxy_link.py", line 347, in master_callback
self.set_prompt(self.status.flightmode + "> ")
File "/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/lib/mp_module.py", line 148, in set_prompt
if prompt and self.settings.vehicle_name:
File "/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/lib/mp_settings.py", line 108, in __getattr__
raise AttributeError
AttributeError
I am not an expert in python so please do help me out to solve these errors.attackerGCS
Replies
Are you white hatting/pen testing?
This is irresponsible. It's also a pretty poor implementation.