Skip to content

Installation Without Docker

Pavan edited this page Jun 11, 2019 · 1 revision

If you don't docker set up, follow the below steps to use Sh00t:

Installation:

  1. Get the latest Sh00t: https://github.com/pavanw3b/sh00t/ Clone (requires git installed):

git clone https://github.com/pavanw3b/sh00t.git or download the latest code as zip and extract it.

  1. Install Python3 if not installed already. Note that it's Python 3, not Python 2.

  2. Install Pip3 if not installed already. Make sure to install Python 3 pip, not Python 2.

  3. Navigate to Sh00t directory on your Terminal: cd sh00t

  4. Run the setup:

Windows: setup.bat

Linux/Mac: ./setup.sh

The setup script will install virtualenv, an isolated python environment, create a new environment named env, install the required dependencies in the environment, create & setup the database, create an user account, create 174 Security Test Cases from OWASP Testing Guide (OTG) and Web Application Hackers Handbook (WAHH) and start the server. It also creates an user account for you with username and password both as sh00t.

  1. Logon to http://127.0.0.1:8000/ on your favorite browser. Login with the user credentials your provided in the previous step.

Starting Sh00t later:

  1. Run:

Windows: run.bat

Linux/Mac: ./run.sh

  1. Logon to http://127.0.0.1:8000/ on your favorite browser. Login with the user credentials your provided at the time of installation.

Upgrade:

  1. Stop the server if it's running: Ctrl + C
  2. Navigate to the folder where Sh00t was set up: cd sh00t
  3. Get the latest source code either with git pull or download and copy the files. Make sure not to delete db.sqlite3 file when copying files manually. You will lose your data if the file is lost.
  4. Run the upgrade script:

Windows: upgrage.bat Linux/Mac: ./upgrade.sh

  1. Start Sh00t again:

Windows: run.bat

Linux: ./run.sh

Logon to or reload: http://127.0.0.1:8000/

Clone this wiki locally