13 releases
0.1.14 | Sep 21, 2024 |
---|---|
0.1.13 | Sep 2, 2024 |
0.1.12 | Aug 29, 2024 |
0.1.11 | Jun 29, 2024 |
0.1.1 | May 26, 2024 |
#1569 in Network programming
279 downloads per month
64KB
1.5K
SLoC
Rekker
Rekker is inspired by pwntools features for communicating with tcp sockets.
Rekker is still in development.
Example
from rekker import remote
io = remote("localhost:1234")
io.send(b"abc")
io.log(True)
io.sendline(b"abcd")
io.sendlineafter(b"abc", b"cde")
io.recv(123)
io.recvn(123)
io.recvline()
io.recvuntil(b"abc")
io.recvall()
io.interactive()
io.debug()
io.close()
Install
Rust
cargo add rekker
Python
pip install rekker
Dependencies
~14–24MB
~438K SLoC