shellcraft
Shellcraft is a term used in computer security and exploit development to describe the programmatic construction of shellcode—small, executable machine code routines inserted into a running process to gain control or perform tasks. Rather than writing raw assembly by hand, researchers and developers use libraries and templates that generate architecture-specific code tailored to a given goal, such as spawning a shell or performing file and network operations.
One prominent implementation is the shellcraft module in the Pwntools framework. It provides a large collection
Supported architectures include x86 and x86_64, ARM and AArch64, MIPS, PowerPC, and others. In addition to spawning
Shellcraft promotes rapid payload generation but depends on the underlying environment and the target's syscall interface.
In practice, shellcraft is used by researchers, exploit developers, and red-team practitioners as part of broader