AutoSpear
AutoSpear
File Explorer
Download Latest Version (.zip)- mcts.py
- attacker.py
- ml_client.py
- wafaas_client.py
- __init__.py
- model.py
- tools.py
- Dockerfile
- interface.py
- model.pt
- punkt.zip
- requirements.txt
- server.py
- word2idx.json
- __init__.py
- model.py
- tools.py
- Dockerfile
- interface.py
- model.pt
- punkt.zip
- requirements.txt
- server.py
- word2idx.json
- coreruleset-3.3.2.tar.gz
- Dockerfile
- modsecurity-nginx-v1.0.2.tar.gz
- modsecurity-v3.0.6.tar.gz
- modsecurity.conf
- nginx.conf
- openresty-1.19.9.1.tar.gz
- Dockerfile
- interface.py
- requirements.txt
- server.py
- waf-brain.h5
- README.md
- .gitkeep
- mutation.png
- output.png
- success.png
- cfg_conf.py
- cfg_func.py
- misc_utils.py
- parser.py
- semantic_type.py
- tree.py
- global_vars.py
- LICENSE
- main.py
- payload_benign.txt
- payload_multiple.txt
- payload_single.txt
- README.md
- requirements.txt
# Installation Guide
git clone https://github.com/u21h2/AutoSpear
Downloads the entire project code from GitHub to your computer.
cd AutoSpear
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Python 3 Python is required to use pip.
pip3 install virtualenv
Installs the package published on PyPI directly โ no need to clone the source.
Pulled directly from this repo's README.
3. Docker
Easy- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -t waf/modsecurity:v1 classifiers/repos/modsecurity/
Builds a runnable image based on the Dockerfile.
docker run -d -p 9000:80 --name=modsecurity waf/modsecurity:v1 /usr/local/openresty/nginx/sbin/nginx -g "daemon off;"
Runs the built image as an actual container.
docker build -t waf/wafbrain:v1 classifiers/repos/wafbrain/
Builds a runnable image based on the Dockerfile.
docker run -p 9001:80 -d --name=wafbrain waf/wafbrain:v1
Runs the built image as an actual container.
docker build -t waf/cnn:v1 classifiers/repos/cnn/
Builds a runnable image based on the Dockerfile.
Pulled directly from this repo's README.
4. Python
Easypip3 install virtualenv
Installs the package published on PyPI directly โ no need to clone the source.
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
Pulled directly from this repo's README.
