debug server can send arbitrary IP packet to genie app to send out from android
This commit is contained in:
1 parent
ca1ffcf34f
commit
12ebe3fed5
6 files changed
+33
-18
No files matched your search
@@ -91,7 +91,14 @@ class Sniffer(Thread):
|
||||
|
||||
def get_send_payload():
|
||||
|
||||
payload = "BBBBBBBBBBB"
|
||||
payload = "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"
|
||||
|
||||
send_pkt = IP(dst="9.9.9.9", src="10.0.0.161") / ICMP() / "AAAAAAAA"
|
||||
send_bytes = bytes(send_pkt)
|
||||
payload = send_bytes
|
||||
|
||||
|
||||
print("debug send payload: " + str(payload))
|
||||
|
||||
return payload
|
||||
|
||||
|
||||
Reference in new issue
Block a user