Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
ptrlib documentation
ptrlib documentation

Contents

  • Installation
  • Quickstart
  • API
    • ptrlib
      • ptrlib.algorithm
        • ptrlib.algorithm.shortestpath
          • ptrlib.algorithm.shortestpath.algorithms
            • ptrlib.algorithm.shortestpath.algorithms.astar
            • ptrlib.algorithm.shortestpath.algorithms.bulkdijkstra
            • ptrlib.algorithm.shortestpath.algorithms.dijkstra
            • ptrlib.algorithm.shortestpath.algorithms.floydwarshall
          • ptrlib.algorithm.shortestpath.base
          • ptrlib.algorithm.shortestpath.shortestpath
          • ptrlib.algorithm.shortestpath.types
          • ptrlib.algorithm.shortestpath.utils
            • ptrlib.algorithm.shortestpath.utils.lazylist
      • ptrlib.binary
        • ptrlib.binary.encoding
          • ptrlib.binary.encoding.ansi
          • ptrlib.binary.encoding.bitconv
          • ptrlib.binary.encoding.byteconv
          • ptrlib.binary.encoding.char
          • ptrlib.binary.encoding.dump
          • ptrlib.binary.encoding.table
        • ptrlib.binary.operation
          • ptrlib.binary.operation.rotate
          • ptrlib.binary.operation.xor
        • ptrlib.binary.packing
          • ptrlib.binary.packing.chunks
          • ptrlib.binary.packing.flat
          • ptrlib.binary.packing.pack
          • ptrlib.binary.packing.unpack
        • ptrlib.binary.statistics
          • ptrlib.binary.statistics.statistics
      • ptrlib.connection
        • ptrlib.connection.proc
        • ptrlib.connection.server
        • ptrlib.connection.sock
        • ptrlib.connection.ssh
        • ptrlib.connection.tube
        • ptrlib.connection.unixproc
        • ptrlib.connection.winproc
      • ptrlib.console
        • ptrlib.console.color
      • ptrlib.cpu
        • ptrlib.cpu.arm
          • ptrlib.cpu.arm.assembler
          • ptrlib.cpu.arm.cpu
          • ptrlib.cpu.arm.disassembler
          • ptrlib.cpu.arm.instructions
          • ptrlib.cpu.arm.syscall
        • ptrlib.cpu.assembler
        • ptrlib.cpu.cpu
        • ptrlib.cpu.external
        • ptrlib.cpu.intel
          • ptrlib.cpu.intel.assembler
          • ptrlib.cpu.intel.cpu
          • ptrlib.cpu.intel.disassembler
          • ptrlib.cpu.intel.instructions
          • ptrlib.cpu.intel.syscall
        • ptrlib.cpu.mips
          • ptrlib.cpu.mips.assembler
          • ptrlib.cpu.mips.cpu
          • ptrlib.cpu.mips.disassembler
          • ptrlib.cpu.mips.instructions
          • ptrlib.cpu.mips.syscall
      • ptrlib.crypto
        • ptrlib.crypto.blockcipher
          • ptrlib.crypto.blockcipher.ecb
          • ptrlib.crypto.blockcipher.padcbc
          • ptrlib.crypto.blockcipher.padding
        • ptrlib.crypto.hashing
          • ptrlib.crypto.hashing.crc
          • ptrlib.crypto.hashing.lenext
          • ptrlib.crypto.hashing.md5
          • ptrlib.crypto.hashing.sha1
          • ptrlib.crypto.hashing.sha256
        • ptrlib.crypto.number
          • ptrlib.crypto.number.crt
          • ptrlib.crypto.number.gcd
          • ptrlib.crypto.number.inverse
          • ptrlib.crypto.number.root
        • ptrlib.crypto.password
          • ptrlib.crypto.password.bruteforce
        • ptrlib.crypto.rsa
          • ptrlib.crypto.rsa.common_modulus
          • ptrlib.crypto.rsa.hastads_broadcast
          • ptrlib.crypto.rsa.lsb_leak
      • ptrlib.debugger
        • ptrlib.debugger.unix
          • ptrlib.debugger.unix.debug
          • ptrlib.debugger.unix.process
      • ptrlib.filestruct
        • ptrlib.filestruct.bunkai
        • ptrlib.filestruct.elf
          • ptrlib.filestruct.elf.elf
          • ptrlib.filestruct.elf.enums
          • ptrlib.filestruct.elf.parser
          • ptrlib.filestruct.elf.structs
        • ptrlib.filestruct.pcap
          • ptrlib.filestruct.pcap.emulator
        • ptrlib.filestruct.pe
          • ptrlib.filestruct.pe.enums
          • ptrlib.filestruct.pe.parser
          • ptrlib.filestruct.pe.pe
          • ptrlib.filestruct.pe.structs
      • ptrlib.os
        • ptrlib.os.linux
          • ptrlib.os.linux.consts
            • ptrlib.os.linux.consts.file
            • ptrlib.os.linux.consts.memory
            • ptrlib.os.linux.consts.personality
            • ptrlib.os.linux.consts.process
            • ptrlib.os.linux.consts.ptrace
            • ptrlib.os.linux.consts.signal
            • ptrlib.os.linux.consts.socket
          • ptrlib.os.linux.signal
          • ptrlib.os.linux.syscall
        • ptrlib.os.path
      • ptrlib.pwn
        • ptrlib.pwn.fsb
          • ptrlib.pwn.fsb.fsb
        • ptrlib.pwn.xop
          • ptrlib.pwn.xop.rop
          • ptrlib.pwn.xop.srop
      • ptrlib.types
        • ptrlib.types.enums
        • ptrlib.types.genint
Back to top
View this page

ptrlib DocumentationΒΆ

ptrlib is a Python library which bundles security-related utilities for CTF players.

Contents

  • Installation
    • Requirements
    • Install from PyPI
    • Install from source (this repository)
    • Optional external tools
  • Quickstart
    • Connections
    • ELF parsing
    • CPU helpers
  • API
    • ptrlib
Next
Installation
Copyright © 2025, ptr-yudai
Made with Sphinx and @pradyunsg's Furo