SYMBOL INDEX (2326 symbols across 172 files) FILE: docs/source/conf.py class SphinxPwnlibFilter (line 50) | class SphinxPwnlibFilter(logging.Filter): method filter (line 51) | def filter(self, record): function linkcode_resolve (line 335) | def linkcode_resolve(domain, info): function dont_skip_any_doctests (line 389) | def dont_skip_any_doctests(app, what, name, obj, skip, options): class PlatformDocTestRunner (line 405) | class PlatformDocTestRunner(sphinx.ext.doctest.SphinxDocTestRunner): method run (line 406) | def run(self, test, compileflags=None, out=None, clear_globs=True): class PlatformDocTestBuilder (line 429) | class PlatformDocTestBuilder(sphinx.ext.doctest.DocTestBuilder): method __init__ (line 431) | def __init__(self, *args, **kwargs): method test_runner (line 437) | def test_runner(self): method test_runner (line 441) | def test_runner(self, value): method test_doc (line 444) | def test_doc(self, docname, doctree): method test_group (line 458) | def test_group(self, group): function setup (line 464) | def setup(app): class EndlessLoop (line 473) | class EndlessLoop(Exception): pass function alrm_handler (line 475) | def alrm_handler(sig, frame): function sigabrt_handler (line 481) | def sigabrt_handler(signum, frame): function alrm_handler (line 486) | def alrm_handler(): FILE: examples/clean_and_log.py function submit_data (line 16) | def submit_data(): FILE: examples/fmtstr/exploit.py function exec_fmt (line 5) | def exec_fmt(payload): function exploit (line 10) | def exploit(binary): FILE: examples/fmtstr/exploit2.py function exploit (line 8) | def exploit(e): FILE: examples/fmtstr/printf-loop.c function main (line 4) | int main() { FILE: examples/fmtstr/printf.c function main (line 11) | int main(int argc, char const *argv[]) FILE: examples/gdb_api.py function check_write (line 6) | def check_write(gdb, exp_buf): function demo_sync_breakpoint (line 16) | def demo_sync_breakpoint(cat, gdb, txt): function demo_async_breakpoint (line 40) | def demo_async_breakpoint(cat, gdb, txt): function main (line 75) | def main(): FILE: examples/gen-README.py function append_example (line 20) | def append_example(_arg, top, names): FILE: extra/docker/develop/ipython_config.py class ClassicPrompts (line 45) | class ClassicPrompts(Prompts): method in_prompt_tokens (line 46) | def in_prompt_tokens(self, cli=None): method continuation_prompt_tokens (line 51) | def continuation_prompt_tokens(self, cli=None, width=None): method rewrite_prompt_tokens (line 56) | def rewrite_prompt_tokens(self): method out_prompt_tokens (line 59) | def out_prompt_tokens(self): FILE: pwnlib/abi.py class ABI (line 5) | class ABI(object): method __init__ (line 26) | def __init__(self, stack, arg_regs, align, minimum): method default (line 34) | def default(): method syscall (line 66) | def syscall(): method sigreturn (line 98) | def sigreturn(): class SyscallABI (line 121) | class SyscallABI(ABI): method __init__ (line 126) | def __init__(self, *a, **kw): class SigreturnABI (line 131) | class SigreturnABI(SyscallABI): FILE: pwnlib/adb/adb.py function adb (line 74) | def adb(argv, *a, **kw): function devices (line 97) | def devices(serial=None): function current_device (line 114) | def current_device(any=False): function with_device (line 132) | def with_device(f): function root (line 147) | def root(): function no_emulator (line 171) | def no_emulator(f): function reboot (line 182) | def reboot(wait=True): function reboot_bootloader (line 195) | def reboot_bootloader(): function uptime (line 204) | def uptime(): function boot_time (line 222) | def boot_time(): class AdbDevice (line 243) | class AdbDevice(Device): method __init__ (line 263) | def __init__(self, serial, type, port=None, product='unknown', model='... method arch (line 283) | def arch(self): method avd (line 288) | def avd(self): method bits (line 293) | def bits(self): method endian (line 298) | def endian(self): method __do_deferred_initialization (line 303) | def __do_deferred_initialization(self): method __str__ (line 329) | def __str__(self): method __repr__ (line 332) | def __repr__(self): method from_adb_output (line 338) | def from_adb_output(line): method __wrapped (line 365) | def __wrapped(self, function): method __getattr__ (line 373) | def __getattr__(self, name): function wait_for_device (line 401) | def wait_for_device(kick=False): function disable_verity (line 453) | def disable_verity(): function remount (line 471) | def remount(): function unroot (line 484) | def unroot(): function _create_adb_push_pull_callback (line 497) | def _create_adb_push_pull_callback(w): function pull (line 512) | def pull(remote_path, local_path=None): function push (line 547) | def push(local_path, remote_path): function read (line 607) | def read(path, target=None, callback=None): function write (line 642) | def write(path, data=b''): function mkdir (line 663) | def mkdir(path): function makedirs (line 709) | def makedirs(path): function exists (line 731) | def exists(path): function isdir (line 751) | def isdir(path): function unlink (line 772) | def unlink(path, recursive=False): function process (line 821) | def process(argv, *a, **kw): function interactive (line 850) | def interactive(**kw): function shell (line 855) | def shell(**kw): function which (line 860) | def which(name, all = False, *a, **kw): function whoami (line 922) | def whoami(): function forward (line 936) | def forward(port): function logcat (line 944) | def logcat(stream=False): function pidof (line 964) | def pidof(name): function proc_exe (line 979) | def proc_exe(pid): function getprop (line 996) | def getprop(name=None): function setprop (line 1040) | def setprop(name, value): function listdir (line 1045) | def listdir(directory='/'): function fastboot (line 1059) | def fastboot(args, *a, **kw): function fingerprint (line 1069) | def fingerprint(): function product (line 1074) | def product(): function build (line 1079) | def build(): function unlock_bootloader (line 1085) | def unlock_bootloader(): class Kernel (line 1119) | class Kernel(object): method address (line 1123) | def address(self): method symbols (line 1137) | def symbols(self): method kallsyms (line 1149) | def kallsyms(self): method version (line 1160) | def version(self): method cmdline (line 1167) | def cmdline(self): method lastmsg (line 1173) | def lastmsg(self): method enable_uart (line 1181) | def enable_uart(self): class Property (line 1229) | class Property(object): method __init__ (line 1230) | def __init__(self, name=None): method __str__ (line 1234) | def __str__(self): method __getattr__ (line 1237) | def __getattr__(self, attr): method __setattr__ (line 1244) | def __setattr__(self, attr, value): method __eq__ (line 1252) | def __eq__(self, other): method __hash__ (line 1267) | def __hash__(self, other): function _build_date (line 1273) | def _build_date(): function find_ndk_project_root (line 1279) | def find_ndk_project_root(source): function _generate_ndk_project (line 1312) | def _generate_ndk_project(file_list, abi='arm-v7a', platform_version=21): function compile (line 1344) | def compile(source): class Partition (line 1424) | class Partition(object): method __init__ (line 1425) | def __init__(self, path, name, blocks=0): method data (line 1432) | def data(self): function walk (line 1437) | def walk(top, topdown=True): function find (line 1460) | def find(top, name): function readlink (line 1466) | def readlink(path): class Partitions (line 1476) | class Partitions(object): method by_name_dir (line 1489) | def by_name_dir(self): method __dir__ (line 1497) | def __dir__(self): method iter_proc_partitions (line 1501) | def iter_proc_partitions(self): method __iter__ (line 1510) | def __iter__(self): method __getattr__ (line 1521) | def __getattr__(self, attr): function install (line 1549) | def install(apk, *arguments): function uninstall (line 1577) | def uninstall(package, *arguments): function packages (line 1591) | def packages(): function version (line 1600) | def version(): FILE: pwnlib/adb/bootimg.py class boot_img_hdr (line 10) | class boot_img_hdr(ctypes.Structure): class BootImage (line 36) | class BootImage(object): method __init__ (line 37) | def __init__(self, data): method __getattr__ (line 46) | def __getattr__(self, name): FILE: pwnlib/adb/bootloader.py class img_info (line 10) | class img_info(ctypes.Structure): class bootloader_images_header (line 16) | class bootloader_images_header(ctypes.Structure): class BootloaderImage (line 26) | class BootloaderImage(object): method __init__ (line 27) | def __init__(self, data): method extract (line 53) | def extract(self, index_or_name): method extract_all (line 84) | def extract_all(self, path): method __str__ (line 99) | def __str__(self): method __getattr__ (line 112) | def __getattr__(self, name): FILE: pwnlib/args.py class PwnlibArgs (line 60) | class PwnlibArgs(collections.defaultdict): method __getattr__ (line 61) | def __getattr__(self, attr): function isident (line 81) | def isident(s): function asbool (line 96) | def asbool(s): function LOG_LEVEL (line 109) | def LOG_LEVEL(x): function LOG_FILE (line 116) | def LOG_FILE(x): function SILENT (line 121) | def SILENT(x): function DEBUG (line 126) | def DEBUG(x): function NOTERM (line 131) | def NOTERM(v): function TIMEOUT (line 137) | def TIMEOUT(v): function RANDOMIZE (line 142) | def RANDOMIZE(v): function NOASLR (line 146) | def NOASLR(v): function NOPTRACE (line 150) | def NOPTRACE(v): function STDERR (line 155) | def STDERR(v): function LOCAL_LIBCDB (line 159) | def LOCAL_LIBCDB(v): function initialize (line 178) | def initialize(): FILE: pwnlib/asm.py function dpkg_search_for_binutils (line 69) | def dpkg_search_for_binutils(arch, util): function print_binutils_instructions (line 102) | def print_binutils_instructions(util, context): function check_binutils_version (line 139) | def check_binutils_version(util): function which_binutils (line 154) | def which_binutils(util, check_version=False): function _assembler (line 258) | def _assembler(): function _linker (line 304) | def _linker(): function _execstack (line 320) | def _execstack(linker): function _objcopy (line 328) | def _objcopy(): function _objdump (line 331) | def _objdump(): function _include_header (line 339) | def _include_header(): function _arch_header (line 351) | def _arch_header(): function _bfdname (line 377) | def _bfdname(): function _bfdarch (line 412) | def _bfdarch(): function _run (line 432) | def _run(cmd, stdin = None): function cpp (line 464) | def cpp(shellcode): function make_elf_from_assembly (line 507) | def make_elf_from_assembly(assembly, function make_elf (line 596) | def make_elf(data, function make_macho_from_assembly (line 690) | def make_macho_from_assembly(shellcode): function make_macho (line 695) | def make_macho(data, is_shellcode=False): function asm (line 751) | def asm(shellcode, vma = 0, extract = True, shared = False): function disasm (line 907) | def disasm(data, vma = 0, byte = True, offset = True, instructions = True): FILE: pwnlib/atexception.py function register (line 17) | def register(func, *args, **kwargs): function unregister (line 55) | def unregister(func): function _run_handlers (line 64) | def _run_handlers(): function _newhook (line 91) | def _newhook(typ, val, tb): FILE: pwnlib/atexit.py function register (line 23) | def register(func, *args, **kwargs): function unregister (line 59) | def unregister(ident): function _run_handlers (line 68) | def _run_handlers(): FILE: pwnlib/commandline/asm.py function main (line 97) | def main(args): FILE: pwnlib/commandline/checksec.py function main (line 25) | def main(args): FILE: pwnlib/commandline/common.py function context_arg (line 13) | def context_arg(arg): function main (line 28) | def main(file=sys.argv[0], command_main=None): function deprecated_main (line 36) | def deprecated_main(): function entrypoint (line 43) | def entrypoint(commands): FILE: pwnlib/commandline/constgrep.py function main (line 58) | def main(args): FILE: pwnlib/commandline/cyclic.py function main (line 59) | def main(args): FILE: pwnlib/commandline/debug.py function main (line 51) | def main(args): FILE: pwnlib/commandline/disablenx.py function main (line 17) | def main(args): FILE: pwnlib/commandline/disasm.py function main (line 59) | def main(args): FILE: pwnlib/commandline/elfdiff.py function dump (line 14) | def dump(objdump, path): function diff (line 21) | def diff(a,b): function main (line 35) | def main(a): FILE: pwnlib/commandline/elfpatch.py function main (line 20) | def main(a): FILE: pwnlib/commandline/errno.py function main (line 17) | def main(args): FILE: pwnlib/commandline/hex.py function format_hex (line 32) | def format_hex(hex_string, prefix, separator): function main (line 35) | def main(args): FILE: pwnlib/commandline/libcdb.py function print_libc_info (line 158) | def print_libc_info(libc): function print_libc_elf (line 168) | def print_libc_elf(exe): function get_libc_version (line 196) | def get_libc_version(exe): function translate_offset (line 202) | def translate_offset(offs, args, exe): function collect_synthetic_symbols (line 210) | def collect_synthetic_symbols(exe): function main (line 225) | def main(args): FILE: pwnlib/commandline/main.py function main (line 47) | def main(): FILE: pwnlib/commandline/phd.py function asint (line 66) | def asint(s): function main (line 74) | def main(args): FILE: pwnlib/commandline/pwnstrip.py function main (line 21) | def main(args): FILE: pwnlib/commandline/scramble.py function main (line 74) | def main(args): FILE: pwnlib/commandline/shellcraft.py function _string (line 19) | def _string(s): function get_template (line 169) | def get_template(shellcodes): function is_not_a_syscall_template (line 182) | def is_not_a_syscall_template(name): function main (line 186) | def main(args): FILE: pwnlib/commandline/template.py function get_docker_image_libraries (line 34) | def get_docker_image_libraries(): function detect_missing_binaries (line 114) | def detect_missing_binaries(args): function main (line 171) | def main(args): FILE: pwnlib/commandline/unhex.py function main (line 17) | def main(args): FILE: pwnlib/commandline/update.py function main (line 24) | def main(a): FILE: pwnlib/commandline/version.py function main (line 17) | def main(a): FILE: pwnlib/config.py function register_config (line 39) | def register_config(section, function): function initialize (line 49) | def initialize(): FILE: pwnlib/constants/__init__.py class ConstantsModule (line 62) | class ConstantsModule(ModuleType): method __init__ (line 72) | def __init__(self, name, module): method guess (line 77) | def guess(self): method __dir__ (line 86) | def __dir__(self): method __getattr__ (line 89) | def __getattr__(self, key): method eval (line 117) | def eval(self, string): FILE: pwnlib/constants/constant.py class Constant (line 1) | class Constant(int): method __new__ (line 2) | def __new__(cls, s, i): method __str__ (line 6) | def __str__(self): method __repr__ (line 8) | def __repr__(self): FILE: pwnlib/context/__init__.py class _devnull (line 36) | class _devnull(object): method write (line 38) | def write(self, *a, **kw): pass method read (line 39) | def read(self, *a, **kw): return '' method flush (line 40) | def flush(self, *a, **kw): pass method close (line 41) | def close(self, *a, **kw): pass class _defaultdict (line 43) | class _defaultdict(dict): method __init__ (line 72) | def __init__(self, default=None): method __missing__ (line 80) | def __missing__(self, key): class _DictStack (line 83) | class _DictStack(object): method __init__ (line 107) | def __init__(self, default): method push (line 111) | def push(self): method pop (line 114) | def pop(self): method copy (line 118) | def copy(self): method __len__ (line 122) | def __len__(self): return self._current.__len__() method __delitem__ (line 123) | def __delitem__(self, k): return self._current.__delitem__(k) method __getitem__ (line 124) | def __getitem__(self, k): return self._current.__getitem__(k) method __setitem__ (line 125) | def __setitem__(self, k, v): return self._current.__setitem__(k, v) method __contains__ (line 126) | def __contains__(self, k): return self._current.__contains__(k) method __iter__ (line 127) | def __iter__(self): return self._current.__iter__() method __repr__ (line 128) | def __repr__(self): return self._current.__repr__() method __eq__ (line 129) | def __eq__(self, other): return self._current.__eq__(other) method keys (line 132) | def keys(self): return self._current.keys() method values (line 133) | def values(self): return self._current.values() method items (line 134) | def items(self): return self._current.items() class _Tls_DictStack (line 137) | class _Tls_DictStack(threading.local, _DictStack): function _validator (line 155) | def _validator(validator): class Thread (line 178) | class Thread(threading.Thread): method __init__ (line 233) | def __init__(self, *args, **kwargs): method __bootstrap (line 237) | def __bootstrap(self): function _longest (line 253) | def _longest(d): class ContextType (line 272) | class ContextType(object): method __init__ (line 452) | def __init__(self, **kwargs): method copy (line 462) | def copy(self): method __dict__ (line 477) | def __dict__(self): method update (line 480) | def update(self, *args, **kwargs): method __repr__ (line 515) | def __repr__(self): method local (line 519) | def local(self, function=None, **kwargs): method silent (line 568) | def silent(self, function=None): method quiet (line 574) | def quiet(self, function=None): method quietfunc (line 608) | def quietfunc(self, function): method verbose (line 647) | def verbose(self): method clear (line 674) | def clear(self, *a, **kw): method native (line 703) | def native(self): method arch (line 717) | def arch(self, arch): method aslr (line 816) | def aslr(self, aslr): method kernel (line 829) | def kernel(self, arch): method bits (line 843) | def bits(self, bits): method binary (line 870) | def binary(self, binary): method bytes (line 904) | def bytes(self): method bytes (line 923) | def bytes(self, value): method encoding (line 927) | def encoding(self, charset): method endian (line 938) | def endian(self, endianness): method log_level (line 975) | def log_level(self, value): method log_file (line 1015) | def log_file(self, value): method log_console (line 1079) | def log_console(self, stream): method local_libcdb (line 1097) | def local_libcdb(self, path): method mask (line 1123) | def mask(self): method os (line 1127) | def os(self, os): method randomize (line 1199) | def randomize(self, r): method signed (line 1206) | def signed(self, signed): method timeout (line 1241) | def timeout(self, value=Timeout.default): method terminal (line 1254) | def terminal(self, value): method abi (line 1265) | def abi(self): method proxy (line 1269) | def proxy(self, proxy): method noptrace (line 1303) | def noptrace(self, value): method adb_host (line 1315) | def adb_host(self, value): method adb_port (line 1327) | def adb_port(self, value): method device (line 1338) | def device(self, device): method adb (line 1354) | def adb(self): method buffer_size (line 1375) | def buffer_size(self, size): method cache_dir_base (line 1384) | def cache_dir_base(self, new_base): method cache_dir (line 1399) | def cache_dir(self): method cache_dir (line 1469) | def cache_dir(self, v): method delete_corefiles (line 1477) | def delete_corefiles(self, v): method disable_corefiles (line 1486) | def disable_corefiles(self, v): method rename_corefiles (line 1498) | def rename_corefiles(self, v): method newline (line 1515) | def newline(self, v): method throw_eof_on_incomplete_line (line 1526) | def throw_eof_on_incomplete_line(self, v): method gdbinit (line 1546) | def gdbinit(self, value): method gdb_binary (line 1562) | def gdb_binary(self, value): method cyclic_alphabet (line 1576) | def cyclic_alphabet(self, alphabet): method cyclic_size (line 1589) | def cyclic_size(self, size): method ssh_session (line 1602) | def ssh_session(self, shell): method __call__ (line 1619) | def __call__(self, **kwargs): method reset_local (line 1625) | def reset_local(self): method endianness (line 1632) | def endianness(self): method endianness (line 1643) | def endianness(self, value): method sign (line 1648) | def sign(self): method sign (line 1655) | def sign(self, value): method signedness (line 1659) | def signedness(self): method signedness (line 1666) | def signedness(self, value): method word_size (line 1671) | def word_size(self): method word_size (line 1678) | def word_size(self, value): function LocalContext (line 1703) | def LocalContext(function): function LocalNoarchContext (line 1737) | def LocalNoarchContext(function): function update_context_defaults (line 1757) | def update_context_defaults(section): FILE: pwnlib/data/elf/__init__.py function get (line 8) | def get(x): FILE: pwnlib/data/elf/fmtstr/__init__.py function get (line 4) | def get(x): FILE: pwnlib/data/elf/fmtstr/vuln.c function main (line 8) | int main(int argc, char const *argv[]) FILE: pwnlib/data/elf/relro/__init__.py function get (line 4) | def get(x): FILE: pwnlib/data/elf/ret2dlresolve/__init__.py function get (line 4) | def get(x): FILE: pwnlib/data/elf/ret2dlresolve/vuln.c function vuln (line 2) | void vuln(void){ function main (line 6) | int main(int argc, char** argv){ FILE: pwnlib/data/includes/generator/freebsd/sys/fcntl.h type __mode_t (line 51) | typedef __mode_t mode_t; type __off_t (line 56) | typedef __off_t off_t; type __pid_t (line 61) | typedef __pid_t pid_t; type flock (line 262) | struct flock { type __oflock (line 276) | struct __oflock { FILE: pwnlib/data/includes/generator/freebsd/sys/mman.h type __mode_t (line 167) | typedef __mode_t mode_t; type __off_t (line 172) | typedef __off_t off_t; type __size_t (line 177) | typedef __size_t size_t; type file (line 184) | struct file type shmfd (line 186) | struct shmfd { type shmfd (line 210) | struct shmfd type file (line 212) | struct file type file (line 213) | struct file type shmfd (line 214) | struct shmfd FILE: pwnlib/data/includes/generator/freebsd/sys/signal.h type __sigset_t (line 146) | typedef __sigset_t sigset_t; type sigevent (line 162) | struct sigevent { type siginfo_t (line 195) | typedef struct __siginfo { type __siginfo (line 294) | struct __siginfo type sigaction (line 299) | struct sigaction { type __sighandler_t (line 351) | typedef __sighandler_t *sig_t; type __siginfo (line 352) | struct __siginfo type stack_t (line 360) | typedef struct sigaltstack { type sigvec (line 380) | struct sigvec { type osigcontext (line 398) | struct osigcontext { type sigstack (line 407) | struct sigstack { FILE: pwnlib/data/includes/generator/freebsd/sys/socket.h type __gid_t (line 50) | typedef __gid_t gid_t; type __off_t (line 55) | typedef __off_t off_t; type __pid_t (line 60) | typedef __pid_t pid_t; type __sa_family_t (line 66) | typedef __sa_family_t sa_family_t; type __socklen_t (line 71) | typedef __socklen_t socklen_t; type __ssize_t (line 76) | typedef __ssize_t ssize_t; type __uid_t (line 82) | typedef __uid_t uid_t; type linger (line 157) | struct linger { type accept_filter_arg (line 163) | struct accept_filter_arg { type sockaddr (line 285) | struct sockaddr { type sockproto (line 297) | struct sockproto { type msghdr (line 433) | struct msghdr { type cmsghdr (line 470) | struct cmsghdr { type cmsgcred (line 492) | struct cmsgcred { type sockcred (line 504) | struct sockcred { type osockaddr (line 566) | struct osockaddr { type omsghdr (line 574) | struct omsghdr { type sf_hdtr (line 601) | struct sf_hdtr { type sockaddr (line 621) | struct sockaddr type sockaddr (line 622) | struct sockaddr type sockaddr (line 623) | struct sockaddr type sockaddr (line 624) | struct sockaddr type sockaddr (line 625) | struct sockaddr type sockaddr (line 629) | struct sockaddr type msghdr (line 630) | struct msghdr type sockaddr (line 633) | struct sockaddr type msghdr (line 634) | struct msghdr type sf_hdtr (line 636) | struct sf_hdtr type socket (line 649) | struct socket type tcpcb (line 651) | struct tcpcb type socket (line 651) | struct socket type inpcb (line 652) | struct inpcb type socket (line 652) | struct socket type sockbuf (line 653) | struct sockbuf type socket (line 653) | struct socket type sockbuf (line 654) | struct sockbuf type socket (line 654) | struct socket type socket (line 656) | struct socket type socket (line 657) | struct socket type socket (line 659) | struct socket type socket (line 660) | struct socket type socket (line 662) | struct socket type socket (line 663) | struct socket type socket (line 665) | struct socket type socket (line 666) | struct socket type protosw (line 668) | struct protosw type socket (line 668) | struct socket type socket (line 669) | struct socket type protosw (line 669) | struct protosw type socket (line 671) | struct socket type socket (line 672) | struct socket type socket (line 674) | struct socket type socket (line 675) | struct socket type socket (line 677) | struct socket type socket (line 678) | struct socket type socket (line 680) | struct socket type socket (line 680) | struct socket FILE: pwnlib/data/includes/generator/freebsd/sys/stat.h type __blksize_t (line 46) | typedef __blksize_t blksize_t; type __blkcnt_t (line 51) | typedef __blkcnt_t blkcnt_t; type __dev_t (line 56) | typedef __dev_t dev_t; type __fflags_t (line 61) | typedef __fflags_t fflags_t; type __gid_t (line 66) | typedef __gid_t gid_t; type __ino_t (line 71) | typedef __ino_t ino_t; type __mode_t (line 76) | typedef __mode_t mode_t; type __nlink_t (line 81) | typedef __nlink_t nlink_t; type __off_t (line 86) | typedef __off_t off_t; type __uid_t (line 91) | typedef __uid_t uid_t; type ostat (line 103) | struct ostat { type stat (line 122) | struct stat { type nstat (line 153) | struct nstat { type stat (line 307) | struct stat type stat (line 313) | struct stat type stat (line 321) | struct stat type stat (line 324) | struct stat FILE: pwnlib/data/includes/generator/linux/diet/asm/aarch64-sigcontext.h type sigcontext (line 1) | struct sigcontext { FILE: pwnlib/data/includes/generator/linux/diet/asm/alpha-sigcontext.h type sigcontext (line 1) | struct sigcontext { FILE: pwnlib/data/includes/generator/linux/diet/asm/arm-sigcontext.h type sigcontext (line 9) | struct sigcontext { FILE: pwnlib/data/includes/generator/linux/diet/asm/i386-sigcontext.h type _fpreg (line 3) | struct _fpreg { type _fpxreg (line 8) | struct _fpxreg { type _xmmreg (line 14) | struct _xmmreg { type _fpstate (line 18) | struct _fpstate { type sigcontext (line 43) | struct sigcontext { FILE: pwnlib/data/includes/generator/linux/diet/asm/ia64-sigcontext.h type sigcontext (line 7) | struct sigcontext { FILE: pwnlib/data/includes/generator/linux/diet/asm/mips-sigcontext.h type sigcontext (line 7) | struct sigcontext { type sigcontext (line 26) | struct sigcontext { FILE: pwnlib/data/includes/generator/linux/diet/asm/parisc-sigcontext.h type sigcontext (line 7) | struct sigcontext { FILE: pwnlib/data/includes/generator/linux/diet/asm/ppc-sigcontext.h type pt_regs (line 5) | struct pt_regs { type sigcontext (line 73) | struct sigcontext { FILE: pwnlib/data/includes/generator/linux/diet/asm/s390-sigcontext.h type _psw_t (line 14) | typedef struct type _s390_regs_common (line 20) | typedef struct type _s390_fp_regs (line 27) | typedef struct type _sigregs (line 33) | typedef struct type sigcontext (line 39) | struct sigcontext FILE: pwnlib/data/includes/generator/linux/diet/asm/sparc-sigcontext.h type sigcontext (line 5) | struct sigcontext { type __siginfo_t (line 30) | typedef struct { type __siginfo_fpu_t (line 41) | typedef struct { FILE: pwnlib/data/includes/generator/linux/diet/asm/types.h type umode_t (line 10) | typedef uint32_t umode_t; type umode_t (line 12) | typedef uint16_t umode_t; type __u8 (line 15) | typedef uint8_t __u8; type __u16 (line 16) | typedef uint16_t __u16; type __u32 (line 17) | typedef uint32_t __u32; type __u64 (line 19) | typedef uint64_t __u64; type __s8 (line 22) | typedef int8_t __s8; type __s16 (line 23) | typedef int16_t __s16; type __s32 (line 24) | typedef int32_t __s32; type __s64 (line 26) | typedef int64_t __s64; type __kernel_size_t (line 30) | typedef unsigned long __kernel_size_t; type __kernel_size_t (line 32) | typedef uint32_t __kernel_size_t; type __le16 (line 36) | typedef uint16_t __le16; type __be16 (line 37) | typedef uint16_t __be16; type __le32 (line 38) | typedef uint32_t __le32; type __be32 (line 39) | typedef uint32_t __be32; type __le64 (line 40) | typedef uint64_t __le64; type __be64 (line 41) | typedef uint64_t __be64; type __sum16 (line 43) | typedef uint16_t __sum16; type __wsum (line 44) | typedef uint32_t __wsum; type __kernel_sa_family_t (line 46) | typedef uint16_t __kernel_sa_family_t; FILE: pwnlib/data/includes/generator/linux/diet/asm/x86_64-sigcontext.h type _fpstate (line 6) | struct _fpstate { type sigcontext (line 20) | struct sigcontext { // ofs ofs-x32 FILE: pwnlib/data/includes/generator/linux/diet/fcntl.h type flock (line 84) | struct flock { type flock64 (line 92) | struct flock64 { type flock (line 165) | struct flock { type flock (line 251) | struct flock { type flock64 (line 260) | struct flock64 { type flock (line 268) | struct flock { type flock (line 347) | struct flock { type flock64 (line 359) | struct flock64 { type flock (line 439) | struct flock { type flock64 (line 447) | struct flock64 { type flock (line 535) | struct flock { type flock64 (line 543) | struct flock64 { type flock (line 626) | struct flock type flock64 (line 635) | struct flock64 type stat64 (line 693) | struct stat64 type iovec (line 725) | struct iovec type f_owner_ex (line 758) | struct f_owner_ex { type timeval (line 774) | struct timeval FILE: pwnlib/data/includes/generator/linux/diet/inttypes.h type intmax_t (line 258) | typedef signed long intmax_t; type uintmax_t (line 259) | typedef unsigned long uintmax_t; type intmax_t (line 263) | __extension__ typedef signed long long int intmax_t; type uintmax_t (line 264) | __extension__ typedef unsigned long long int uintmax_t; type __INTPTR_TYPE__ (line 268) | typedef __INTPTR_TYPE__ intptr_t; type __UINTPTR_TYPE__ (line 269) | typedef __UINTPTR_TYPE__ uintptr_t; type __SIZE_TYPE__ (line 271) | typedef __SIZE_TYPE__ uintptr_t; type __PTRDIFF_TYPE__ (line 272) | typedef __PTRDIFF_TYPE__ intptr_t; type imaxdiv_t (line 279) | typedef struct { intmax_t quot,rem; } imaxdiv_t; FILE: pwnlib/data/includes/generator/linux/diet/signal.h type sig_atomic_t (line 217) | typedef int sig_atomic_t; type sighandler_t (line 222) | typedef sighandler_t sig_t; type sighandler_t (line 226) | typedef sighandler_t __sighandler_t; type sigval_t (line 233) | typedef union sigval { type __band_t (line 246) | typedef int32_t __band_t; type __band_t (line 248) | typedef long __band_t; type siginfo_t (line 251) | typedef struct siginfo { type sigset_t (line 430) | typedef struct { type sigaction (line 434) | struct sigaction { type sigevent_t (line 476) | typedef struct sigevent { type stack_t (line 495) | typedef struct sigaltstack { type sigaltstack (line 507) | struct sigaltstack type sigaltstack (line 507) | struct sigaltstack type sigaction (line 529) | struct sigaction type sigaction (line 529) | struct sigaction type timespec (line 533) | struct timespec FILE: pwnlib/data/includes/generator/linux/diet/stddef.h type __PTRDIFF_TYPE__ (line 11) | typedef __PTRDIFF_TYPE__ ptrdiff_t; type __SIZE_TYPE__ (line 12) | typedef __SIZE_TYPE__ size_t; type __WCHAR_TYPE__ (line 14) | typedef __WCHAR_TYPE__ wchar_t; type wchar_t (line 19) | typedef int wchar_t; FILE: pwnlib/data/includes/generator/linux/diet/stdint.h type int_least16_t (line 10) | typedef int16_t int_least16_t; type int_least32_t (line 11) | typedef int32_t int_least32_t; type int_least64_t (line 12) | typedef int64_t int_least64_t; type uint_least8_t (line 14) | typedef uint8_t uint_least8_t; type uint_least16_t (line 15) | typedef uint16_t uint_least16_t; type uint_least32_t (line 16) | typedef uint32_t uint_least32_t; type uint_least64_t (line 17) | typedef uint64_t uint_least64_t; type int_fast8_t (line 19) | typedef signed char int_fast8_t; type int_fast16_t (line 20) | typedef signed long int int_fast16_t; type int_fast32_t (line 21) | typedef signed long int int_fast32_t; type int_fast64_t (line 22) | typedef int64_t int_fast64_t; type uint_fast8_t (line 24) | typedef unsigned char uint_fast8_t; type uint_fast16_t (line 25) | typedef unsigned long int uint_fast16_t; type uint_fast32_t (line 26) | typedef unsigned long int uint_fast32_t; type uint_fast64_t (line 27) | typedef uint64_t uint_fast64_t; type __WINT_TYPE__ (line 149) | typedef __WINT_TYPE__ wint_t; type wint_t (line 151) | typedef unsigned int wint_t; FILE: pwnlib/data/includes/generator/linux/diet/sys/ptrace.h type pt_regs (line 92) | struct pt_regs { type pt_regs (line 125) | struct pt_regs { type psw_t (line 244) | typedef struct { type freg_t (line 249) | typedef union type s390_fp_regs (line 261) | typedef struct type s390_regs (line 273) | typedef struct type pt_regs (line 281) | struct pt_regs type per_cr_words (line 291) | typedef struct type addr_t (line 298) | typedef uint32_t addr_t; type per_cr_bits (line 300) | typedef struct type per_lowcore_words (line 320) | typedef struct type per_lowcore_bits (line 327) | typedef struct type per_struct (line 346) | typedef struct type ptrace_area (line 372) | typedef struct type ptprot_flags (line 395) | typedef enum type ptprot_area (line 402) | typedef struct type user_regs_struct (line 419) | struct user_regs_struct type pt_regs (line 460) | struct pt_regs { type pt_regs (line 519) | struct pt_regs { type fpsimd_state (line 526) | struct fpsimd_state { type hwdebug_state (line 532) | struct hwdebug_state { type pt_regs (line 544) | struct pt_regs { type switch_stack (line 578) | struct switch_stack { type pt_regs (line 605) | struct pt_regs { type pt_regs (line 631) | struct pt_regs { type pt_regs (line 648) | struct pt_regs { type reg_window (line 678) | struct reg_window { type sparc_stackf (line 684) | struct sparc_stackf { type pt_regs (line 790) | struct pt_regs { type ia64_fpreg (line 814) | struct ia64_fpreg { type pt_regs (line 820) | struct pt_regs { type switch_stack (line 869) | struct switch_stack { FILE: pwnlib/data/includes/generator/linux/diet/sys/select.h type fd_set (line 17) | typedef struct { type timeval (line 27) | struct timeval type timespec (line 30) | struct timespec FILE: pwnlib/data/includes/generator/linux/diet/sys/socket.h type sockaddr (line 388) | struct sockaddr { type linger (line 393) | struct linger { type msghdr (line 398) | struct msghdr { type cmsghdr (line 408) | struct cmsghdr { type ucred (line 423) | struct ucred { type cmsghdr (line 610) | struct cmsghdr type cmsghdr (line 610) | struct cmsghdr type cmsghdr (line 612) | struct cmsghdr type cmsghdr (line 613) | struct cmsghdr type cmsghdr (line 615) | struct cmsghdr type cmsghdr (line 619) | struct cmsghdr type msghdr (line 619) | struct msghdr type cmsghdr (line 619) | struct cmsghdr type sockaddr_storage (line 633) | struct sockaddr_storage { type sockaddr (line 640) | struct sockaddr type sockaddr (line 641) | struct sockaddr type sockaddr (line 642) | struct sockaddr type sockaddr (line 646) | struct sockaddr type msghdr (line 648) | struct msghdr type sockaddr (line 652) | struct sockaddr type msghdr (line 654) | struct msghdr type sockaddr (line 656) | struct sockaddr type sockaddr (line 657) | struct sockaddr type mmsghdr (line 672) | struct mmsghdr { type mmsghdr (line 677) | struct mmsghdr type timespec (line 678) | struct timespec type mmsghdr (line 679) | struct mmsghdr type addrinfo (line 691) | struct addrinfo { type sockaddr (line 703) | struct sockaddr type addrinfo (line 705) | struct type addrinfo (line 706) | struct addrinfo type addrinfo (line 707) | struct addrinfo FILE: pwnlib/data/includes/generator/linux/diet/sys/stat.h type stat (line 12) | struct stat { type stat64 (line 33) | struct stat64 { type stat (line 67) | struct stat { type stat64 (line 84) | struct stat64 { type stat (line 95) | struct stat { type stat64 (line 115) | struct stat64 { type stat (line 142) | struct stat { type stat64 (line 160) | struct stat64 { type stat (line 186) | struct stat { type stat64 (line 210) | struct stat64 { type stat (line 234) | struct stat { type stat64 (line 262) | struct stat64 { type stat (line 290) | struct stat { type stat (line 311) | struct stat { type stat64 (line 336) | struct stat64 { type stat (line 359) | struct stat { type stat64 (line 383) | struct stat64 { type stat (line 416) | struct stat { type stat64 (line 439) | struct stat64 { type stat (line 464) | struct stat { type stat (line 485) | struct stat { type stat64 (line 508) | struct stat64 { type stat (line 535) | struct stat { type stat64 (line 566) | struct stat64 { type stat (line 592) | struct stat { type stat (line 617) | struct stat { type stat (line 633) | struct stat { type stat (line 691) | struct stat type stat (line 692) | struct stat type stat (line 693) | struct stat type stat64 (line 698) | struct stat64 type stat64 (line 699) | struct stat64 type stat64 (line 700) | struct stat64 type stat (line 730) | struct stat type timespec (line 734) | struct timespec FILE: pwnlib/data/includes/generator/linux/diet/sys/time.h function __BEGIN_DECLS (line 7) | __BEGIN_DECLS type timeval (line 14) | struct timeval { type timezone (line 19) | struct timezone { type itimerspec (line 30) | struct itimerspec { type itimerval (line 35) | struct itimerval { type timezone (line 41) | struct timezone type itimerval (line 46) | struct itimerval type itimerval (line 47) | struct itimerval type itimerval (line 47) | struct itimerval type timeval (line 49) | struct timeval type timezone (line 49) | struct timezone type timeval (line 50) | struct timeval type timezone (line 50) | struct timezone function adjtime (line 52) | extern int adjtime (const struct timeval *delta, struct timeval *olddelt... type timeval (line 78) | struct timeval FILE: pwnlib/data/includes/generator/linux/diet/sys/types.h type blksize_t (line 10) | typedef unsigned long int blksize_t; type clock_t (line 11) | typedef unsigned long int clock_t; type fsblkcnt_t (line 15) | typedef uint64_t fsblkcnt_t; type fsfilcnt_t (line 16) | typedef uint64_t fsfilcnt_t; type dev_t (line 42) | typedef uint32_t dev_t; type gid_t (line 43) | typedef uint32_t gid_t; type mode_t (line 44) | typedef uint32_t mode_t; type nlink_t (line 45) | typedef uint32_t nlink_t; type uid_t (line 46) | typedef uint32_t uid_t; type dev_t (line 48) | typedef uint32_t dev_t; type gid_t (line 49) | typedef uint16_t gid_t; type mode_t (line 50) | typedef uint16_t mode_t; type nlink_t (line 51) | typedef uint16_t nlink_t; type uid_t (line 52) | typedef uint16_t uid_t; type dev_t (line 54) | typedef uint32_t dev_t; type gid_t (line 55) | typedef uint32_t gid_t; type mode_t (line 56) | typedef uint16_t mode_t; type nlink_t (line 57) | typedef uint16_t nlink_t; type uid_t (line 58) | typedef uint32_t uid_t; type dev_t (line 60) | typedef uint32_t dev_t; type gid_t (line 61) | typedef int32_t gid_t; type mode_t (line 62) | typedef uint32_t mode_t; type nlink_t (line 63) | typedef int32_t nlink_t; type uid_t (line 64) | typedef int32_t uid_t; type dev_t (line 66) | typedef uint32_t dev_t; type gid_t (line 67) | typedef uint32_t gid_t; type mode_t (line 68) | typedef uint32_t mode_t; type nlink_t (line 69) | typedef uint16_t nlink_t; type uid_t (line 70) | typedef uint32_t uid_t; type dev_t (line 72) | typedef unsigned long dev_t; type gid_t (line 73) | typedef uint32_t gid_t; type mode_t (line 74) | typedef uint32_t mode_t; type nlink_t (line 75) | typedef unsigned long nlink_t; type uid_t (line 76) | typedef uint32_t uid_t; type id_t (line 79) | typedef int32_t id_t; type ino_t (line 82) | typedef unsigned long ino_t; type key_t (line 83) | typedef int32_t key_t; type pid_t (line 84) | typedef int32_t pid_t; type __SIZE_TYPE__ (line 88) | typedef __SIZE_TYPE__ ssize_t; type suseconds_t (line 96) | typedef signed int suseconds_t; type useconds_t (line 97) | typedef signed int useconds_t; type suseconds_t (line 99) | typedef signed long suseconds_t; type useconds_t (line 100) | typedef signed long useconds_t; type time_t (line 103) | typedef signed long long time_t; type time_t (line 105) | typedef signed long time_t; type loff_t (line 109) | __extension__ typedef signed long long loff_t; type off64_t (line 111) | __extension__ typedef signed long long off64_t; type off64_t (line 113) | typedef off64_t off_t; type off64_t (line 117) | typedef off64_t off_t; type off_t (line 119) | typedef signed long off_t; type ino64_t (line 123) | __extension__ typedef unsigned long long ino64_t; type blkcnt64_t (line 124) | __extension__ typedef signed long long blkcnt64_t; type uid32_t (line 126) | typedef uint32_t uid32_t; type gid32_t (line 127) | typedef uint32_t gid32_t; type clockid_t (line 129) | typedef int32_t clockid_t; type timer_t (line 130) | typedef int32_t timer_t; type fpos_t (line 132) | typedef long int fpos_t; type socklen_t (line 135) | typedef uint32_t socklen_t; type sa_family_t (line 136) | typedef uint16_t sa_family_t; type __attribute_dontuse__ (line 142) | typedef unsigned char u_char __attribute_dontuse__; type __attribute_dontuse__ (line 143) | typedef unsigned short u_short __attribute_dontuse__; type __attribute_dontuse__ (line 144) | typedef unsigned int u_int __attribute_dontuse__; type __attribute_dontuse__ (line 145) | typedef unsigned char uchar __attribute_dontuse__; type __attribute_dontuse__ (line 146) | typedef unsigned short ushort __attribute_dontuse__; type __attribute_dontuse__ (line 147) | typedef unsigned int uint __attribute_dontuse__; type __attribute_dontuse__ (line 148) | typedef unsigned long u_long __attribute_dontuse__; type __attribute_dontuse__ (line 149) | typedef uint32_t n_long __attribute_dontuse__; type __attribute_dontuse__ (line 150) | typedef uint32_t n_time __attribute_dontuse__; type __attribute_dontuse__ (line 151) | typedef uint16_t n_short __attribute_dontuse__; type __attribute_dontuse__ (line 152) | typedef unsigned long ulong __attribute_dontuse__; type __attribute_dontuse__ (line 153) | typedef uint32_t nlong __attribute_dontuse__; type __attribute_dontuse__ (line 154) | typedef uint32_t ntime __attribute_dontuse__; type __attribute_dontuse__ (line 155) | typedef uint16_t nshort __attribute_dontuse__; type __attribute_dontuse__ (line 159) | typedef int64_t quad_t __attribute_dontuse__; type __attribute_dontuse__ (line 160) | typedef uint64_t u_quad_t __attribute_dontuse__; type __attribute_dontuse__ (line 162) | typedef long daddr_t __attribute_dontuse__; type daddr_t (line 164) | typedef daddr_t __daddr_t __attribute_dontuse__; type __attribute_dontuse__ (line 168) | typedef uint8_t u_int8_t __attribute_dontuse__; type __attribute_dontuse__ (line 169) | typedef uint16_t u_int16_t __attribute_dontuse__; type __attribute_dontuse__ (line 170) | typedef uint32_t u_int32_t __attribute_dontuse__; type __attribute_dontuse__ (line 172) | typedef uint64_t u_int64_t __attribute_dontuse__; FILE: pwnlib/data/includes/generator/linux/diet/sys/ucontext.h type mcontext_t (line 10) | typedef struct sigcontext mcontext_t; type ucontext (line 14) | struct ucontext { type ucontext (line 25) | struct ucontext { type mc_greg_t (line 56) | typedef unsigned long mc_greg_t; type mc_greg_t (line 57) | typedef mc_greg_t mc_gregset_t[MC_NGREG]; type mc_fq (line 60) | struct mc_fq { type mc_fpu_t (line 65) | typedef struct mc_fpu { type mcontext_t (line 80) | typedef struct { type ucontext (line 87) | struct ucontext { type ucontext (line 96) | struct ucontext { type ucontext (line 104) | struct ucontext { type ucontext (line 114) | struct ucontext { type ucontext_t (line 126) | typedef struct ucontext ucontext_t; FILE: pwnlib/data/includes/generator/linux/diet/sys/uio.h function __BEGIN_DECLS (line 6) | __BEGIN_DECLS type iovec (line 14) | struct iovec type iovec (line 15) | struct iovec type iovec (line 17) | struct iovec type iovec (line 18) | struct iovec FILE: pwnlib/data/includes/generator/linux/diet/unistd.h type dirent (line 156) | struct dirent type dirent64 (line 157) | struct dirent64 type dirent (line 160) | struct dirent type dirent64 (line 163) | struct dirent64 type __sysctl_args (line 322) | struct __sysctl_args type __sysctl_args (line 323) | struct __sysctl_args FILE: pwnlib/data/syscalls/generate.py function can_be_constant (line 128) | def can_be_constant(arg): function can_be_string (line 133) | def can_be_string(arg): function can_be_array (line 140) | def can_be_array(arg): function fix_bad_arg_names (line 147) | def fix_bad_arg_names(func, arg): function get_arg_default (line 160) | def get_arg_default(arg): function fix_rt_syscall_name (line 164) | def fix_rt_syscall_name(name): function fix_syscall_names (line 170) | def fix_syscall_names(name): function main (line 180) | def main(target): function generate_one (line 186) | def generate_one(target): FILE: pwnlib/data/useragents/download-useragents.py function getxml (line 16) | def getxml(url): function loop (line 27) | def loop(xml): FILE: pwnlib/device.py class Device (line 1) | class Device(object): method __init__ (line 8) | def __init__(self, serial=None): method __str__ (line 11) | def __str__(self): method __eq__ (line 14) | def __eq__(self, other): FILE: pwnlib/dynelf.py function sysv_hash (line 67) | def sysv_hash(symbol): function gnu_hash (line 81) | def gnu_hash(s): class DynELF (line 92) | class DynELF(object): method __init__ (line 146) | def __init__(self, leak, pointer=None, elf=None, libcdb=True): method for_one_lib_only (line 200) | def for_one_lib_only(cls, leak, ptr): method from_lib_ptr (line 204) | def from_lib_ptr(cls, leak, ptr): method find_base (line 208) | def find_base(leak, ptr): method elfclass (line 215) | def elfclass(self): method elftype (line 224) | def elftype(self): method link_map (line 240) | def link_map(self): method dynamic (line 247) | def dynamic(self): method _find_base (line 256) | def _find_base(self, ptr): method _find_base_optimized (line 289) | def _find_base_optimized(self, ptr): method _find_dynamic_phdr (line 317) | def _find_dynamic_phdr(self): method _find_dt_optimized (line 352) | def _find_dt_optimized(self, name): method _find_dt (line 373) | def _find_dt(self, tag): method _find_linkmap (line 413) | def _find_linkmap(self, pltgot=None, debug=None): method waitfor (line 457) | def waitfor(self, msg): method failure (line 464) | def failure(self, msg): method success (line 471) | def success(self, msg): method status (line 478) | def status(self, msg): method libc (line 485) | def libc(self): method lookup (line 515) | def lookup (self, symb = None, lib = None): method bases (line 591) | def bases(self): method _dynamic_load_dynelf (line 622) | def _dynamic_load_dynelf(self, libname): method _rel_lookup (line 668) | def _rel_lookup(self, symb, strtab=None, symtab=None, jmprel=None): method _lookup (line 724) | def _lookup(self, symb): method _resolve_symbol_sysv (line 790) | def _resolve_symbol_sysv(self, libbase, symb, hshtab, strtab, symtab): method _resolve_symbol_gnu (line 850) | def _resolve_symbol_gnu(self, libbase, symb, hshtab, strtab, symtab): method _lookup_build_id (line 931) | def _lookup_build_id(self, lib = None): method _make_absolute_ptr (line 953) | def _make_absolute_ptr(self, ptr_or_offset): method stack (line 976) | def stack(self): method heap (line 996) | def heap(self): method _find_mapped_pages (line 1007) | def _find_mapped_pages(self, readonly = False, page_size = 0x1000): method dump (line 1035) | def dump(self, libs = False, readonly = False): FILE: pwnlib/elf/config.py class KernelConfig (line 4) | class KernelConfig(object): method __init__ (line 5) | def __init__(self, name, title, requires=[], excludes=[], minver=0, ma... method relevant (line 25) | def relevant(self, config): method check (line 53) | def check(self, value): method __call__ (line 56) | def __call__(self, config): class Enabled (line 73) | class Enabled(KernelConfig): method __init__ (line 74) | def __init__(self, name, **kw): method check (line 76) | def check(self, config): class EnabledIfPresent (line 79) | class EnabledIfPresent(Enabled): method check (line 80) | def check(self, config): class Disabled (line 85) | class Disabled(KernelConfig): method __init__ (line 86) | def __init__(self, name, **kw): method check (line 88) | def check(self, config): class Minimum (line 91) | class Minimum(KernelConfig): method __init__ (line 92) | def __init__(self, name, minimum, **kw): method check (line 95) | def check(self, value): function parse_kconfig (line 196) | def parse_kconfig(data): FILE: pwnlib/elf/corefile.py class Mapping (line 111) | class Mapping(object): method __init__ (line 114) | def __init__(self, core, name, start, stop, flags, page_offset): method path (line 136) | def path(self): method address (line 141) | def address(self): method permstr (line 146) | def permstr(self): method __str__ (line 153) | def __str__(self): method __repr__ (line 156) | def __repr__(self): method __int__ (line 166) | def __int__(self): method data (line 170) | def data(self): method __getitem__ (line 174) | def __getitem__(self, item): method __contains__ (line 197) | def __contains__(self, item): method find (line 202) | def find(self, sub, start=None, end=None): method rfind (line 216) | def rfind(self, sub, start=None, end=None): class Corefile (line 230) | class Corefile(ELF): method __init__ (line 523) | def __init__(self, *a, **kw): method _parse_nt_file (line 660) | def _parse_nt_file(self, note): method vvar (line 698) | def vvar(self): method vdso (line 705) | def vdso(self): method vsyscall (line 712) | def vsyscall(self): method libc (line 719) | def libc(self): method exe (line 733) | def exe(self): method pid (line 761) | def pid(self): method ppid (line 767) | def ppid(self): method signal (line 773) | def signal(self): method fault_addr (line 796) | def fault_addr(self): method _pc_register (line 845) | def _pc_register(self): method pc (line 853) | def pc(self): method _sp_register (line 861) | def _sp_register(self): method sp (line 869) | def sp(self): method _describe (line 876) | def _describe(self): method _describe_core (line 879) | def _describe_core(self): method _load_mappings (line 901) | def _load_mappings(self): method _parse_auxv (line 914) | def _parse_auxv(self, note): method _parse_stack (line 947) | def _parse_stack(self): method maps (line 1062) | def maps(self): method getenv (line 1086) | def getenv(self, name): method registers (line 1113) | def registers(self): method debug (line 1140) | def debug(self): method __getattr__ (line 1145) | def __getattr__(self, attribute): method _populate_got (line 1155) | def _populate_got(*a): pass method _populate_plt (line 1156) | def _populate_plt(*a): pass class Core (line 1158) | class Core(Corefile): class Coredump (line 1161) | class Coredump(Corefile): class CorefileFinder (line 1164) | class CorefileFinder(object): method __init__ (line 1165) | def __init__(self, proc): method load_core_check_pid (line 1242) | def load_core_check_pid(self): method apport_corefile (line 1266) | def apport_corefile(self): method apport_crash_extract_corefile (line 1282) | def apport_crash_extract_corefile(self, crashfile_data): method apport_read_crash_data (line 1327) | def apport_read_crash_data(self): method systemd_coredump_corefile (line 1356) | def systemd_coredump_corefile(self): method wsl_capture_crash_corefile (line 1383) | def wsl_capture_crash_corefile(self): method native_corefile (line 1415) | def native_corefile(self): method native_corefile_pipe (line 1431) | def native_corefile_pipe(self): method native_corefile_pattern (line 1470) | def native_corefile_pattern(self): method qemu_corefile (line 1521) | def qemu_corefile(self): method apport_coredump (line 1549) | def apport_coredump(self): method binfmt_lookup (line 1596) | def binfmt_lookup(self): FILE: pwnlib/elf/datatypes.py class constants (line 84) | class constants: class Elf32_Ehdr (line 288) | class Elf32_Ehdr(ctypes.Structure): class Elf64_Ehdr (line 304) | class Elf64_Ehdr(ctypes.Structure): class Elf32_Phdr (line 320) | class Elf32_Phdr(ctypes.Structure): class Elf64_Phdr (line 330) | class Elf64_Phdr(ctypes.Structure): class Elf32_Shdr (line 340) | class Elf32_Shdr(ctypes.Structure): class Elf64_Shdr (line 352) | class Elf64_Shdr(ctypes.Structure): class _U__Elf32_Dyn (line 364) | class _U__Elf32_Dyn(ctypes.Union): class Elf32_Dyn (line 368) | class Elf32_Dyn(ctypes.Structure): class _U__Elf64_Dyn (line 373) | class _U__Elf64_Dyn(ctypes.Union): class Elf64_Dyn (line 377) | class Elf64_Dyn(ctypes.Structure): class Elf32_Sym (line 382) | class Elf32_Sym(ctypes.Structure): class Elf64_Sym (line 390) | class Elf64_Sym(ctypes.Structure): class Elf64_Rel (line 398) | class Elf64_Rel(ctypes.Structure): class Elf32_Rel (line 403) | class Elf32_Rel(ctypes.Structure): class Elf32_Link_Map (line 407) | class Elf32_Link_Map(ctypes.Structure): class Elf64_Link_Map (line 414) | class Elf64_Link_Map(ctypes.Structure): class Elf_eident (line 438) | class Elf_eident(ctypes.Structure): class Elf_i386_GOT (line 447) | class Elf_i386_GOT(ctypes.Structure): class Elf_x86_64_GOT (line 451) | class Elf_x86_64_GOT(ctypes.Structure): class Elf_HashTable (line 456) | class Elf_HashTable(ctypes.Structure): class GNU_HASH (line 463) | class GNU_HASH(ctypes.Structure): class Elf32_r_debug (line 469) | class Elf32_r_debug(ctypes.Structure): class Elf64_r_debug (line 473) | class Elf64_r_debug(ctypes.Structure): class elf_siginfo (line 482) | class elf_siginfo(ctypes.Structure): class timeval32 (line 487) | class timeval32(ctypes.Structure): class timeval64 (line 491) | class timeval64(ctypes.Structure): function generate_prstatus_common (line 496) | def generate_prstatus_common(size, regtype): class user_regs_struct_i386 (line 517) | class user_regs_struct_i386(ctypes.Structure): class user_regs_struct_amd64 (line 543) | class user_regs_struct_amd64(ctypes.Structure): class user_regs_struct_arm (line 576) | class user_regs_struct_arm(ctypes.Structure): method cpsr (line 580) | def cpsr(self): method pc (line 583) | def pc(self): method lr (line 586) | def lr(self): method sp (line 589) | def sp(self): method ip (line 592) | def ip(self): method fp (line 595) | def fp(self): class user_regs_struct_aarch64 (line 599) | class user_regs_struct_aarch64(ctypes.Structure): method lr (line 606) | def lr(self): method __getattr__ (line 609) | def __getattr__(self, name): class elf_prstatus_i386 (line 615) | class elf_prstatus_i386(ctypes.Structure): class elf_prstatus_amd64 (line 620) | class elf_prstatus_amd64(ctypes.Structure): class elf_prstatus_arm (line 626) | class elf_prstatus_arm(ctypes.Structure): class elf_prstatus_aarch64 (line 629) | class elf_prstatus_aarch64(ctypes.Structure): class Elf32_auxv_t (line 632) | class Elf32_auxv_t(ctypes.Structure): class Elf64_auxv_t (line 635) | class Elf64_auxv_t(ctypes.Structure): function generate_siginfo (line 639) | def generate_siginfo(int_t, long_t): class elf_siginfo_32 (line 648) | class elf_siginfo_32(generate_siginfo(ctypes.c_uint32, ctypes.c_uint32)): class elf_siginfo_64 (line 651) | class elf_siginfo_64(generate_siginfo(ctypes.c_uint32, ctypes.c_uint64)): FILE: pwnlib/elf/elf.py function _iter_symbols (line 101) | def _iter_symbols(sec): class Function (line 107) | class Function(object): method __init__ (line 116) | def __init__(self, name, address, size, elf=None): method __repr__ (line 129) | def __repr__(self): method __flat__ (line 138) | def __flat__(self): method disasm (line 141) | def disasm(self): function load (line 144) | def load(*args, **kwargs): class dotdict (line 148) | class dotdict(dict): method __missing__ (line 168) | def __missing__(self, name): method __getattr__ (line 174) | def __getattr__(self, name): class ELF (line 186) | class ELF(ELFFile): method __init__ (line 222) | def __init__(self, path_or_bytes, checksec=True): method close (line 381) | def close(self): method from_assembly (line 391) | def from_assembly(assembly, *a, **kw): method from_bytes (line 415) | def from_bytes(bytes, *a, **kw): method process (line 435) | def process(self, argv=[], *a, **kw): method debug (line 455) | def debug(self, argv=[], *a, **kw): method _describe (line 471) | def _describe(self, *a, **kw): method get_machine_arch (line 482) | def get_machine_arch(self): method entry (line 503) | def entry(self): method elftype (line 510) | def elftype(self): method iter_segments (line 514) | def iter_segments(self): method segments (line 522) | def segments(self): method iter_segments_by_type (line 529) | def iter_segments_by_type(self, t): method iter_notes (line 538) | def iter_notes(self): method iter_properties (line 549) | def iter_properties(self): method get_segment_for_address (line 561) | def get_segment_for_address(self, address, size=1): method iter_sections (line 596) | def iter_sections(self): method sections (line 604) | def sections(self): method dwarf (line 612) | def dwarf(self): method sym (line 617) | def sym(self): method address (line 622) | def address(self): method address (line 651) | def address(self, new): method section (line 673) | def section(self, name): method rwx_segments (line 687) | def rwx_segments(self): method executable_segments (line 700) | def executable_segments(self): method writable_segments (line 712) | def writable_segments(self): method non_writable_segments (line 721) | def non_writable_segments(self): method libs (line 730) | def libs(self): method maps (line 751) | def maps(self): method libc (line 765) | def libc(self): method _populate_libraries (line 783) | def _populate_libraries(self): method _patch_elf_and_read_maps (line 818) | def _patch_elf_and_read_maps(self): method _populate_functions (line 935) | def _populate_functions(self): method _populate_symbols (line 956) | def _populate_symbols(self): method _populate_synthetic_symbols (line 973) | def _populate_synthetic_symbols(self): method _populate_got (line 1001) | def _populate_got(self): method _populate_mips_got (line 1055) | def _populate_mips_got(self): method _populate_plt (line 1094) | def _populate_plt(self): method _populate_kernel_version (line 1147) | def _populate_kernel_version(self): method libc_start_main_return (line 1168) | def libc_start_main_return(self): method search (line 1241) | def search(self, needle, writable = False, executable = False): method offset_to_vaddr (line 1358) | def offset_to_vaddr(self, offset): method _populate_memory (line 1394) | def _populate_memory(self): method vaddr_to_offset (line 1442) | def vaddr_to_offset(self, address): method read (line 1478) | def read(self, address, count): method write (line 1594) | def write(self, address, data): method save (line 1622) | def save(self, path=None): method get_data (line 1636) | def get_data(self): method data (line 1649) | def data(self): method disasm (line 1657) | def disasm(self, address, n_bytes): method asm (line 1669) | def asm(self, address, assembly): method bss (line 1681) | def bss(self, offset=0): method __repr__ (line 1691) | def __repr__(self): method dynamic_by_tag (line 1694) | def dynamic_by_tag(self, tag): method dynamic_value_by_tag (line 1716) | def dynamic_value_by_tag(self, tag): method dynamic_string (line 1728) | def dynamic_string(self, offset): method relro (line 1754) | def relro(self): method nx (line 1822) | def nx(self): method execstack (line 2051) | def execstack(self): method canary (line 2106) | def canary(self): method packed (line 2114) | def packed(self): method stripped (line 2119) | def stripped(self): method debuginfo (line 2124) | def debuginfo(self): method pie (line 2129) | def pie(self): method rpath (line 2135) | def rpath(self): method runpath (line 2145) | def runpath(self): method checksec (line 2154) | def checksec(self, banner=True, color=True): method buildid (line 2264) | def buildid(self): method fortify (line 2272) | def fortify(self): method asan (line 2280) | def asan(self): method msan (line 2286) | def msan(self): method ubsan (line 2292) | def ubsan(self): method shadowstack (line 2298) | def shadowstack(self): method ibt (line 2310) | def ibt(self): method _update_args (line 2322) | def _update_args(self, kw): method p64 (line 2327) | def p64(self, address, data, *a, **kw): method p56 (line 2332) | def p56(self, address, data, *a, **kw): method p48 (line 2337) | def p48(self, address, data, *a, **kw): method p40 (line 2342) | def p40(self, address, data, *a, **kw): method p32 (line 2347) | def p32(self, address, data, *a, **kw): method p16 (line 2352) | def p16(self, address, data, *a, **kw): method p8 (line 2357) | def p8(self, address, data, *a, **kw): method pack (line 2362) | def pack(self, address, data, *a, **kw): method u64 (line 2367) | def u64(self, address, *a, **kw): method u56 (line 2372) | def u56(self, address, *a, **kw): method u48 (line 2377) | def u48(self, address, *a, **kw): method u40 (line 2382) | def u40(self, address, *a, **kw): method u32 (line 2387) | def u32(self, address, *a, **kw): method u16 (line 2392) | def u16(self, address, *a, **kw): method u8 (line 2397) | def u8(self, address, *a, **kw): method unpack (line 2402) | def unpack(self, address, *a, **kw): method string (line 2407) | def string(self, address): method flat (line 2436) | def flat(self, address, *a, **kw): method fit (line 2443) | def fit(self, address, *a, **kw): method parse_kconfig (line 2450) | def parse_kconfig(self, data): method disable_nx (line 2453) | def disable_nx(self): method set_runpath (line 2483) | def set_runpath(exepath, runpath): method set_interpreter (line 2518) | def set_interpreter(exepath, interpreter_path): method patch_custom_libraries (line 2552) | def patch_custom_libraries(exe_path, custom_library_path, create_copy=... FILE: pwnlib/elf/plt.py function emulate_plt_instructions (line 13) | def emulate_plt_instructions(elf, got, address, data, targets): function __ensure_memory_to_run_unicorn (line 56) | def __ensure_memory_to_run_unicorn(): function prepare_unicorn_and_context (line 77) | def prepare_unicorn_and_context(elf, got, address, data): function emulate_plt_instructions_inner (line 152) | def emulate_plt_instructions_inner(uc, elf, got, pc, data): FILE: pwnlib/encoders/amd64/delta.py class amd64DeltaEncoder (line 4) | class amd64DeltaEncoder(i386DeltaEncoder): FILE: pwnlib/encoders/arm/alphanumeric/ARM_Instructions.py function dpimm (line 22) | def dpimm(op, cond, s, d, n, imm): function dpshiftimm (line 48) | def dpshiftimm(op, s, d, n, a, imm): function dpshiftreg (line 67) | def dpshiftreg(op, s, d, n, a, shift, b): function lsbyte (line 90) | def lsbyte(op, cond, d, n, imm): function smul (line 109) | def smul(d, reglH, reglL): function lmul (line 114) | def lmul(n, reglH, reglL): function swi (line 119) | def swi(cond): function bmi (line 129) | def bmi(): function sbyteposti (line 134) | def sbyteposti(d, n, m, imm): FILE: pwnlib/encoders/arm/alphanumeric/__init__.py class ArmEncoder (line 13) | class ArmEncoder(Encoder): method __call__ (line 19) | def __call__(self, input, avoid, pcreg=None): class ThumbEncoder (line 45) | class ThumbEncoder(ArmEncoder): method __call__ (line 50) | def __call__(self, input, avoid, pcreg=None): FILE: pwnlib/encoders/arm/alphanumeric/alphanum_byte.py function alphanumeric_check (line 13) | def alphanumeric_check(c): function alphanumeric_get_byte (line 21) | def alphanumeric_get_byte(): function alphanumeric_get_byte_ltmax (line 27) | def alphanumeric_get_byte_ltmax(max): function off_gen (line 35) | def off_gen(c): function alphanumeric_get_complement (line 46) | def alphanumeric_get_complement(c): FILE: pwnlib/encoders/arm/alphanumeric/builder.py class builder (line 23) | class builder: method __init__ (line 25) | def __init__(self): method enc_data_builder (line 35) | def enc_data_builder(self, input): method DecoderLoopBuilder (line 57) | def DecoderLoopBuilder(self, icache_flush): method encDecoderLoopBuilder (line 135) | def encDecoderLoopBuilder(self, input): method DecoderBuilder (line 146) | def DecoderBuilder(self, input, icache_flush): method algo1 (line 242) | def algo1(self, input, begin_inp, iter): method gap_traverse (line 333) | def gap_traverse(self, gap): method buildInit (line 352) | def buildInit(self, input): method algo2 (line 415) | def algo2(self): FILE: pwnlib/encoders/arm/alphanumeric/random_funcs.py function random_get_int (line 14) | def random_get_int(maxv): function randel (line 18) | def randel(arr): function enc_data_msn (line 21) | def enc_data_msn(c, i): FILE: pwnlib/encoders/arm/xor.py class ArmXorEncoder (line 10) | class ArmXorEncoder(Encoder): method __call__ (line 47) | def __call__(self, raw_bytes, avoid, pcreg=''): FILE: pwnlib/encoders/encoder.py class Encoder (line 13) | class Encoder(object): method __init__ (line 22) | def __init__(self): method __call__ (line 29) | def __call__(self, raw_bytes, avoid, pcreg): function encode (line 45) | def encode(raw_bytes, avoid=None, expr=None, force=0, pcreg=''): function null (line 111) | def null(raw_bytes, *a, **kw): function line (line 122) | def line(raw_bytes, *a, **kw): function alphanumeric (line 133) | def alphanumeric(raw_bytes, *a, **kw): function printable (line 144) | def printable(raw_bytes, *a, **kw): function scramble (line 155) | def scramble(raw_bytes, *a, **kw): FILE: pwnlib/encoders/i386/ascii_shellcode.py class AsciiShellcodeEncoder (line 15) | class AsciiShellcodeEncoder(Encoder): method __init__ (line 26) | def __init__(self, slop=20, max_subs=4): method __call__ (line 47) | def __call__(self, raw_bytes, avoid=None, pcreg=None): method _get_allocator (line 113) | def _get_allocator(self, size, vocab): method _find_negatives (line 154) | def _find_negatives(self, vocab): method _get_subtractions (line 192) | def _get_subtractions(self, shellcode, vocab): method _calc_subtractions (line 229) | def _calc_subtractions(self, last, target, vocab): FILE: pwnlib/encoders/i386/delta.py class i386DeltaEncoder (line 33) | class i386DeltaEncoder(Encoder): method __call__ (line 54) | def __call__(self, raw_bytes, avoid, pcreg=''): FILE: pwnlib/encoders/i386/xor.py class i386XorEncoder (line 22) | class i386XorEncoder(Encoder): method __call__ (line 65) | def __call__(self, raw_bytes, avoid, pcreg=''): FILE: pwnlib/encoders/mips/xor.py class MipsXorEncoder (line 98) | class MipsXorEncoder(Encoder): method __call__ (line 115) | def __call__(self, raw_bytes, avoid, pcreg=''): FILE: pwnlib/exception.py class PwnlibException (line 6) | class PwnlibException(Exception): method __init__ (line 11) | def __init__(self, msg, reason = None, exit_code = None): method __repr__ (line 18) | def __repr__(self): FILE: pwnlib/filepointer.py function _update_var (line 72) | def _update_var(l): class IO_flags (line 100) | class IO_flags: class IO_flags2 (line 119) | class IO_flags2: class _FlagsUnionBase (line 127) | class _FlagsUnionBase(ctypes.Union): method __getattr__ (line 128) | def __getattr__(self, name): method __setattr__ (line 133) | def __setattr__(self, name, value): method __int__ (line 138) | def __int__(self): method __str__ (line 141) | def __str__(self): class _IOFileFlags_bits (line 145) | class _IOFileFlags_bits(ctypes.LittleEndianStructure): method __str__ (line 167) | def __str__(self): class _IOFileFlags (line 170) | class _IOFileFlags(_FlagsUnionBase): class _IOFileFlags2_bits (line 178) | class _IOFileFlags2_bits(ctypes.LittleEndianStructure): method __str__ (line 189) | def __str__(self): class _IOFileFlags2 (line 192) | class _IOFileFlags2(_FlagsUnionBase): class FileStructure (line 199) | class FileStructure(object): method __init__ (line 268) | def __init__(self, null=0): method __setattr__ (line 274) | def __setattr__(self,item,value): method __repr__ (line 286) | def __repr__(self): method __len__ (line 296) | def __len__(self): method __bytes__ (line 299) | def __bytes__(self): method struntil (line 309) | def struntil(self,v): method setdefault (line 339) | def setdefault(self,null): method write (line 372) | def write(self,addr=0,size=0): method read (line 400) | def read(self,addr=0,size=0): method orange (line 428) | def orange(self,io_list_all,vtable): FILE: pwnlib/filesystem/path.py function mktemp (line 6) | def mktemp(cls): function mkdtemp (line 10) | def mkdtemp(cls): FILE: pwnlib/filesystem/ssh.py class SSHPath (line 17) | class SSHPath(PosixPath): method __init__ (line 67) | def __init__(self, path, ssh=None): method _s (line 74) | def _s(self, other): method _new (line 82) | def _new(self, path, *a, **kw): method _run (line 87) | def _run(self, *a, **kw): method __str__ (line 92) | def __str__(self): method __fspath__ (line 95) | def __fspath__(self): method as_posix (line 98) | def as_posix(self): method __bytes__ (line 101) | def __bytes__(self): method __repr__ (line 104) | def __repr__(self): method as_uri (line 107) | def as_uri(self): method __eq__ (line 110) | def __eq__(self, other): method __hash__ (line 122) | def __hash__(*a, **kw): ""; raise NotImplementedError method __lt__ (line 123) | def __lt__(*a, **kw): ""; raise NotImplementedError method __le__ (line 124) | def __le__(*a, **kw): ""; raise NotImplementedError method __gt__ (line 125) | def __gt__(*a, **kw): ""; raise NotImplementedError method __ge__ (line 126) | def __ge__(*a, **kw): ""; raise NotImplementedError method anchor (line 129) | def anchor(self): method name (line 133) | def name(self): method suffix (line 143) | def suffix(self): method suffixes (line 155) | def suffixes(self): method stem (line 169) | def stem(self): method with_name (line 180) | def with_name(self, name): method with_stem (line 196) | def with_stem(self, name): method with_suffix (line 205) | def with_suffix(self, suffix): method relative_to (line 214) | def relative_to(self, *other): method is_relative_to (line 217) | def is_relative_to(self, *other): method parts (line 221) | def parts(self): method joinpath (line 230) | def joinpath(self, *args): method parent (line 244) | def parent(self): method parents (line 257) | def parents(self): method is_absolute (line 269) | def is_absolute(self): method is_reserved (line 282) | def is_reserved(self): method match (line 285) | def match(self, path_pattern): method cwd (line 291) | def cwd(self): method home (line 295) | def home(self): method samefile (line 305) | def samefile(self, other_path): method iterdir (line 322) | def iterdir(self): method glob (line 339) | def glob(self, pattern): method rglob (line 342) | def rglob(self, pattern): method absolute (line 345) | def absolute(self): method resolve (line 363) | def resolve(self, strict=False): method stat (line 397) | def stat(self): method owner (line 410) | def owner(self): method group (line 413) | def group(self): method open (line 416) | def open(self, *a, **kw): method read_bytes (line 431) | def read_bytes(self): method read_text (line 440) | def read_text(self): method write_bytes (line 449) | def write_bytes(self, data): method write_text (line 459) | def write_text(self, data): method readlink (line 472) | def readlink(self): method touch (line 478) | def touch(self): method mkdir (line 491) | def mkdir(self, mode=0o777, parents=False, exist_ok=True): method chmod (line 531) | def chmod(self, mode): method lchmod (line 544) | def lchmod(*a, **kw): method unlink (line 547) | def unlink(self, missing_ok=False): method rmdir (line 583) | def rmdir(self): method link_to (line 604) | def link_to(self, target): method symlink_to (line 607) | def symlink_to(self, target): method rename (line 629) | def rename(self, target): method replace (line 648) | def replace(self, target): method exists (line 667) | def exists(self): method is_dir (line 688) | def is_dir(self): method is_file (line 712) | def is_file(self): method is_symlink (line 736) | def is_symlink(self): method is_block_device (line 739) | def is_block_device(self): method is_char_device (line 742) | def is_char_device(self): method is_fifo (line 745) | def is_fifo(self): method is_socket (line 748) | def is_socket(self): method expanduser (line 751) | def expanduser(self): method mktemp (line 771) | def mktemp(cls): method mkdtemp (line 776) | def mkdtemp(self): FILE: pwnlib/flag/flag.py function submit_flag (line 18) | def submit_flag(flag, FILE: pwnlib/fmtstr.py function normalize_writes (line 127) | def normalize_writes(writes): class AtomWrite (line 163) | class AtomWrite(object): method __init__ (line 178) | def __init__(self, start, size, integer, mask=None): method __len__ (line 186) | def __len__(self): method __key (line 189) | def __key(self): method __eq__ (line 192) | def __eq__(self, other): method __ne__ (line 197) | def __ne__(self, other): method __hash__ (line 200) | def __hash__(self): method __repr__ (line 203) | def __repr__(self): method bitsize (line 207) | def bitsize(self): method end (line 211) | def end(self): method compute_padding (line 214) | def compute_padding(self, counter): method replace (line 237) | def replace(self, start=None, size=None, integer=None, mask=None): method union (line 247) | def union(self, other): method __getslice__ (line 266) | def __getslice__(self, i, j): method __getitem__ (line 269) | def __getitem__(self, i): function make_atoms_simple (line 285) | def make_atoms_simple(address, data, badbytes=frozenset()): function merge_atoms_writesize (line 328) | def merge_atoms_writesize(atoms, maxsize): function find_min_hamming_in_range_step (line 358) | def find_min_hamming_in_range_step(prev, step, carry, strict): function find_min_hamming_in_range (line 416) | def find_min_hamming_in_range(maxbytes, lower, upper, target): function merge_atoms_overlapping (line 468) | def merge_atoms_overlapping(atoms, sz, szmax, numbwritten, overflows): function overlapping_atoms (line 565) | def overlapping_atoms(atoms): class AtomQueue (line 595) | class AtomQueue(object): method __init__ (line 596) | def __init__(self, numbwritten): method add (line 601) | def add(self, atom): method pop (line 606) | def pop(self): function sort_atoms (line 629) | def sort_atoms(atoms, numbwritten): function make_payload_dollar (line 694) | def make_payload_dollar(data_offset, atoms, numbwritten=0, countersize=4... function make_atoms (line 787) | def make_atoms(writes, sz, szmax, numbwritten, overflows, strategy, badb... function fmtstr_split (line 819) | def fmtstr_split(offset, writes, numbwritten=0, write_size='byte', write... function fmtstr_payload (line 835) | def fmtstr_payload(offset, writes, numbwritten=0, write_size='byte', wri... class FmtStr (line 912) | class FmtStr(object): method __init__ (line 933) | def __init__(self, execute_fmt, offset=None, padlen=0, numbwritten=0, ... method leak_stack (line 948) | def leak_stack(self, offset, prefix=b""): method find_offset (line 964) | def find_offset(self): method _leaker (line 977) | def _leaker(self, addr): method execute_writes (line 1015) | def execute_writes(self): method write (line 1029) | def write(self, addr, data): FILE: pwnlib/gdb.py function debug_assembly (line 169) | def debug_assembly(asm, gdbscript=None, vma=None, api=False): function debug_shellcode (line 208) | def debug_shellcode(data, gdbscript=None, vma=None, api=False): function _execve_script (line 244) | def _execve_script(argv, executable, env, ssh, preexec_fn, preexec_args): function _gdbserver_args (line 283) | def _gdbserver_args(pid=None, path=None, port=0, gdbserver_args=None, ar... function _gdbserver_port (line 359) | def _gdbserver_port(gdbserver, ssh): function _get_which (line 408) | def _get_which(ssh=None): function _get_runner (line 413) | def _get_runner(ssh=None): function debug (line 419) | def debug(args, gdbscript=None, gdb_args=None, exe=None, ssh=None, env=N... function get_gdb_arch (line 740) | def get_gdb_arch(): function binary (line 753) | def binary(): class Breakpoint (line 786) | class Breakpoint: method __init__ (line 793) | def __init__(self, conn, *args, **kwargs): method _server_set_breakpoint (line 802) | def _server_set_breakpoint(self, *args, **kwargs): method __getattr__ (line 806) | def __getattr__(self, item): method __setattr__ (line 821) | def __setattr__(self, name, value): method exposed_stop (line 836) | def exposed_stop(self): class FinishBreakpoint (line 840) | class FinishBreakpoint(Breakpoint): method __init__ (line 847) | def __init__(self, *args, **kwargs): method _server_set_breakpoint (line 856) | def _server_set_breakpoint(self, *args, **kwargs): method __getattr__ (line 861) | def __getattr__(self, item): method exposed_out_of_scope (line 877) | def exposed_out_of_scope(self): class Gdb (line 881) | class Gdb: method __init__ (line 888) | def __init__(self, conn): method __getattr__ (line 911) | def __getattr__(self, item): method wait (line 915) | def wait(self): method interrupt_and_wait (line 920) | def interrupt_and_wait(self): method continue_nowait (line 925) | def continue_nowait(self): method continue_and_wait (line 929) | def continue_and_wait(self): method quit (line 934) | def quit(self): function attach (line 939) | def attach(target, gdbscript = '', exe = None, gdb_args = None, ssh = No... function ssh_gdb (line 1367) | def ssh_gdb(ssh, argv, gdbscript = None, arch = None, **kwargs): function find_module_addresses (line 1395) | def find_module_addresses(binary, ssh=None, ulimit=False): function corefile (line 1519) | def corefile(process): function version (line 1578) | def version(program='gdb'): FILE: pwnlib/gdb_api_bridge.py class ServeResult (line 15) | class ServeResult: method __init__ (line 17) | def __init__(self): method set (line 22) | def set(self, exc): method wait (line 28) | def wait(self): class GdbConnection (line 36) | class GdbConnection(Connection): method serve_gdb_thread (line 45) | def serve_gdb_thread(self, serve_result): method serve_all (line 59) | def serve_all(self): class GdbService (line 76) | class GdbService(Service): method exposed_set_breakpoint (line 82) | def exposed_set_breakpoint(self, client, has_stop, *args, **kwargs): method exposed_set_finish_breakpoint (line 92) | def exposed_set_finish_breakpoint(self, client, has_stop, has_out_of_s... method exposed_quit (line 103) | def exposed_quit(self): FILE: pwnlib/internal/dochelper.py class ExecDirective (line 17) | class ExecDirective(Directive): method run (line 21) | def run(self): function setup (line 38) | def setup(app): FILE: pwnlib/lexer.py class PwntoolsLexer (line 14) | class PwntoolsLexer(RegexLexer): method analyse_text (line 92) | def analyse_text(text): FILE: pwnlib/libc/glibc.py function ptr_mangle (line 7) | def ptr_mangle(guard: int, value: int) -> int: function ptr_demangle (line 32) | def ptr_demangle(guard: int, mangled: int) -> int: function protect_ptr (line 57) | def protect_ptr(word_addr: int, value: int) -> int: FILE: pwnlib/libcdb.py function _turbofast_extract_build_id (line 24) | def _turbofast_extract_build_id(path): function provider_libcdb (line 82) | def provider_libcdb(hex_encoded_id, search_type): function query_libc_rip (line 112) | def query_libc_rip(params): function provider_libc_rip (line 129) | def provider_libc_rip(search_target, search_type): function provider_local_system (line 157) | def provider_local_system(hex_encoded_id, search_type): function provider_local_database (line 173) | def provider_local_database(search_target, search_type): function query_local_database (line 195) | def query_local_database(params): function search_by_hash (line 237) | def search_by_hash(search_target, search_type='build_id', unstrip=True, ... function _check_elf_cache (line 294) | def _check_elf_cache(cache_type, search_target, search_type): function unstrip_libc (line 332) | def unstrip_libc(filename): function _extract_tarfile (line 426) | def _extract_tarfile(cache_dir, data_filename, tarball): function _extract_debfile (line 470) | def _extract_debfile(cache_dir, package_filename, package): function _extract_pkgfile (line 482) | def _extract_pkgfile(cache_dir, package_filename, package): function _find_libc_package_lib_url (line 486) | def _find_libc_package_lib_url(libc): function download_libraries (line 503) | def download_libraries(libc_path, unstrip=True): function _handle_multiple_matching_libcs (line 593) | def _handle_multiple_matching_libcs(matching_libcs): function search_by_symbol_offsets (line 610) | def search_by_symbol_offsets(symbols, select_index=None, unstrip=True, o... function search_by_libs_id (line 715) | def search_by_libs_id(libs_id, unstrip=True, offline_only=False): function search_by_build_id (line 741) | def search_by_build_id(hex_encoded_id, unstrip=True, offline_only=False): function search_by_md5 (line 770) | def search_by_md5(hex_encoded_id, unstrip=True, offline_only=False): function search_by_sha1 (line 799) | def search_by_sha1(hex_encoded_id, unstrip=True, offline_only=False): function search_by_sha256 (line 828) | def search_by_sha256(hex_encoded_id, unstrip=True, offline_only=False): function _parse_libc_symbol (line 857) | def _parse_libc_symbol(path): function _pack_libs_info (line 871) | def _pack_libs_info(path, libs_id, libs_url, syms): function get_build_id_offsets (line 905) | def get_build_id_offsets(): FILE: pwnlib/log.py function read_log_config (line 134) | def read_log_config(settings): class Progress (line 159) | class Progress(object): method __init__ (line 170) | def __init__(self, logger, msg, status, level, args, kwargs): method _log (line 183) | def _log(self, status, args, kwargs, msgtype): method status (line 196) | def status(self, status, *args, **kwargs): method success (line 211) | def success(self, status = 'Done', *args, **kwargs): method failure (line 222) | def failure(self, status = 'Failed', *args, **kwargs): method __enter__ (line 233) | def __enter__(self): method __exit__ (line 236) | def __exit__(self, exc_typ, exc_val, exc_tb): class Logger (line 243) | class Logger(object): method __init__ (line 266) | def __init__(self, logger=None): method _getlevel (line 282) | def _getlevel(self, levelString): method _log (line 287) | def _log(self, level, msg, args, kwargs, msgtype, progress = None): method progress (line 297) | def progress(self, message, status = '', *args, **kwargs): method waitfor (line 322) | def waitfor(self, *args, **kwargs): method indented (line 326) | def indented(self, message, *args, **kwargs): method success (line 338) | def success(self, message, *args, **kwargs): method failure (line 345) | def failure(self, message, *args, **kwargs): method info_once (line 352) | def info_once(self, message, *args, **kwargs): method warning_once (line 363) | def warning_once(self, message, *args, **kwargs): method warn_once (line 374) | def warn_once(self, *args, **kwargs): method debug (line 380) | def debug(self, message, *args, **kwargs): method info (line 387) | def info(self, message, *args, **kwargs): method hexdump (line 394) | def hexdump(self, message, *args, **kwargs): method maybe_hexdump (line 401) | def maybe_hexdump(self, message, *args, **kwargs): method warning (line 416) | def warning(self, message, *args, **kwargs): method warn (line 423) | def warn(self, *args, **kwargs): method error (line 427) | def error(self, message, *args, **kwargs): method exception (line 437) | def exception(self, message, *args, **kwargs): method critical (line 448) | def critical(self, message, *args, **kwargs): method log (line 455) | def log(self, level, message, *args, **kwargs): method isEnabledFor (line 463) | def isEnabledFor(self, level): method setLevel (line 474) | def setLevel(self, level): method addHandler (line 482) | def addHandler(self, handler): method removeHandler (line 489) | def removeHandler(self, handler): method level (line 497) | def level(self): method level (line 500) | def level(self, value): class Handler (line 505) | class Handler(logging.StreamHandler): method stream (line 517) | def stream(self): method stream (line 520) | def stream(self, value): method emit (line 522) | def emit(self, record): class Formatter (line 592) | class Formatter(logging.Formatter): method format (line 615) | def format(self, record): function _need_text (line 645) | def _need_text(s): function getLogger (line 653) | def getLogger(name): class LogfileHandler (line 656) | class LogfileHandler(logging.FileHandler): method __init__ (line 657) | def __init__(self): method stream (line 660) | def stream(self): method stream (line 663) | def stream(self, value): method handle (line 665) | def handle(self, *a, **kw): function install_default_handler (line 691) | def install_default_handler(): FILE: pwnlib/memleak.py class MemLeak (line 14) | class MemLeak(object): method __init__ (line 80) | def __init__(self, f, search_range = 20, reraise = True, relative = Fa... method __repr__ (line 91) | def __repr__(self): method __call__ (line 100) | def __call__(self, *a, **kw): method struct (line 103) | def struct(self, address, struct): method field (line 127) | def field(self, address, obj): method field_compare (line 147) | def field_compare(self, address, obj, expected): method _leak (line 172) | def _leak(self, addr, n, recurse=True): method raw (line 219) | def raw(self, addr, numb): method _b (line 226) | def _b(self, addr, ndx, size): method b (line 235) | def b(self, addr, ndx = 0): method w (line 254) | def w(self, addr, ndx = 0): method d (line 273) | def d(self, addr, ndx = 0): method q (line 292) | def q(self, addr, ndx = 0): method p (line 311) | def p(self, addr, ndx = 0): method s (line 318) | def s(self, addr): method n (line 349) | def n(self, addr, numb): method _clear (line 374) | def _clear(self, addr, ndx, size): method clearb (line 383) | def clearb(self, addr, ndx = 0): method clearw (line 404) | def clearw(self, addr, ndx = 0): method cleard (line 423) | def cleard(self, addr, ndx = 0): method clearq (line 442) | def clearq(self, addr, ndx = 0): method _set (line 460) | def _set(self, addr, val, ndx, size): method setb (line 465) | def setb(self, addr, val, ndx = 0): method setw (line 479) | def setw(self, addr, val, ndx = 0): method setd (line 493) | def setd(self, addr, val, ndx = 0): method setq (line 501) | def setq(self, addr, val, ndx = 0): method sets (line 509) | def sets(self, addr, val, null_terminate = True): method __getitem__ (line 530) | def __getitem__(self, item): method compare (line 543) | def compare(self, address, bts): method NoNulls (line 550) | def NoNulls(function): method NoWhitespace (line 568) | def NoWhitespace(function): method NoNewlines (line 586) | def NoNewlines(function): method String (line 604) | def String(function): class RelativeMemLeak (line 634) | class RelativeMemLeak(MemLeak): method __init__ (line 635) | def __init__(self, *a, **kw): FILE: pwnlib/protocols/adb/__init__.py function pack (line 27) | def pack(val): function unpack (line 30) | def unpack(val): class Message (line 36) | class Message(object): method __init__ (line 38) | def __init__(self, string): method __bytes__ (line 40) | def __bytes__(self): method __str__ (line 42) | def __str__(self): method __flat__ (line 44) | def __flat__(self): class Connection (line 47) | class Connection(remote): method __init__ (line 49) | def __init__(self, host, port, level=None, *a, **kw): method close (line 58) | def close(self): method adb_send (line 62) | def adb_send(self, message): method adb_unpack (line 66) | def adb_unpack(self): method flat32 (line 69) | def flat32(self, *a, **kw): class Process (line 73) | class Process(Connection): class AdbClient (line 76) | class AdbClient(Logger): method __init__ (line 78) | def __init__(self, level=None): method c (line 89) | def c(self): method _autoclose (line 116) | def _autoclose(fn): method _with_transport (line 128) | def _with_transport(fn): method send (line 141) | def send(self, *a, **kw): method unpack (line 147) | def unpack(self, *a, **kw): method recvl (line 151) | def recvl(self): method kill (line 157) | def kill(self): method version (line 182) | def version(self): method devices (line 201) | def devices(self, long=False): method track_devices (line 220) | def track_devices(self): method transport (line 233) | def transport(self, serial=None, try_again=True): method execute (line 268) | def execute(self, argv): method _basic_wrapper (line 291) | def _basic_wrapper(string): method remount (line 301) | def remount(self): method root (line 307) | def root(self): method unroot (line 315) | def unroot(self): method disable_verity (line 321) | def disable_verity(self): method enable_verity (line 327) | def enable_verity(self): method reconnect (line 333) | def reconnect(self): method reboot (line 339) | def reboot(self): method reboot_bootloader (line 345) | def reboot_bootloader(self): method wait_for_device (line 350) | def wait_for_device(self, serial=''): method _sync (line 369) | def _sync(fn): method list (line 379) | def list(self, path): method _list (line 430) | def _list(self, path): method stat (line 464) | def stat(self, path): method write (line 500) | def write(self, path, data, mode=0o755, timestamp=None, callback=None): method _write (line 528) | def _write(self, path, data, mode=0o755, timestamp=None, callback=None): method read (line 557) | def read(self, path, filesize=0, callback=lambda *a: True): method forward (line 619) | def forward(self, device, host_proto, host_port, device_proto, device_... method __enter__ (line 623) | def __enter__(self, *a, **kw): method __exit__ (line 627) | def __exit__(self, *a, **kw): pass function proxy (line 629) | def proxy(port=9999): FILE: pwnlib/py2compat.py function py2_monkey_patch (line 18) | def py2_monkey_patch(module): function get_terminal_size (line 27) | def get_terminal_size(fallback=(80, 24)): class terminal_size (line 73) | class terminal_size(tuple): method columns (line 75) | def columns(self): method lines (line 79) | def lines(self): method __repr__ (line 82) | def __repr__(self): function get_terminal_size (line 90) | def get_terminal_size(fd): # pylint: disable=function-redefined FILE: pwnlib/qemu.py function archname (line 85) | def archname(): function user_path (line 109) | def user_path(): function ld_prefix (line 137) | def ld_prefix(path=None, env=None): FILE: pwnlib/regsort.py function check_cycle (line 14) | def check_cycle(reg, assignments, mapping=None): function check_cycle_ (line 40) | def check_cycle_(reg, assignments, path, mapping): function extract_dependencies (line 67) | def extract_dependencies(reg, assignments, mapping=None): function resolve_order (line 88) | def resolve_order(reg, deps): function depends_on_cycle (line 111) | def depends_on_cycle(reg, assignments, in_cycles): function regsort (line 118) | def regsort(in_out, all_regs, mapping = None, tmp = None, xchg = True, r... FILE: pwnlib/replacements.py function sleep (line 7) | def sleep(n): FILE: pwnlib/rop/call.py class Unresolved (line 10) | class Unresolved(object): class CurrentStackPointer (line 23) | class CurrentStackPointer(Unresolved): class NextGadgetAddress (line 30) | class NextGadgetAddress(Unresolved): class StackAdjustment (line 42) | class StackAdjustment(Unresolved): class AppendedArgument (line 56) | class AppendedArgument(Unresolved): method __init__ (line 103) | def __init__(self, value, address = 0): method address (line 127) | def address(self): method address (line 131) | def address(self, value): method local (line 142) | def local(self, address): method resolve (line 155) | def resolve(self, addr=None): method __len__ (line 187) | def __len__(self): method __bytes__ (line 190) | def __bytes__(self): method __repr__ (line 193) | def __repr__(self): class Call (line 200) | class Call(object): method __init__ (line 223) | def __init__(self, name, target, args, abi=None, before=()): method __repr__ (line 235) | def __repr__(self): method is_flat (line 242) | def is_flat(self): method register_arguments (line 250) | def register_arguments(self): method stack_arguments (line 254) | def stack_arguments(self): method _special_repr (line 258) | def _special_repr(cls, x): method __str__ (line 266) | def __str__(self): FILE: pwnlib/rop/gadgets.py class Gadget (line 1) | class Gadget(object): method __init__ (line 38) | def __init__(self, address, insns, regs, move): method __repr__ (line 46) | def __repr__(self): method __getitem__ (line 53) | def __getitem__(self, key): method __setitem__ (line 59) | def __setitem__(self, key, value): FILE: pwnlib/rop/ret2csu.py function ret2csu (line 12) | def ret2csu(rop, elf, edi, rsi, rdx, rbx, rbp, r12, r13, r14, r15, call=... FILE: pwnlib/rop/ret2dlresolve.py class Elf32_Rel (line 81) | class Elf32_Rel(object): method __init__ (line 92) | def __init__(self, r_offset=0, r_info=0): method __flat__ (line 96) | def __flat__(self): method __bytes__ (line 99) | def __bytes__(self): class Elf64_Rel (line 103) | class Elf64_Rel(object): method __init__ (line 114) | def __init__(self, r_offset=0, r_info=0): method __flat__ (line 118) | def __flat__(self): method __bytes__ (line 121) | def __bytes__(self): class Elf32_Sym (line 125) | class Elf32_Sym(object): method __init__ (line 140) | def __init__(self, st_name=0, st_value=0, st_size=0, st_info=0, st_oth... method __flat__ (line 148) | def __flat__(self): method __bytes__ (line 156) | def __bytes__(self): class Elf64_Sym (line 160) | class Elf64_Sym(object): method __init__ (line 175) | def __init__(self, st_name=0, st_value=0, st_size=0, st_info=0, st_oth... method __flat__ (line 183) | def __flat__(self): method __bytes__ (line 191) | def __bytes__(self): class Queue (line 195) | class Queue(list): method size (line 197) | def size(self): class MarkedBytes (line 209) | class MarkedBytes(bytes): class Ret2dlresolvePayload (line 214) | class Ret2dlresolvePayload(object): method __init__ (line 238) | def __init__(self, elf, symbol, args, data_addr=None, resolution_addr=... method _format_args (line 263) | def _format_args(self): method _get_recommended_address (line 276) | def _get_recommended_address(self): method _build_structures (line 283) | def _build_structures(self): method _build_args (line 349) | def _build_args(self): method _build (line 385) | def _build(self): FILE: pwnlib/rop/rop.py class Padding (line 404) | class Padding(object): method __init__ (line 408) | def __init__(self, name=''): function _slot_len (line 411) | def _slot_len(x): class DescriptiveStack (line 417) | class DescriptiveStack(list): method __init__ (line 429) | def __init__(self, address): method next (line 436) | def next(self): method describe (line 442) | def describe(self, text, address = None): method dump (line 447) | def dump(self): class ROP (line 472) | class ROP(object): method __init__ (line 589) | def __init__(self, elfs, base = None, badchars = b'', **kwargs): method from_blob (line 625) | def from_blob(blob, *a, **kw): method setRegisters (line 628) | def setRegisters(self, registers): method __call__ (line 732) | def __call__(self, *args, **kwargs): method resolve (line 772) | def resolve(self, resolvable): method unresolve (line 789) | def unresolve(self, value): method generatePadding (line 810) | def generatePadding(self, offset, count): method describe (line 833) | def describe(self, object): method build (line 846) | def build(self, base = None, description = None): method chain (line 1040) | def chain(self, base=None): method dump (line 1053) | def dump(self, base=None): method regs (line 1063) | def regs(self, registers=None, **kw): method call (line 1070) | def call(self, resolvable, arguments = (), abi = None, **kwargs): method _srop_call (line 1102) | def _srop_call(self, resolvable, arguments): method find_gadget (line 1156) | def find_gadget(self, instructions): method _flatten (line 1166) | def _flatten(self, initial_list): method raw (line 1176) | def raw(self, value): method migrate (line 1212) | def migrate(self, next_base): method __bytes__ (line 1230) | def __bytes__(self): method __flat__ (line 1234) | def __flat__(self): method __flat_at__ (line 1237) | def __flat_at__(self, address): method __get_cachefile_name (line 1240) | def __get_cachefile_name(self, files): method clear_cache (line 1258) | def clear_cache(): method __cache_load (line 1265) | def __cache_load(self, elf): method __cache_save (line 1274) | def __cache_save(self, elf, data): method __load (line 1281) | def __load(self): method __repr__ (line 1398) | def __repr__(self): method search_iter (line 1401) | def search_iter(self, move=None, regs=None): method search (line 1418) | def search(self, move = 0, regs = None, order = 'size'): method ret2csu (line 1463) | def ret2csu(self, edi=Padding('edi'), rsi=Padding('rsi'), method ret2dlresolve (line 1537) | def ret2dlresolve(self, dlresolve): method __getattr__ (line 1550) | def __getattr__(self, attr): method __setattr__ (line 1629) | def __setattr__(self, attr, value): FILE: pwnlib/rop/srop.py class SigreturnFrame (line 252) | class SigreturnFrame(dict): method __init__ (line 360) | def __init__(self): method __setitem__ (line 374) | def __setitem__(self, item, value): method __setattr__ (line 383) | def __setattr__(self, attr, value): method __getattr__ (line 389) | def __getattr__(self, attr): method __bytes__ (line 394) | def __bytes__(self): method __str__ (line 403) | def __str__(self): method __len__ (line 406) | def __len__(self): method __flat__ (line 409) | def __flat__(self): method registers (line 413) | def registers(self): method register_offsets (line 419) | def register_offsets(self): method arguments (line 425) | def arguments(self): method arguments (line 430) | def arguments(self, a): method sp (line 435) | def sp(self): method sp (line 439) | def sp(self, v): method pc (line 443) | def pc(self): method pc (line 447) | def pc(self, v): method syscall (line 451) | def syscall(self): method syscall (line 455) | def syscall(self, v): method syscall_register (line 459) | def syscall_register(self): method set_regvalue (line 462) | def set_regvalue(self, reg, val): method get_spindex (line 468) | def get_spindex(self): FILE: pwnlib/runner.py function run_assembly (line 12) | def run_assembly(assembly): function run_shellcode (line 43) | def run_shellcode(bytes, **kw): function run_assembly_exitcode (line 71) | def run_assembly_exitcode(assembly): function run_shellcode_exitcode (line 90) | def run_shellcode_exitcode(bytes): FILE: pwnlib/shellcraft/__init__.py class module (line 13) | class module(ModuleType): method __init__ (line 16) | def __init__(self, name, directory): method _get_source (line 39) | def _get_source(self, template): method __lazyinit__ (line 43) | def __lazyinit__(self): method __getattr__ (line 67) | def __getattr__(self, key): method __dir__ (line 88) | def __dir__(self): method _context_modules (line 101) | def _context_modules(self): method __shellcodes__ (line 107) | def __shellcodes__(self): method templates (line 115) | def templates(self): method eval (line 135) | def eval(self, item): method pretty (line 140) | def pretty(self, n, comment=True): method okay (line 156) | def okay(self, s, *a, **kw): class LazyImporter (line 169) | class LazyImporter: method find_module (line 170) | def find_module(self, fullname, path=None): method load_module (line 183) | def load_module(self, fullname): FILE: pwnlib/shellcraft/internal.py function init_mako (line 10) | def init_mako(): function lookup_template (line 76) | def lookup_template(filename): function get_context_from_dirpath (line 84) | def get_context_from_dirpath(directory): function make_function (line 109) | def make_function(funcname, filename, directory): FILE: pwnlib/shellcraft/registers.py class Register (line 171) | class Register(object): method __init__ (line 207) | def __init__(self, name, size): method bits (line 233) | def bits(self): method bytes (line 237) | def bytes(self): method fits (line 240) | def fits(self, value): method __str__ (line 243) | def __str__(self): method __repr__ (line 246) | def __repr__(self): function get_register (line 255) | def get_register(name): function is_register (line 262) | def is_register(obj): function bits_required (line 268) | def bits_required(value): function current (line 279) | def current(): function register_size (line 310) | def register_size(reg): function fits_in_register (line 313) | def fits_in_register(reg, value): FILE: pwnlib/term/__init__.py function can_init (line 22) | def can_init(): function init (line 60) | def init(): FILE: pwnlib/term/completer.py class Completer (line 7) | class Completer: method complete (line 8) | def complete(self, _left, _right): method suggest (line 10) | def suggest(self, _left, _right): method __enter__ (line 12) | def __enter__(self): method __exit__ (line 16) | def __exit__(self, *args): class WordCompleter (line 20) | class WordCompleter(Completer): method __init__ (line 21) | def __init__(self, delims = None): method _get_word (line 26) | def _get_word(self, left): method _update (line 35) | def _update(self, w): method complete (line 41) | def complete(self, buffer_left, buffer_right): method suggest (line 49) | def suggest(self, buffer_left, _buffer_right): method complete_word (line 54) | def complete_word(self, word): class LongestPrefixCompleter (line 57) | class LongestPrefixCompleter(WordCompleter): method __init__ (line 58) | def __init__(self, words = None, delims = None): method complete_word (line 63) | def complete_word(self, word): class PathCompleter (line 82) | class PathCompleter(Completer): method __init__ (line 83) | def __init__(self, mask = '*', only_dirs = False): method _update (line 92) | def _update(self, prefix): method complete (line 121) | def complete(self, buffer_left, buffer_right): method suggest (line 141) | def suggest(self, buffer_left, buffer_right): FILE: pwnlib/term/key.py function getch (line 20) | def getch(timeout = 0): function getraw (line 38) | def getraw(timeout = None): class Matcher (line 49) | class Matcher: method __init__ (line 50) | def __init__(self, desc): method __call__ (line 83) | def __call__(self, k): method __eq__ (line 90) | def __eq__(self, other): method __neq__ (line 101) | def __neq__(self, other): method __hash__ (line 104) | def __hash__(self): method __str__ (line 107) | def __str__(self): class Key (line 110) | class Key: method __init__ (line 111) | def __init__(self, type, code = None, mods = kc.MOD_NONE): method __str__ (line 117) | def __str__(self): method __repr__ (line 144) | def __repr__(self): method __eq__ (line 147) | def __eq__(self, other): function _read (line 163) | def _read(timeout = 0): function _peek (line 166) | def _peek(): function get (line 170) | def get(timeout = None): function unget (line 179) | def unget(k): function _name_to_key (line 183) | def _name_to_key(fname): function _peek_ti (line 198) | def _peek_ti(): function _init_ti_table (line 208) | def _init_ti_table(): function _parse_csi (line 220) | def _parse_csi(offset): function _csi_func (line 260) | def _csi_func(cmd, args): function _csi_ss3 (line 275) | def _csi_ss3(cmd, args): function _csi_u (line 282) | def _csi_u(cmd, args): function _csi_R (line 288) | def _csi_R(cmd, args): function _peekkey_csi (line 369) | def _peekkey_csi(offset): function _peekkey_ss3 (line 391) | def _peekkey_ss3(offset): function _peek_csi (line 410) | def _peek_csi(): function _peek_simple (line 425) | def _peek_simple(): FILE: pwnlib/term/keymap.py class Keymap (line 7) | class Keymap: method __init__ (line 8) | def __init__(self, bindings, on_match = None, on_nomatch = None, method handle_input (line 18) | def handle_input(self): method stop (line 23) | def stop(self): method currently_entered (line 27) | def currently_entered(self): method reset (line 30) | def reset(self): method send (line 34) | def send(self, k): method register (line 58) | def register(self, desc, cb = None): method unregister (line 80) | def unregister(self, desc, cb = None): method on_match (line 106) | def on_match(self, cb): method on_nomatch (line 109) | def on_nomatch(self, cb): method on_key (line 112) | def on_key(self, cb): FILE: pwnlib/term/readline.py function force_to_bytes (line 35) | def force_to_bytes(data): function set_completer (line 43) | def set_completer(completer): function fmt_suggestions (line 52) | def fmt_suggestions(suggestions): function auto_complete (line 69) | def auto_complete(*_): function handle_keypress (line 84) | def handle_keypress(trace): function clear (line 92) | def clear(): function redisplay (line 99) | def redisplay(): function self_insert (line 133) | def self_insert(trace): function set_buffer (line 140) | def set_buffer(left, right): function cancel_search (line 146) | def cancel_search(*_): function commit_search (line 152) | def commit_search(): function update_search_results (line 159) | def update_search_results(): function search_history (line 180) | def search_history(*_): function history_prev (line 191) | def history_prev(*_): function history_next (line 203) | def history_next(*_): function backward_char (line 216) | def backward_char(*_): function forward_char (line 224) | def forward_char(*_): function insert_text (line 232) | def insert_text(s): function submit (line 241) | def submit(*_): function control_c (line 247) | def control_c(*_): function control_d (line 260) | def control_d(*_): function kill_to_end (line 267) | def kill_to_end(*_): function delete_char_forward (line 273) | def delete_char_forward(*_): function delete_char_backward (line 280) | def delete_char_backward(*_): function kill_word_backward (line 287) | def kill_word_backward(*_): function backward_word (line 301) | def backward_word(*_): function forward_word (line 316) | def forward_word(*_): function go_beginning (line 331) | def go_beginning(*_): function go_end (line 335) | def go_end(*_): function readline (line 367) | def readline(_size=-1, prompt='', float=True, priority=10): function raw_input (line 424) | def raw_input(prompt='', float=True): function str_input (line 437) | def str_input(prompt='', float=True): function eval_input (line 450) | def eval_input(prompt='', float=True): function init (line 476) | def init(): FILE: pwnlib/term/spinners.py function billboard (line 3) | def billboard(msg, window): FILE: pwnlib/term/term.py class WinchLock (line 38) | class WinchLock(object): method __init__ (line 39) | def __init__(self): method acquire (line 44) | def acquire(self): method release (line 48) | def release(self): method __enter__ (line 51) | def __enter__(self): method __exit__ (line 54) | def __exit__(self, tp, val, tb): function show_cursor (line 64) | def show_cursor(): function hide_cursor (line 67) | def hide_cursor(): function update_geometry (line 70) | def update_geometry(): function handler_sigwinch (line 74) | def handler_sigwinch(signum, stack): function handler_sigstop (line 90) | def handler_sigstop(signum, stack): function handler_sigcont (line 94) | def handler_sigcont(signum, stack): function setupterm (line 100) | def setupterm(): function resetterm (line 119) | def resetterm(): function init (line 130) | def init(): function put (line 165) | def put(s): function do (line 206) | def do(c, *args): function goto (line 211) | def goto(rc): class Cell (line 234) | class Cell(object): method __init__ (line 235) | def __init__(self, value, float): method draw (line 239) | def draw(self): method update (line 245) | def update(self, value): method prepare_redraw (line 262) | def prepare_redraw(self): method update_locked (line 273) | def update_locked(self, erase_line=False): method __repr__ (line 326) | def __repr__(self): class WeakCellList (line 330) | class WeakCellList(object): method __init__ (line 331) | def __init__(self): method cells (line 337) | def cells(self): method floats (line 341) | def floats(self): method iter_field (line 344) | def iter_field(self, *Ls): method __iter__ (line 353) | def __iter__(self): method iter_after (line 356) | def iter_after(self, v): method clear (line 363) | def clear(self): method insert (line 369) | def insert(self, v, before): method append (line 377) | def append(self, v): function get_position (line 385) | def get_position(): function output (line 392) | def output(s='', float=False, priority=10, frozen=False, indent=0, befor... FILE: pwnlib/term/text.py function eval_when (line 9) | def eval_when(when): class Module (line 23) | class Module(types.ModuleType): method __init__ (line 24) | def __init__(self): method when (line 52) | def when(self): method when (line 56) | def when(self, val): method has_bright (line 60) | def has_bright(self): method has_gray (line 64) | def has_gray(self): method _fg_color (line 67) | def _fg_color(self, c): method _bg_color (line 73) | def _bg_color(self, c): method _decorator (line 79) | def _decorator(self, desc, init): method __getattr__ (line 94) | def __getattr__(self, desc): method get (line 129) | def get(self, desc): FILE: pwnlib/term/unix_termcap.py function get (line 8) | def get(cap, *args, **kwargs): function init (line 42) | def init(): FILE: pwnlib/term/windows_termcap.py function get (line 11) | def get(cap, *args, **kwargs): function init (line 30) | def init(): function _check_bool (line 58) | def _check_bool(result, func, args): function set_conout_mode (line 69) | def set_conout_mode(new_mode, mask=0xffffffff): function enable_vt_mode (line 83) | def enable_vt_mode(): FILE: pwnlib/testexample.py function add (line 45) | def add(a, b): FILE: pwnlib/timeout.py class _DummyContextClass (line 9) | class _DummyContextClass(object): method __enter__ (line 10) | def __enter__(self): pass method __exit__ (line 11) | def __exit__(self,*a): pass class _countdown_handler (line 15) | class _countdown_handler(object): method __init__ (line 16) | def __init__(self, obj, timeout): method __enter__ (line 20) | def __enter__(self): method __exit__ (line 31) | def __exit__(self, *a): class _local_handler (line 36) | class _local_handler(object): method __init__ (line 37) | def __init__(self, obj, timeout): method __enter__ (line 40) | def __enter__(self): method __exit__ (line 48) | def __exit__(self, *a): class TimeoutDefault (line 53) | class TimeoutDefault(object): method __repr__ (line 54) | def __repr__(self): return "pwnlib.timeout.Timeout.default" method __str__ (line 55) | def __str__(self): return "" class Maximum (line 57) | class Maximum(float): method __repr__ (line 58) | def __repr__(self): class Timeout (line 62) | class Timeout(object): method __init__ (line 126) | def __init__(self, timeout=default): method timeout (line 131) | def timeout(self): method timeout (line 144) | def timeout(self, value): method _get_timeout_seconds (line 149) | def _get_timeout_seconds(self, value): method countdown_active (line 166) | def countdown_active(self): method timeout_change (line 169) | def timeout_change(self): method countdown (line 175) | def countdown(self, timeout = default): method local (line 200) | def local(self, timeout): FILE: pwnlib/tubes/buffer.py class Buffer (line 4) | class Buffer(object): method __init__ (line 32) | def __init__(self, buffer_fill_size = None): method __len__ (line 37) | def __len__(self): method __nonzero__ (line 49) | def __nonzero__(self): method __contains__ (line 52) | def __contains__(self, x): method index (line 67) | def index(self, x): method add (line 82) | def add(self, data): method unget (line 99) | def unget(self, data): method get (line 124) | def get(self, want=float('inf')): method get_fill_size (line 174) | def get_fill_size(self, size=None): FILE: pwnlib/tubes/listen.py class listen (line 11) | class listen(sock): method __init__ (line 79) | def __init__(self, port=0, bindaddr='::', method spawn_process (line 149) | def spawn_process(self, *args, **kwargs): method wait_for_connection (line 160) | def wait_for_connection(self): method sock (line 166) | def sock(self): method sock (line 175) | def sock(self, s): method close (line 178) | def close(self): FILE: pwnlib/tubes/process.py class PTY (line 37) | class PTY(object): pass class process (line 44) | class process(tube): method __init__ (line 234) | def __init__(self, argv = None, method __preexec_fn (line 425) | def __preexec_fn(self): method __on_enoexec (line 482) | def __on_enoexec(self, exception): method program (line 522) | def program(self): method cwd (line 537) | def cwd(self): method _validate (line 561) | def _validate(self, cwd, executable, argv, env): method _handles (line 633) | def _handles(self, stdin, stdout, stderr): method __getattr__ (line 664) | def __getattr__(self, attr): method kill (line 672) | def kill(self): method terminate (line 679) | def terminate(self): method poll (line 713) | def poll(self, block = False): method communicate (line 745) | def communicate(self, stdin = None): method recv_raw (line 754) | def recv_raw(self, numb): method send_raw (line 792) | def send_raw(self, data): method settimeout_raw (line 806) | def settimeout_raw(self, timeout): method can_recv_raw (line 809) | def can_recv_raw(self, timeout): method connected_raw (line 840) | def connected_raw(self, direction): method close (line 848) | def close(self): method fileno (line 874) | def fileno(self): method shutdown_raw (line 880) | def shutdown_raw(self, direction): method __pty_make_controlling_tty (line 890) | def __pty_make_controlling_tty(self, tty_fd): method maps (line 936) | def maps(self): method get_mapping (line 1014) | def get_mapping(self, path_value, single=True): method stack_mapping (line 1059) | def stack_mapping(self, single=True): method heap_mapping (line 1088) | def heap_mapping(self, single=True): method vdso_mapping (line 1120) | def vdso_mapping(self, single=True): method vvar_mapping (line 1149) | def vvar_mapping(self, single=True): method libc_mapping (line 1178) | def libc_mapping(self, single=True): method musl_mapping (line 1232) | def musl_mapping(self, single=True): method elf_mapping (line 1259) | def elf_mapping(self, single=True): method lib_size (line 1297) | def lib_size(self, path_value): method address_mapping (line 1342) | def address_mapping(self, address): method libs (line 1373) | def libs(self): method libc (line 1400) | def libc(self): method elf (line 1430) | def elf(self): method corefile (line 1439) | def corefile(self): method leak (line 1487) | def leak(self, address, count=1): method writemem (line 1521) | def writemem(self, address, data): method stdin (line 1566) | def stdin(self): method stdout (line 1573) | def stdout(self): method stderr (line 1580) | def stderr(self): function _read_in_thread (line 1589) | def _read_in_thread(recv_queue, proc_stdout): FILE: pwnlib/tubes/remote.py class remote (line 10) | class remote(sock): method __init__ (line 62) | def __init__(self, host, port, method _connect (line 105) | def _connect(self, fam, typ): method fromsocket (line 136) | def fromsocket(cls, socket): class tcp (line 151) | class tcp(remote): method __init__ (line 153) | def __init__(self, host, port, *a, **kw): class udp (line 156) | class udp(remote): method __init__ (line 158) | def __init__(self, host, port, *a, **kw): class connect (line 161) | class connect(remote): FILE: pwnlib/tubes/serialtube.py class serialtube (line 13) | class serialtube(tube.tube): method __init__ (line 14) | def __init__( method recv_raw (line 52) | def recv_raw(self, numb): method send_raw (line 67) | def send_raw(self, data): method settimeout_raw (line 79) | def settimeout_raw(self, timeout): method can_recv_raw (line 82) | def can_recv_raw(self, timeout): method connected_raw (line 90) | def connected_raw(self, direction): method close (line 93) | def close(self): method fileno (line 98) | def fileno(self): method shutdown_raw (line 104) | def shutdown_raw(self, direction): FILE: pwnlib/tubes/server.py class server (line 13) | class server(sock): method __init__ (line 68) | def __init__(self, port=0, bindaddr = "::", fam = "any", typ = "tcp", method next_connection (line 143) | def next_connection(self): method close (line 146) | def close(self): FILE: pwnlib/tubes/sock.py class sock (line 10) | class sock(tube): method __init__ (line 13) | def __init__(self, *args, **kwargs): method recvall (line 18) | def recvall(self, timeout = tube.forever): method recv_raw (line 29) | def recv_raw(self, numb, *a): method send_raw (line 56) | def send_raw(self, data): method settimeout_raw (line 70) | def settimeout_raw(self, timeout): method can_recv_raw (line 75) | def can_recv_raw(self, timeout): method connected_raw (line 113) | def connected_raw(self, direction): method close (line 160) | def close(self): method _close_msg (line 173) | def _close_msg(self): method fileno (line 176) | def fileno(self): method shutdown_raw (line 182) | def shutdown_raw(self, direction): method _get_family (line 210) | def _get_family(cls, fam): method _get_type (line 227) | def _get_type(cls, typ): FILE: pwnlib/tubes/ssh.py class ssh_channel (line 33) | class ssh_channel(sock): method __init__ (line 55) | def __init__(self, parent, process = None, tty = False, cwd = None, en... method kill (line 138) | def kill(self): method recvall (line 146) | def recvall(self, timeout = sock.forever): method wait (line 169) | def wait(self, timeout=sock.default): method poll (line 173) | def poll(self, block=False): method can_recv_raw (line 188) | def can_recv_raw(self, timeout): method interactive (line 196) | def interactive(self, prompt = term.text.bold_red('$') + ' '): method close (line 277) | def close(self): method spawn_process (line 283) | def spawn_process(self, *args, **kwargs): method _close_msg (line 286) | def _close_msg(self): class ssh_process (line 289) | class ssh_process(ssh_channel): method libs (line 305) | def libs(self): method libc (line 331) | def libc(self): method elf (line 354) | def elf(self): method corefile (line 370) | def corefile(self): method getenv (line 379) | def getenv(self, variable, **kwargs): method _close_msg (line 422) | def _close_msg(self): class ssh_connecter (line 433) | class ssh_connecter(sock): method __init__ (line 434) | def __init__(self, parent, host, port, *a, **kw): method spawn_process (line 492) | def spawn_process(self, *args, **kwargs): method _close_msg (line 495) | def _close_msg(self): class ssh_listener (line 499) | class ssh_listener(sock): method __init__ (line 500) | def __init__(self, parent, bind_address, port, *a, **kw): method _close_msg (line 534) | def _close_msg(self): method spawn_process (line 537) | def spawn_process(self, *args, **kwargs): method wait_for_connection (line 540) | def wait_for_connection(self): method sock (line 546) | def sock(self): method sock (line 556) | def sock(self, s): class ssh (line 560) | class ssh(Timeout, Logger): method __init__ (line 595) | def __init__(self, user=None, host=None, port=22, password=None, key=N... method __repr__ (line 750) | def __repr__(self): method cwd (line 754) | def cwd(self): method cwd (line 758) | def cwd(self, cwd): method sftp (line 764) | def sftp(self): method sftp (line 778) | def sftp(self, value): method __enter__ (line 782) | def __enter__(self, *a): method __exit__ (line 785) | def __exit__(self, *a, **kw): method shell (line 788) | def shell(self, shell = None, tty = True, timeout = Timeout.default): method process (line 811) | def process(self, argv=None, executable=None, tty=True, cwd=None, env=... method which (line 1062) | def which(self, program): method system (line 1081) | def system(self, process, tty = True, cwd = None, env = None, timeout ... method getenv (line 1124) | def getenv(self, variable, **kwargs): method run_to_end (line 1155) | def run_to_end(self, process, tty = False, cwd = None, env = None, wd ... method connect_remote (line 1181) | def connect_remote(self, host, port, timeout = Timeout.default): method listen_remote (line 1205) | def listen_remote(self, port = 0, bind_address = '', timeout = Timeout... method __getitem__ (line 1229) | def __getitem__(self, attr): method __call__ (line 1240) | def __call__(self, attr): method __getattr__ (line 1251) | def __getattr__(self, attr): method connected (line 1290) | def connected(self): method close (line 1304) | def close(self): method _libs_remote (line 1311) | def _libs_remote(self, remote): method _get_fingerprint (line 1331) | def _get_fingerprint(self, remote): method _get_cachefile (line 1346) | def _get_cachefile(self, fingerprint): method _verify_local_fingerprint (line 1349) | def _verify_local_fingerprint(self, fingerprint): method _download_raw (line 1365) | def _download_raw(self, remote, local, h): method _download_to_cache (line 1409) | def _download_to_cache(self, remote, p, fingerprint=True): method download_data (line 1438) | def download_data(self, remote, fingerprint=True): method download_file (line 1463) | def download_file(self, remote, local = None): method download_dir (line 1497) | def download_dir(self, remote=None, local=None, ignore_failed_read=Fal... method upload_data (line 1544) | def upload_data(self, data, remote): method upload_file (line 1589) | def upload_file(self, filename, remote = None): method upload_dir (line 1610) | def upload_dir(self, local, remote=None): method upload (line 1645) | def upload(self, file_or_directory, remote=None): method download (line 1667) | def download(self, file_or_directory, local=None): method unlink (line 1702) | def unlink(self, file): method libs (line 1715) | def libs(self, remote, directory = None, flatten = False): method interactive (line 1776) | def interactive(self, shell=None): method set_working_directory (line 1792) | def set_working_directory(self, wd = None, symlink = False): method write (line 1889) | def write(self, path, data): method read (line 1894) | def read(self, path): method _init_remote_platform_info (line 1898) | def _init_remote_platform_info(self): method os (line 1944) | def os(self): method arch (line 1955) | def arch(self): method bits (line 1965) | def bits(self): method version (line 1976) | def version(self): method distro (line 1992) | def distro(self): method aslr (line 2001) | def aslr(self): method aslr_ulimit (line 2024) | def aslr_ulimit(self): method _cpuinfo (line 2083) | def _cpuinfo(self): method user_shstk (line 2093) | def user_shstk(self): method ibt (line 2114) | def ibt(self): method _checksec_cache (line 2134) | def _checksec_cache(self, value=None): method checksec (line 2144) | def checksec(self, banner=True): FILE: pwnlib/tubes/tube.py class tube (line 23) | class tube(Timeout, Logger): method __init__ (line 31) | def __init__(self, timeout = default, level = None, *a, **kw): method _normalize_keepends_drop (line 42) | def _normalize_keepends_drop(self, keepends, drop, drop_default): method newline (line 81) | def newline(self): method newline (line 103) | def newline(self, newline): method recv (line 107) | def recv(self, numb = None, timeout = default): method unrecv (line 141) | def unrecv(self, data): method _fillbuffer (line 164) | def _fillbuffer(self, timeout = default): method _recv (line 199) | def _recv(self, numb = None, timeout = default): method recvpred (line 214) | def recvpred(self, pred, timeout = default): method recvn (line 268) | def recvn(self, numb, timeout = default): method recvuntil (line 314) | def recvuntil(self, delims, drop=False, timeout=default): method recvlines (line 404) | def recvlines(self, numlines=2**20, keepends=None, drop=None, timeout=... method recvlinesS (line 466) | def recvlinesS(self, numlines=2**20, keepends=None, drop=None, timeout... method recvlinesb (line 485) | def recvlinesb(self, numlines=2**20, keepends=None, drop=None, timeout... method recvline (line 502) | def recvline(self, keepends=None, drop=None, timeout=default): method recvline_pred (line 576) | def recvline_pred(self, pred, keepends=None, drop=None, timeout=default): method recvline_contains (line 629) | def recvline_contains(self, items, keepends=None, drop=None, timeout=d... method recvline_startswith (line 665) | def recvline_startswith(self, delims, keepends=None, drop=None, timeou... method recvline_endswith (line 703) | def recvline_endswith(self, delims, keepends=None, drop=None, timeout=... method recvregex (line 736) | def recvregex(self, regex, exact=False, timeout=default, capture=False): method recvline_regex (line 776) | def recvline_regex(self, regex, exact=False, keepends=None, drop=None,... method recvrepeat (line 800) | def recvrepeat(self, timeout=default): method recvall (line 832) | def recvall(self, timeout=Timeout.forever): method send (line 854) | def send(self, data): method sendline (line 882) | def sendline(self, line=b''): method sendlines (line 903) | def sendlines(self, lines=[]): method sendafter (line 908) | def sendafter(self, delim, data, timeout = default): method sendlineafter (line 919) | def sendlineafter(self, delim, data, timeout = default): method sendthen (line 929) | def sendthen(self, delim, data, timeout = default): method sendlinethen (line 938) | def sendlinethen(self, delim, data, timeout = default): method interactive (line 947) | def interactive(self, prompt = term.text.bold_red('$') + ' '): method stream (line 1034) | def stream(self, line_mode=True): method clean (line 1066) | def clean(self, timeout = 0.05): method clean_and_log (line 1095) | def clean_and_log(self, timeout = 0.05): method upload_manually (line 1129) | def upload_manually(self, data, target_path = './payload', prompt = b'... method connect_input (line 1255) | def connect_input(self, other): method connect_output (line 1312) | def connect_output(self, other): method connect_both (line 1337) | def connect_both(self, other): method spawn_process (line 1345) | def spawn_process(self, *args, **kwargs): method __lshift__ (line 1358) | def __lshift__(self, other): method __rshift__ (line 1380) | def __rshift__(self, other): method __ne__ (line 1389) | def __ne__(self, other): method wait_for_close (line 1402) | def wait_for_close(self, timeout=default): method can_recv (line 1413) | def can_recv(self, timeout = 0): method settimeout (line 1435) | def settimeout(self, timeout): method shutdown (line 1466) | def shutdown(self, direction = "send"): method connected (line 1503) | def connected(self, direction = 'any'): method __enter__ (line 1537) | def __enter__(self): method __exit__ (line 1550) | def __exit__(self, type, value, traceback): method recv_raw (line 1559) | def recv_raw(self, numb): method send_raw (line 1573) | def send_raw(self, data): method settimeout_raw (line 1584) | def settimeout_raw(self, timeout): method timeout_change (line 1593) | def timeout_change(self): method can_recv_raw (line 1605) | def can_recv_raw(self, timeout): method connected_raw (line 1615) | def connected_raw(self, direction): method close (line 1624) | def close(self): method fileno (line 1634) | def fileno(self): method shutdown_raw (line 1642) | def shutdown_raw(self, direction): method p64 (line 1652) | def p64(self, *a, **kw): return self.send(packing.p64(*a, **kw)) method p56 (line 1653) | def p56(self, *a, **kw): return self.send(packing.p56(*a, **kw)) method p48 (line 1654) | def p48(self, *a, **kw): return self.send(packing.p48(*a, **kw)) method p40 (line 1655) | def p40(self, *a, **kw): return self.send(packing.p40(*a, **kw)) method p32 (line 1656) | def p32(self, *a, **kw): return self.send(packing.p32(*a, **kw)) method p16 (line 1657) | def p16(self, *a, **kw): return self.send(packing.p16(*a, **kw)) method p8 (line 1658) | def p8(self, *a, **kw): return self.send(packing.p8(*a, **kw)) method pack (line 1659) | def pack(self, *a, **kw): return self.send(packing.pack(*a, **kw)) method u64 (line 1661) | def u64(self, *a, **kw): return packing.u64(self.recvn(8), *a, ... method u56 (line 1662) | def u56(self, *a, **kw): return packing.u56(self.recvn(7), *a, ... method u48 (line 1663) | def u48(self, *a, **kw): return packing.u48(self.recvn(6), *a, ... method u40 (line 1664) | def u40(self, *a, **kw): return packing.u40(self.recvn(5), *a, ... method u32 (line 1665) | def u32(self, *a, **kw): return packing.u32(self.recvn(4), *a, ... method u16 (line 1666) | def u16(self, *a, **kw): return packing.u16(self.recvn(2), *a, ... method u8 (line 1667) | def u8(self, *a, **kw): return packing.u8(self.recvn(1), *a, *... method unpack (line 1668) | def unpack(self, *a, **kw): return packing.unpack(self.recvn(conte... method flat (line 1670) | def flat(self, *a, **kw): return self.send(packing.flat(*a,**kw)) method fit (line 1671) | def fit(self, *a, **kw): return self.send(packing.fit(*a, **kw)) method make_wrapper (line 1675) | def make_wrapper(func): method make_wrapper (line 1703) | def make_wrapper(func, alias): FILE: pwnlib/ui.py function testpwnproc (line 16) | def testpwnproc(cmd): function yesno (line 47) | def yesno(prompt, default=None): function options (line 127) | def options(prompt, opts, default = None): function pause (line 254) | def pause(n=None): function more (line 302) | def more(text): FILE: pwnlib/update.py function read_update_config (line 46) | def read_update_config(settings): function available_on_pypi (line 65) | def available_on_pypi(prerelease=current_version.is_prerelease): function cache_file (line 92) | def cache_file(): function last_check (line 109) | def last_check(): function should_check (line 118) | def should_check(): function perform_check (line 130) | def perform_check(prerelease=current_version.is_prerelease): function check_automatically (line 194) | def check_automatically(): FILE: pwnlib/useragents.py function _load (line 11) | def _load(): function getall (line 23) | def getall(): function random (line 43) | def random(): FILE: pwnlib/util/crc/__init__.py class BitPolynom (line 29) | class BitPolynom(object): method __init__ (line 71) | def __init__(self, n): method __int__ (line 94) | def __int__(self): method __add__ (line 97) | def __add__(self, other): method __radd__ (line 100) | def __radd__(self, other): method __sub__ (line 103) | def __sub__(self, other): method __rsub__ (line 106) | def __rsub__(self, other): method __xor__ (line 109) | def __xor__(self, other): method __rxor__ (line 112) | def __rxor__(self, other): method __or__ (line 115) | def __or__(self, other): method __ror__ (line 118) | def __ror__(self, other): method __and__ (line 121) | def __and__(self, other): method __rand__ (line 124) | def __rand__(self, other): method __mul__ (line 127) | def __mul__(self, other): method __rmul__ (line 138) | def __rmul__(self, other): method __divmod__ (line 141) | def __divmod__(self, other): method __rdivmod__ (line 156) | def __rdivmod__(self, other): method __div__ (line 159) | def __div__(self, other): method __rdiv__ (line 163) | def __rdiv__(self, other): method __mod__ (line 170) | def __mod__(self, other): method __rmod__ (line 173) | def __rmod__(self, other): method __eq__ (line 176) | def __eq__(self, other): method __hash__ (line 179) | def __hash__(self): method __cmp__ (line 182) | def __cmp__(self, other): method __lshift__ (line 185) | def __lshift__(self, other): method __rlshift__ (line 188) | def __rlshift__(self, other): method __rshift__ (line 191) | def __rshift__(self, other): method __rrshift__ (line 194) | def __rrshift__(self, other): method __pow__ (line 197) | def __pow__(self, other): method degree (line 203) | def degree(self): method __repr__ (line 223) | def __repr__(self): class Module (line 237) | class Module(types.ModuleType): method __init__ (line 238) | def __init__(self): method __getattr__ (line 247) | def __getattr__(self, attr): method __dir__ (line 263) | def __dir__(self): method generic_crc (line 267) | def generic_crc(data, polynom, width, init, refin, refout, xorout): method _make_crc (line 314) | def _make_crc(name, polynom, width, init, refin, refout, xorout, check... method cksum (line 348) | def cksum(data): method find_crc_function (line 367) | def find_crc_function(data, checksum): FILE: pwnlib/util/crc/known.py function generate (line 5) | def generate(): FILE: pwnlib/util/cyclic.py function de_bruijn (line 10) | def de_bruijn(alphabet = None, n = None): function cyclic (line 47) | def cyclic(length = None, alphabet = None, n = None): function cyclic_find (line 134) | def cyclic_find(subseq, alphabet = None, n = None): function metasploit_pattern (line 256) | def metasploit_pattern(sets = None): function cyclic_metasploit (line 286) | def cyclic_metasploit(length = None, sets = None): function cyclic_metasploit_find (line 318) | def cyclic_metasploit_find(subseq, sets = None): function _gen_find (line 343) | def _gen_find(subseq, generator): function _join_sequence (line 360) | def _join_sequence(seq, alphabet): class cyclic_gen (line 368) | class cyclic_gen(object): method __init__ (line 409) | def __init__(self, alphabet = None, n = None): method get (line 422) | def get(self, length = None): method find (line 456) | def find(self, subseq): FILE: pwnlib/util/fiddling.py function unhex (line 23) | def unhex(s): function enhex (line 45) | def enhex(x): function urlencode (line 60) | def urlencode(s): function urldecode (line 72) | def urldecode(s, ignore_invalid = False): function bits (line 106) | def bits(s, endian = 'big', zero = 0, one = 1): function bits_str (line 163) | def bits_str(s, endian = 'big', zero = '0', one = '1'): function unbits (line 177) | def unbits(s, endian = 'big'): function bitswap (line 225) | def bitswap(s): function bitswap_int (line 243) | def bitswap_int(n, width): function b64e (line 273) | def b64e(s): function b64d (line 288) | def b64d(s): function xor (line 301) | def xor(*args, **kwargs): function xor_pair (line 360) | def xor_pair(data, avoid = b'\x00\n'): function xor_key (line 405) | def xor_key(data, avoid=b'\x00\n', size=None): function randoms (line 454) | def randoms(count, alphabet = string.ascii_lowercase): function rol (line 475) | def rol(n, k, word_size = None): function ror (line 518) | def ror(n, k, word_size = None): function naf (line 523) | def naf(n): function isprint (line 549) | def isprint(c): function hexii (line 559) | def hexii(s, width = 16, skip = True): function _hexiichar (line 575) | def _hexiichar(c): function sequential_lines (line 597) | def sequential_lines(a,b): function update_cyclic_pregenerated (line 600) | def update_cyclic_pregenerated(size): function hexdump_iter (line 605) | def hexdump_iter(fd, width=16, skip=True, hexii=False, begin=0, style=None, function hexdump (line 769) | def hexdump(s, width=16, skip=True, hexii=False, begin=0, style=None, function negate (line 966) | def negate(value, width = None): function bnot (line 975) | def bnot(value, width=None): function js_escape (line 985) | def js_escape(data, padding=context.cyclic_alphabet[0:1], **kwargs): function js_unescape (line 1027) | def js_unescape(s, **kwargs): function tty_escape (line 1095) | def tty_escape(s, lnext=b'\x16', dangerous=bytes(bytearray(range(0x20)))): FILE: pwnlib/util/getdents.py class Dtype (line 8) | class Dtype(IntEnum): class linux_dirent (line 20) | class linux_dirent: method __init__ (line 68) | def __init__(self, buf: bytes, is_dirent64: bool): method __len__ (line 85) | def __len__(self): method __str__ (line 88) | def __str__(self): method __repr__ (line 91) | def __repr__(self): function dirents (line 95) | def dirents(buf: bytes) -> list[linux_dirent]: function dirents64 (line 128) | def dirents64(buf: bytes) -> list[linux_dirent]: FILE: pwnlib/util/hashes.py function _closure (line 7) | def _closure(): FILE: pwnlib/util/iters.py function take (line 66) | def take(n, iterable): function tabulate (line 94) | def tabulate(func, start = 0): function consume (line 113) | def consume(n, iterator): function nth (line 152) | def nth(n, iterable, default = None): function quantify (line 181) | def quantify(iterable, pred = bool): function pad (line 204) | def pad(iterable, value = None): function cyclen (line 232) | def cyclen(n, iterable): function dotproduct (line 254) | def dotproduct(x, y): function flatten (line 274) | def flatten(xss): function repeat_func (line 297) | def repeat_func(func, *args, **kwargs): function pairwise (line 342) | def pairwise(iterable): function group (line 364) | def group(n, iterable, fill_value = None): function roundrobin (line 391) | def roundrobin(*iterables): function powerset (line 421) | def powerset(iterable, include_empty = True): function unique_everseen (line 446) | def unique_everseen(iterable, key = None): function unique_justseen (line 482) | def unique_justseen(iterable, key = None): function unique_window (line 507) | def unique_window(iterable, window, key = None): function iter_except (line 547) | def iter_except(func, exception): function random_product (line 584) | def random_product(*args, **kwargs): function random_permutation (line 611) | def random_permutation(iterable, r = None): function random_combination (line 633) | def random_combination(iterable, r): function random_combination_with_replacement (line 655) | def random_combination_with_replacement(iterable, r): function lexicographic (line 681) | def lexicographic(alphabet): function chained (line 703) | def chained(func): function bruteforce (line 736) | def bruteforce(func, alphabet, length, method = 'upto', start = None, da... function _mbruteforcewrap (line 835) | def _mbruteforcewrap(func, alphabet, length, method, start, databag): class CustomPickler (line 843) | class CustomPickler: method __init__ (line 844) | def __init__(self, *reduction): method __reduce__ (line 847) | def __reduce__(self): method __repr__ (line 850) | def __repr__(self): function construct_func (line 854) | def construct_func(*args): class PicklableFunc (line 858) | class PicklableFunc: method __init__ (line 859) | def __init__(self, f): method __call__ (line 862) | def __call__(self, *a, **kw): method __getattr__ (line 865) | def __getattr__(self, a): method __reduce__ (line 868) | def __reduce__(self): function mbruteforce (line 891) | def mbruteforce(func, alphabet, length, method = 'upto', start = None, t... FILE: pwnlib/util/lists.py function partition (line 4) | def partition(lst, f, save_keys = False): function group (line 37) | def group(n, lst, underfull_action = 'ignore', fill_value = None): function concat (line 95) | def concat(l): function concat_all (line 113) | def concat_all(*args): function ordlist (line 134) | def ordlist(s): function unordlist (line 146) | def unordlist(cs): function findall (line 158) | def findall(haystack, needle): FILE: pwnlib/util/misc.py function align (line 27) | def align(alignment, x): function align_down (line 40) | def align_down(alignment, x): function binary_ip (line 53) | def binary_ip(host): function size (line 66) | def size(n, abbrev = 'B', si = False): function read (line 117) | def read(path, count=-1, skip=0): function write (line 134) | def write(path, data = b'', create_dir = False, mode = 'w'): function which (line 144) | def which(name, all = False, path=None): function normalize_argv_env (line 206) | def normalize_argv_env(argv, env, log, level=2): function run_in_new_terminal (line 266) | def run_in_new_terminal(command, terminal=None, args=None, kill_at_exit=... function parse_ldd_output (line 562) | def parse_ldd_output(output): function mkdir_p (line 594) | def mkdir_p(path): function dealarm_shell (line 605) | def dealarm_shell(tube): function register_sizes (line 622) | def register_sizes(regs, in_sizes): function _create_execve_script (line 739) | def _create_execve_script(argv=None, executable=None, cwd=None, env=None... FILE: pwnlib/util/net.py class struct_sockaddr (line 15) | class struct_sockaddr(ctypes.Structure): class struct_sockaddr_in (line 23) | class struct_sockaddr_in(ctypes.Structure): class struct_sockaddr_in6 (line 32) | class struct_sockaddr_in6(ctypes.Structure): class union_ifa_ifu (line 42) | class union_ifa_ifu(ctypes.Union): class struct_ifaddrs (line 47) | class struct_ifaddrs(ctypes.Structure): function sockaddr_fixup (line 61) | def sockaddr_fixup(saptr): function getifaddrs (line 76) | def getifaddrs(): function interfaces (line 125) | def interfaces(all = False): function interfaces4 (line 151) | def interfaces4(all = False): function interfaces6 (line 177) | def interfaces6(all = False): function sockaddr (line 203) | def sockaddr(host, port, network = 'ipv4'): function sock_match (line 240) | def sock_match(local, remote, fam=socket.AF_UNSPEC, typ=0): FILE: pwnlib/util/packing.py function pack (line 46) | def pack(number, word_size = None, endianness = None, sign = None, **kwa... function unpack (line 162) | def unpack(data, word_size = None): function unpack_many (line 236) | def unpack_many(data, word_size = None): function make_single (line 298) | def make_single(op,size,end,sign): function _do_packing (line 342) | def _do_packing(op, size, number, endianness=None): function p8 (line 360) | def p8(number, endianness = None, **kwargs): function p16 (line 378) | def p16(number, endianness = None, **kwargs): function p32 (line 403) | def p32(number, endianness = None, **kwargs): function p40 (line 428) | def p40(number, endianness = None, **kwargs): function p48 (line 453) | def p48(number, endianness = None, **kwargs): function p56 (line 478) | def p56(number, endianness = None, **kwargs): function p64 (line 503) | def p64(number, endianness = None, **kwargs): function u8 (line 528) | def u8(data, endianness = None, **kwargs): function u16 (line 546) | def u16(data, endianness = None, **kwargs): function u32 (line 564) | def u32(data, endianness = None, **kwargs): function u40 (line 582) | def u40(data, endianness = None, **kwargs): function u48 (line 600) | def u48(data, endianness = None, **kwargs): function u56 (line 618) | def u56(data, endianness = None, **kwargs): function u64 (line 636) | def u64(data, endianness = None, **kwargs): function make_packer (line 653) | def make_packer(word_size = None, sign = None, **kwargs): function make_unpacker (line 717) | def make_unpacker(word_size = None, endianness = None, sign = None, **kw... function _fit (line 778) | def _fit(pieces, preprocessor, packer, filler, stacklevel=1): function _flat (line 853) | def _flat(args, preprocessor, packer, filler, stacklevel=1): function flat (line 889) | def flat(*args, **kwargs): function fit (line 1061) | def fit(*args, **kwargs): function signed (line 1103) | def signed(integer): function unsigned (line 1106) | def unsigned(integer): function dd (line 1109) | def dd(dst, src, count = 0, skip = 0, seek = 0, truncate = False): function _need_bytes (line 1294) | def _need_bytes(s, level=1, min_wrong=0): function _need_text (line 1316) | def _need_text(s, level=1): function _encode (line 1338) | def _encode(s): function _decode (line 1349) | def _decode(b): function overlap (line 1362) | def overlap(*structs: bytes | tuple[bytes, int]) -> bytes: FILE: pwnlib/util/proc.py function pidof (line 17) | def pidof(target): function pid_by_name (line 65) | def pid_by_name(name): function name (line 99) | def name(pid): function parent (line 116) | def parent(pid): function children (line 131) | def children(ppid): function ancestors (line 142) | def ancestors(pid): function descendants (line 162) | def descendants(pid): function exe (line 190) | def exe(pid): function cwd (line 206) | def cwd(pid): function cmdline (line 223) | def cmdline(pid): function memory_maps (line 239) | def memory_maps(pid): function stat (line 257) | def stat(pid): function starttime (line 279) | def starttime(pid): function status (line 295) | def status(pid): function _tracer_windows (line 323) | def _tracer_windows(pid): function tracer (line 359) | def tracer(pid): function state (line 379) | def state(pid): function wait_for_debugger (line 395) | def wait_for_debugger(pid, debugger_pid=None): FILE: pwnlib/util/safeeval.py function _get_opcodes (line 22) | def _get_opcodes(codeobj): function test_expr (line 34) | def test_expr(expr, allowed_codes): function const (line 53) | def const(expr): function expr (line 77) | def expr(expr): function values (line 101) | def values(expr, env): FILE: pwnlib/util/sh_string.py function test_all (line 251) | def test_all(): function test (line 275) | def test(original): function sh_string (line 361) | def sh_string(s): function sh_prepare (line 440) | def sh_prepare(variables, export = False): function sh_command_with (line 491) | def sh_command_with(f, *args): FILE: pwnlib/util/splash.py function splash (line 26) | def splash(): FILE: pwnlib/util/web.py function wget (line 10) | def wget(url, save=None, timeout=5, **kwargs): FILE: pwnlib/windbg.py function debug (line 77) | def debug(args, windbgscript=None, exe=None, env=None, creationflags=0, ... function binary (line 125) | def binary(): function attach (line 139) | def attach(target, windbgscript=None, windbg_args=[]): FILE: travis/docker/ipython_config.py class ClassicPrompts (line 45) | class ClassicPrompts(Prompts): method in_prompt_tokens (line 46) | def in_prompt_tokens(self, cli=None): method continuation_prompt_tokens (line 51) | def continuation_prompt_tokens(self, cli=None, width=None): method rewrite_prompt_tokens (line 56) | def rewrite_prompt_tokens(self): method out_prompt_tokens (line 59) | def out_prompt_tokens(self):