Crate pwn

Source
Expand description

An implementation of Pwntools written in Rust.

Pwntools is a collection of tools and utilities designed to assist with a variety of exploitation.

use pwn::*;
init_logger();
let mut r = Remote::new("127.0.0.1", 1337).unwrap();
info!("Hello, world: {:?}!", r.recv().unwrap());

Re-exports§

pub use logging::*;
pub use context::*;
pub use tubes::*;
pub use elf::*;
pub use util::*;

Modules§

context
The global (to a given thread) context. Used to set global settings which are used internally by several functions.
elf
Utilities for parsing ELF files.
logging
A tracing_subscriber log formatter init_logger must be called in order to use this!
tubes
Utilities for IO ‘tubes’.
util
A collection of miscellaneous utilities.