debug server can send arbitrary IP packet to genie app to send out from android

This commit is contained in:
Beau Kujath committed 2023-07-10 13:34:19 -06:00
1 parent ca1ffcf34f
commit 12ebe3fed5
6 files changed
+33 -18

No files matched your search

+8 -1
View File
@@ -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