hexcowboy / saloon

A pentest environment for the wild west

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Saloon

Saloon is a hacking environment that is rapidly available in the Docker cloud. Compared to the estimated 30 minute setup with Kali or Parrot, Saloon takes roughly 5 minutes to install.

🚀 Installation

Install from PyPI

pipx install saloon

🧨 Running Saloon

Once the container image is built, you can attach to Saloon with Docker

# Get a shell
saloon

# Run a command and then exit
saloon -- nmap -p80 -sC -sV scanme.nmap.org

Saving files between runs

Persistence is not available yet.

Networking

Networking is not available, but soon you will be able to do things like set up a netcat listener an accept incoming connections or set up a Burp Suite proxy.

Running GUI applications

The Docker container is compatible with X11. You just need to set your local XServer to listen on 127.0.0.1.

⚠️ All of the following setups disable access control on your X Server. Disabling access control allows outside connections to connect to your X Server. This is insecure if you allow network connections from the internet or from an untrusted network. Make sure your are on a secure network, like your home network, if you decide to use these instructions.

macOS Setup
  1. Install XQuartz
brew install --cask xquartz
  1. Enable XQuartz > Preferences > Security > Allow connections from network clients
  2. Add your local IP as an xhost
xhost + 127.0.0.1
  1. Test a GUI application
saloon -- wireshark
Windows Setup
  1. Install VcSrv
choco install -y vcxsrv
  1. Launch XLaunch from the start menu
  2. Accept all default settings, checking "Disable access control"
  3. If prompted, only allow access on Private networks
  4. Test a GUI application
saloon -- wireshark
Linux Setup

Linux desktops usually already come with an X Server installed.

  1. Disable access control
xhost +
  1. Test a GUI application
saloon -- wireshark

About

A pentest environment for the wild west

License:MIT License


Languages

Language:Python 56.6%Language:Shell 33.1%Language:Dockerfile 9.7%Language:Makefile 0.7%