GithubHelp home page GithubHelp logo

hexcowboy / saloon Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 88 KB

A pentest environment for the wild west

License: MIT License

Dockerfile 9.66% Makefile 0.65% Shell 33.09% Python 56.59%
docker pentest kali saloon

saloon's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.