← 返回命令列表

Linux command

pwn 命令

文本

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

常用示例

Example

pwn asm "xor edi, edi"

Example

pwn cyclic 100

Encode

pwn hex deadbeef

Decode

pwn unhex 6c4f7645

Example

pwn shellcraft amd64.linux.sh

Example

pwn checksec path/to/file

Example

pwn update

Example

pwn version

说明

pwn is the command-line interface for Pwntools, an exploit development library designed for rapid prototyping and CTF challenges. It provides utilities for assembly, shellcode generation, binary analysis, and data encoding. The tool supports multiple architectures and operating systems for security research and penetration testing.

参数

asm _code_
Convert assembly code to bytes
cyclic _length_
Create a cyclic pattern
hex _data_
Encode data to hexadecimal
unhex _hex_
Decode hexadecimal data
shellcraft _arch.os.shellcode_
Generate shellcode
checksec _file_
Check binary security settings
update
Check for updates
version
Display version

FAQ

What is the pwn command used for?

pwn is the command-line interface for Pwntools, an exploit development library designed for rapid prototyping and CTF challenges. It provides utilities for assembly, shellcode generation, binary analysis, and data encoding. The tool supports multiple architectures and operating systems for security research and penetration testing.

How do I run a basic pwn example?

Run `pwn asm "xor edi, edi"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does asm _code_ do in pwn?

Convert assembly code to bytes