This commit is contained in:
2025-03-16 05:52:09 +08:00
parent bfcb951628
commit ac0bf1639e
28 changed files with 738 additions and 76 deletions

13
test.py Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env -S python3
from pwn import *
from struct import pack
print(sys.argv)
if len(sys.argv) < 2:
print("no args for serial device")
exit()
tube = serialtube(sys.argv[1], convert_newlines=False)
tube.interactive()