
darkknight25/REDTEAM_GPT
Text Generation
β’
Updated
category
stringclasses 51
values | command
stringlengths 1
755
| description
stringlengths 3
70
β |
---|---|---|
Linux Network Commands | watch ss -tp | Network connections |
Linux Network Commands | netstat -ant | Tcp connections -anu=udp |
Linux Network Commands | netstat -tulpn | Connections with PIDs |
Linux Network Commands | lsof -i | Established connections |
Linux Network Commands | smb://ip/share | Access windows smb share |
Linux Network Commands | share user x.x.x.x c$ | Mount Windows share |
Linux Network Commands | smbclient -U user \\ip\share | SMB connect |
Linux Network Commands | ifconfig eth0 ip/cidr | Set IP and netmask |
Linux Network Commands | ifconfig eth0:1 ip/cidr | Set virtual interface |
Linux Network Commands | route add default gw gw_ip | Set GW |
Linux Network Commands | ifconfig eth0 mtu [size] | Change MTU size |
Linux Network Commands | ifconfig int hw ether | Change MAC |
Linux Network Commands | macchanger -r int | Randomize MAC |
Linux Network Commands | iwlist int scan | Built-in wifi scanner |
Linux Network Commands | dig -x ip | Domain lookup for IP |
Linux Network Commands | host ip | Domain lookup for IP |
Linux Network Commands | host -t srv _service._tcp.url.com | Domain SRV lookup |
Linux Network Commands | dig @ip domain -t AXFR | DNS zone transfer |
Linux Network Commands | host -l domain nameserver | DNS zone transfer |
Linux Network Commands | ip xfrm state list | Print existing VPN keys |
Linux Network Commands | ip addr add ip/cidr dev eth0 | Add 'hidden' interface |
Linux Network Commands | /var/log/messages | grep DHCP | List DHCP assignments |
Linux Network Commands | tcpkill host ip and port port | Block ip/port |
Linux Network Commands | echo "1" > /proc/sys/net/ipv4/ip_forward | Turn on IP forwarding |
Linux Network Commands | echo "nameserver x.x.x.x" > /etc/resolv.conf | Add DNS server |
Linux System Info | nbtstat -A ip | Get hostname for IP |
Linux System Info | id | Current username |
Linux System Info | w | Logged on users |
Linux System Info | who -a | User information |
Linux System Info | last -a | Last users logged on |
Linux System Info | ps -ef | Process listing |
Linux System Info | df -h | Disk usage (free) |
Linux System Info | uname -a | Kernel version/CPU info |
Linux System Info | mount | Mounted file systems |
Linux System Info | getent passwd | Show list of users |
Linux System Info | PATH=$PATH:/home/mypath | Add to PATH variable |
Linux System Info | kill pid | Kills process with pid |
Linux System Info | cat /etc/issue | Show OS info |
Linux System Info | cat /etc/*release* | Show OS version info |
Linux System Info | cat /proc/version | Show kernel info |
Linux System Info | rpm --query -all | Installed packages (Redhat) |
Linux System Info | rpm -ivh *.rpm | Install RPM package |
Linux System Info | dpkg --get-selections | Installed packages (Ubuntu) |
Linux System Info | dpkg -I *.deb | Installed packages (Ubuntu) |
Linux System Info | pkginfo | Installed packages (Solaris) |
Linux System Info | which tcsh/csh/ksh/bash | Show location of executable |
Linux System Info | chmod 500 tcsh/csh/ksh | Disable shell, force bash |
Linux Utility Commands | rdestop ip | Grab VNC desktop from IP |
Linux Utility Commands | scp /src/file [email protected]:/dst/file | Copy file to remote host |
Linux Utility Commands | scp user@remoteip:/src/file /dst/file | Get file from remote host |
Linux Utility Commands | useradd -m user | Add user |
Linux Utility Commands | passwd user | Change user password |
Linux Utility Commands | rmuser username | Remove user |
Linux Utility Commands | script -a outfile | Record shell (Ctrl+D stops) |
Linux Utility Commands | apropos subject | Find related command |
Linux Utility Commands | history | View user command history |
Linux Utility Commands | !num | Execute line in history |
Linux Utility Commands | diff file1 file2 | Compare files |
Linux Utility Commands | rm -rf dir | Force delete directory |
Linux Utility Commands | shred -f -u file | Overwrite/delete file |
Linux Utility Commands | touch -r ref_file file | Match ref_file timestamp |
Linux Utility Commands | touch -t YYYYMMDDHHMM file | Set file timestamp |
Linux Utility Commands | sudo fdisk -l | List connected drives |
Linux Utility Commands | mount /dev/sda1 /mnt/usbkey | Mount USB key |
Linux Utility Commands | md5sum file | Compute MD5 hash |
Linux Utility Commands | echo -n "str" | md5sum | Generate MD5 hash |
Linux Utility Commands | sha1sum file | SHA1 hash of file |
Linux Utility Commands | sort -u file | Sort/show unique lines |
Linux Utility Commands | grep -c "str" file | Count lines with "str" |
Linux Utility Commands | tar cf file.tar files | Create tar from files |
Linux Utility Commands | tar xf file.tar | Extract tar |
Linux Utility Commands | tar czf file.tar.gz files | Create tar.gz |
Linux Utility Commands | tar xzf file.tar.gz | Extract tar.gz |
Linux Utility Commands | tar cjf file.tar.bz2 files | Create tar.bz2 |
Linux Utility Commands | tar xjf file.tar.bz2 | Extract tar.bz2 |
Linux Utility Commands | gzip file | Compress/rename file |
Linux Utility Commands | gzip -d file.gz | Decompress file.gz |
Linux Utility Commands | upx -9 -o out.exe orig.exe | UPX pack orig.exe |
Linux Utility Commands | zip -r zipname.zip directory | Create zip |
Linux Utility Commands | dd skip=1000 count=2000 bs=8 if=file of=file | Cut block 1K-3K from file |
Linux Utility Commands | split -b 9K file prefix | Split file into 9K chunks |
Linux Utility Commands | find / -name file -type f -name "*.pdf" | Find PDF files |
Linux Utility Commands | find / -perm -4000 -o -perm -2000 -exec ls -l {} \; | Search for setuid/setgid files |
Linux Utility Commands | dos2unix file | Convert to Unix format |
Linux Utility Commands | file file | Determine file type/info |
Linux Utility Commands | chattr +i file | Set immutable bit |
Linux Utility Commands | chattr -i file | Unset immutable bit |
Linux Misc Commands | unset HISTFILE | Disable history logging |
Linux Misc Commands | arecord - | aplay - | Record remote mic |
Linux Misc Commands | gcc -o outfile myfile.c | Compile C/C++ |
Linux Misc Commands | init 6 | Reboot (no shutdown) |
Linux Misc Commands | cat /etc/*syslog*.conf | grep -v "^\s*#" | List log files |
Linux Misc Commands | grep "href=" file | cut -d"/" -f3 | grep url | sort -u | Strip links in url.com |
Linux Misc Commands | dd if=/dev/urandom of=file bs=3145728 count=100 | Make random 300MB file |
Linux Cover Your Tracks | echo "" > /var/log/auth.log | Clear auth.log file |
Linux Cover Your Tracks | echo "" > ~/.bash_history | Clear current user bash history |
Linux Cover Your Tracks | rm ~/.bash_history -rf | Delete .bash_history file |
Linux Cover Your Tracks | history -c | Clear current session history |
Linux Cover Your Tracks | export HISTSIZE=0 | Set history max lines to 0 |
Linux Cover Your Tracks | export HISTFILESIZE=0 | Set history max commands to 0 |
license: mit size_categories:
A structured and machine-readable dataset extracted from the Red Team Field Manual (RTFM). This collection of categorized terminal commands is designed for use in cybersecurity tooling, AI fine-tuning, command recommendation engines, and red team automation systems.
The dataset is provided in .jsonl
(JSON Lines) format, where each line represents a command entry with the following fields:
category
β The logical section from the manual (e.g., "LINUX NETWORK COMMANDS"
)command
β The exact command-line syntaxdescription
β A brief explanation of the commandβs function{
"category": "LINUX NETWORK COMMANDS",
"command": "netstat -tulpn",
"description": "Show all TCP/UDP connections"
}
This dataset is suitable for:
Training/fine-tuning AI assistants or LLMs (e.g., GPT-style models)
Building context-aware command suggestion engines
Integrating into red team or blue team automation pipelines
Creating cheat sheet generators or CLI reference bots
π Statistics
Total entries: 696
Categories included:
Linux Networking
Windows System Information
Powershell
TCPDump
Covering Tracks
Firewall Bypass
and many more
βοΈ License
This dataset is shared under the CC0 1.0 Universal License (Public Domain Dedication). You are free to use, modify, and redistribute it for any purpose, including commercial.
Portions of this dataset are derived from the public content of the RTFM manual and restructured for machine learning research and educational use.
π€ Contributions
Pull requests are welcome! If you'd like to expand this dataset, clean entries, or add new sections (e.g., Active Directory, web enumeration, etc.), feel free to fork or open an issue.