← 返回命令列表

Linux command

pwntools 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start Python with pwntools

python -c "from pwn import *"

Create pwntools script

pwn template [binary] --host [host] --port [port]

Check binary security

checksec [binary]

Disassemble shellcode

disasm [hexstring]

说明

pwntools is a CTF framework and exploit development library for Python. It provides utilities for binary exploitation, shellcode generation, and remote connections.

FAQ

What is the pwntools command used for?

pwntools is a CTF framework and exploit development library for Python. It provides utilities for binary exploitation, shellcode generation, and remote connections.

How do I run a basic pwntools example?

Run `python -c "from pwn import *"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more pwntools examples?

This page includes 4 examples for pwntools, plus related commands for nearby Linux tasks.