Skip to content
Main menu
  • Main page
  • Discover
  • Unexpected connections
  • Topics
  • Random article
  • Search
Your library
  • Saved articles
  • Recent discoveries
  • Rabbit-hole trails
Topic areas
  • Computer Science
  • Mathematics
  • Physics
  • Engineering
  • Biology
  • Economics
  • Curiosities
WikiholeDeeper into Wikipedia
EnglishEN
  • Saved
  • History

  • Article text and media come live from Wikipedia via the official MediaWiki API and are available under the Creative Commons Attribution-ShareAlike 4.0 License; additional terms may apply. Each article links to its source and revision.
  • WikiHole is an independent project and is not affiliated with the Wikimedia Foundation.
  • How ranking works
  • All topics
  • Reading history
  • Random article
  • MediaWiki API

Shellcode

  • Article
  • Rabbit hole
  • Read
  • View history
Tools
Actions
  • Read
  • View history
General
  • Recent changes
  • Related articles
  • Random discovery
This article
Reading time
8 min
Topic
Computer Science
Quality
B-class
Views
683 in 14 days
Last edited
29 Aug 2026
Print/export
  • Printable version
In other projects
  • Wikidata item
From Wikipedia, the free encyclopedia
Rabbit hole:
  1. Shellcode

Shellcode is executable code intended to be used as a payload for exploiting a software vulnerability. The term includes shell because the attack originally described an attack that opens a command shell that the attacker can use to control the target machine, but any code that is injected to gain access that is otherwise not allowed can be called shellcode. For this reason, some consider the name shellcode to be inaccurate.1

"Shell code" redirects here. For code written in a shell's command language, see Shell script.

"Alphanumeric executable" redirects here. For executable code presented in hexadecimal format, see Hex file (disambiguation).

An attack commonly injects data that consists of executable code into a process before or as it exploits a vulnerability to gain control. The program counter is set to the shellcode entry point so that the shellcode runs. Deploying shellcode is often accomplished by including the code in a file that a vulnerable process downloads and then loads into its memory.

Common wisdom dictates that to maximize effectiveness, a shellcode payload should be small.2 provides the flexibility needed to accomplish the goal. Shellcode leverage small opcodes to create compact shellcode.

Machine code
authors
3
4

Loading the rest of the article…

Recent changes

Rabbit hole

Where Shellcode leads. Every connection below has a source: a link in this article, a shared Wikipedia category, or CirrusSearch text similarity. Articles already on your trail are left out.

The rest of this article could not be loaded.

Wikipedia is rate limiting us right now. Try again in a minute.
Try again

Related articles are unavailable right now.

Wikipedia is rate limiting us right now. Try again in a minute.
Last edited
29 Aug 2026

Wikipedia did not return the list of recent edits.

View full revision history

General
  • Recent changes
  • Related articles
  • Random discovery
This article
Reading time
8 min
Topic
Computer Science
Quality
B-class
Views
683 in 14 days
Last edited
29 Aug 2026
Print/export
  • Printable version
In other projects
  • Wikidata item
Last edited
29 Aug 2026