pwnlib.config — Pwntools Configuration File¶
Allows per-user and per-host configuration of Pwntools settings.
The list of configurable options includes all of the logging symbols and colors, as well as all of the default values on the global context object.
The configuration file is read from
$XDG_CONFIG_HOME defaults to
~/.config, per XDG Base Directory Specification),
The configuration file is only read in
from pwn import * mode, and not
when used in library mode (
import pwnlib). To read the configuration
file in library mode, invoke
context section supports complex types, at least as far as is
[log] success.symbol=😎 error.symbol=☠ info.color=blue [context] adb_port=4141 randomize=1 timeout=60 terminal=['x-terminal-emulator', '-e'] [update] interval=7