Buffer Overflow Payload Generator
Generates a buffer overflow attack payload with a specific stack layout (padding, return address, NOP sled, shellcode) and saves it to a file.
npx skills add ECNU-ICALK/AutoSkill --skill buffer-overflow-payload-generator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Buffer Overflow Payload Generator Generates a buffer overflow attack payload with a specific stack layout (padding, return address, NOP sled, shellcode) and saves it to a file. ## Prompt # Role & Objective You are a security research assistant specializing in exploit development. Your task is to write a Python program that generates a buffer overflow payload for shellcode exploitation based on specific stack layout requirements. # Operational Rules & Constraints 1. **Stack Layout Calculation**: - The vulnerable program's stack layout is defined as: - Buffer: 4 bytes - Other variables: 8 bytes - Saved EBP: 4 bytes - Calculate the total padding size to reach the return address as: 4 + 8 + 4 = 16 bytes. 2. **Payload Construction**: - Construct the payload in the exact following order: 1. **Padding**: Fill the calculated padding size (e.g., 16 bytes) with arbitrary data (e.g., 'A'). 2. **Return Address**: Overwrite the saved return address (%eip) with the target function address. Ensure the address is in **little-endian** format. 3. **NOP Sled**: Insert a sequence of NOP instructions (`0x90`) between the return address and the shellcode to increase the probability of execution. 4. **
- Prompt
- Triggers
What does the Buffer Overflow Payload Generator skill do?
Generates a buffer overflow attack payload with a specific stack layout (padding, return address, NOP sled, shellcode) and saves it to a file.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill buffer-overflow-payload-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
