API application #
This Cheat sheet focus on Installing different Vulnerable Web API applications that build with different technology stacks like Java, Nodejs, PHP and Python
Easier for peoples to download and install in different ways through Docker, Vagrant, VM, Manual, and Host in local machine.
Java Vulnerable API #
- Completely ridiculous API [crAPI]
- Docker
git clone https://github.com/OWASP/crAPI.gitcd crAPIcurl -o docker-compose.yml https://raw.githubusercontent.com/OWASP/crAPI/main/deploy/docker/docker-compose.ymldocker-compose pulldocker-compose -f docker-compose.yml --compatibility up -d- Browse
http://localhost:8888
- Vagrant
git clone https://github.com/OWASP/crAPI.gitcd deploy/vagrant && vagrant up- Browse http://192.168.33.20/
- Docker
Python Vulnerable API #
Damn Vulnerable GraphQL Application
- Docker Image
git clone https://github.com/dolevf/Damn-Vulnerable-GraphQL-Application.git && cd Damn-Vulnerable-GraphQL-Applicationdocker build -t dvga .docker build -t dvga -f Dockerfile.arm64 .docker run -d -t -p 5013:5013 -e WEB_HOST=0.0.0.0 --name dvga dvga- Browse http://localhost:5013/
- Docker Hub
docker pull dolevf/dvgadocker run -t -p 5013:5013 -e WEB_HOST=0.0.0.0 dolevf/dvga- Browse http://localhost:5013/
- Host in local machine
cd /opt/git clone [[email protected]](mailto:[email protected]):dolevf/Damn-Vulnerable-GraphQL-Application.git && cd Damn-Vulnerable-GraphQL-Applicationpip3 install -r requirements.txtpython3 [app.py](http://app.py/)- Browse http://localhost:5013/
- Docker Image
- Docker
git clone https://github.com/payatu/Tiredful-API.gitcd Tiredful-APIdocker build -t tiredful .docker run -p 8000:8000 --name tiredful -it tiredful- Browse http://localhost:8000/
- Docker
PHP Vulnerable API #
Docker
git clone https://github.com/roottusk/vapi.gitcd vapidocker-compose up -d
Online Postman
Generic University Vulnerable API
- Docker Hub
docker pull busk3r/genericuniversity:latestdocker run --name genericuniversity -itd --rm -p 80:8000 busk3r/genericuniversity && docker exec genericuniversity service mysql start && docker exec genericuniversity mysql -u root -p -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'password';”docker exec genericuniversity php /root/Generic-University/artisan serve --host 0.0.0.0- Browse http://localhost
- Docker Hub
Nodejs Vulnerable API #
- Damn Vulnerable Web Service
- Docker
git clone https://github.com/snoopysecurity/dvws-node.gitcd dvws-nodedocker-compose up- Browse http://localhost
- Manual
docker run -d -p 27017-27019:27017-27019 --name dvws-mongo mongo:4.0.4docker run -p 3306:3306 --name dvws-mysql -e MYSQL_ROOT_PASSWORD=mysecretpassword -e MYSQL_DATABASE=dvws_sqldb -d mysql:8git clone https://github.com/snoopysecurity/dvws-node.gitcd dvws-nodesudo apt-get install -y libxml2 libxml2-devnpm install --build-from-sourcenode startup_script.jssudo npm start- Browse http://localhost
- Docker