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

The global (to a given thread) context. Used to set global settings which are used internally by several functions.

Utilities for parsing ELF files.

A tracing_subscriber log formatter init_logger must be called in order to use this!

Utilities for IO ‘tubes’.

A collection of miscellaneous utilities.