Deploy ParrotOS
Parrot OS Core and Security: web terminal, SSH, pentest tools that persist.
parrotos
Just deployed
/root
Deploy and Host ParrotOS on Railway
ParrotOS (Parrot Security) is a Debian-based Linux distribution for penetration testing, security research and privacy. This template gives you an always-on Parrot OS 7 shell, built on the official parrotsec/core image, that you open in a browser tab or over SSH. The command-line tools most people install the Security edition for are already there, and anything you apt install on top comes back after a redeploy.
About Hosting ParrotOS
One service, one volume at /root. You reach the box in two ways:
- The Railway domain is a password-protected web terminal.
- SSH goes through Railway's TCP proxy.
Every browser tab attaches to the same tmux session, so a scan keeps running when you close the tab and is still there when you come back.
What persists:
- Your home directory (
/root) lives on the volume: scripts, loot, wordlists, dotfiles, shell history. - Packages you
apt installare recorded on the volume, together with any apt sources and keys you added, and reinstalled on boot. - SSH host keys, so clients don't warn after a redeploy.
Common Use Cases
- A Parrot Security shell for CTFs, Hack The Box and TryHackMe from any device, including a tablet or a locked-down work laptop
- Long scans and brute-force jobs that keep running in
tmuxafter you disconnect - A fixed remote box for authorized penetration tests and bug bounty recon
- Learning the Parrot and Kali toolset without installing a VM
- A clean, disposable Debian-based Linux shell with a persistent home
Dependencies for ParrotOS Hosting
- None. Single service, no database.
Deployment Dependencies
- Parrot Security official
parrotsec/coreimage - ttyd web terminal
Implementation Details
First use: open your Railway domain and log in with WEB_USER and the generated WEB_PASSWORD, which are in the service's Variables tab.
Tools in the image:
- Network: nmap, masscan, netcat, socat, hping3, arp-scan, tcpdump, ngrep, proxychains4
- Recon: dnsenum, dnsrecon, whatweb, wafw00f, sslscan, enum4linux, smbclient, smbmap, nbtscan
- Web: sqlmap, nikto, gobuster, ffuf, dirb, wfuzz, wpscan
- Passwords: hydra, medusa, john, hashid, crunch, cewl, and
/usr/share/wordlistswith rockyou - Exploitation: searchsploit (Exploit-DB), NetExec, Impacket, evil-winrm, Responder
- Analysis: gdb, radare2, binwalk, exiftool, steghide
- git, Python 3 with pip and venv, build-essential, vim, nano, jq, ripgrep
Core or Security edition: the box is Parrot Core plus the tools above. The rest of the Security edition is one command away, and it stays installed across redeploys:
apt update
apt install metasploit-framework
apt install parrot-tools-web parrot-tools-password
The groups are parrot-tools-infogathering, -web, -pwn, -password, -vuln, -sniff, -wireless, -forensics, -reversing, -cloud, -postexploit, -maintain, -reporting and -ai; parrot-tools-full is all of them. To have them installed on every boot without typing anything, list them in the PARROT_TOOLS variable.
SSH: Railway creates a TCP proxy for port 22 on deploy. Copy the host and port from Settings → Networking and run ssh root@‹host› -p ‹port› with ROOT_PASSWORD. For key-only login, add your public key to AUTHORIZED_KEYS and clear ROOT_PASSWORD.
Notes and limits:
- The box idles at about 30 MB of RAM, so it runs on the Free plan (512 MB). Size up for what you run.
- Free and Trial services have 1 GB of temporary disk. Small installs fit; Metasploit (2.3 GB) and the
parrot-tools-*groups (1 to 6 GB each, 19 GB for all) need the Hobby plan or larger. On a small plan the boot install skips them and tells you so in the terminal, instead of filling the disk. - Only apt packages are replayed. Tools installed with
pip,go installorgit cloneshould live in your home directory. - Everything outside
/rootresets on redeploy, as in any container. - This is a container, not a VM: no raw Wi-Fi or USB hardware, no kernel modules, and no desktop. Wireless and GUI tools (Burp Suite, ZAP, Wireshark's window) are not what it is for.
- You are root. The web terminal password guards a root shell, so keep it strong.
- Only test systems you own or have written permission to test, and follow Railway's terms of service.
- Want a plain Ubuntu box instead? The same author publishes Linux and Linux Terminal.
Why Deploy ParrotOS on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying ParrotOS on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
