文件名称:mpwn:单个文件ctfexploit客户端库-python3,带注释的类型
文件大小:9KB
文件格式:ZIP
更新时间:2024-06-14 07:47:15
Python
mpwn 基本用法: from mp import * # p = remote('host', port) p = process ( './exe_name' ) # basic io: p . sendline ( 'hello world' ) print ( p . recvline ()) p . send ( 'hi' ) print ( p . recv ( 5 )) # directly connect your tty input/output to the target p . interact () # wait for a prompt and send a command: p . expect ( '$ ' ) p . sendline ( 'command' ) # concise syntax # p << 'foo' # is p.send('fo
【文件预览】:
mpwn-master
----README.md(942B)
----mp.py(28KB)
----LICENSE(1KB)