-
Notifications
You must be signed in to change notification settings - Fork 60
Installation Without Docker
If you don't docker set up, follow the below steps to use Sh00t:
- Get the latest Sh00t:
https://github.com/pavanw3b/sh00t/
Clone (requiresgit
installed):
git clone https://github.com/pavanw3b/sh00t.git
or download the latest code as zip and extract it.
-
Install Python3 if not installed already. Note that it's Python 3, not Python 2.
-
Install Pip3 if not installed already. Make sure to install Python 3 pip, not Python 2.
-
Navigate to Sh00t directory on your Terminal:
cd sh00t
-
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
.
- 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:
- Run:
Windows: run.bat
Linux/Mac: ./run.sh
- Logon to http://127.0.0.1:8000/ on your favorite browser. Login with the user credentials your provided at the time of installation.
- Stop the server if it's running:
Ctrl + C
- Navigate to the folder where Sh00t was set up:
cd sh00t
- Get the latest source code either with
git pull
or download and copy the files. Make sure not to deletedb.sqlite3
file when copying files manually. You will lose your data if the file is lost. - Run the upgrade script:
Windows: upgrage.bat
Linux/Mac: ./upgrade.sh
- Start Sh00t again:
Windows: run.bat
Linux: ./run.sh
Logon to or reload: http://127.0.0.1:8000/