
intentionally vuln web Application Security in django
intentionally vuln web Application Security in django.
our roadmap build intentionally vuln web Application in django. The Vulnerability can based on OWASP top ten
To setup the project on your local machine:
First, Clone the repository using GitHub website or git in Terminal
git clone https://github.com/adeyosemanputra/pygoat.git
### To Download a specific branch
git clone -b <branch_name> https://github.com/adeyosemanputra/pygoat.git
python3 command may not be available by default.
python3 is not recognized, try using python instead (ensure it points to Python 3.x).bash installer.shpython3 manage.py migrate.python3 manage.py runserver.pip install -r requirements.txt.python3 manage.py migrate.python3 manage.py runserver.setup.py file - pip3 install .python3 manage.py migrate.python3 manage.py runserver.docker pull pygoat/pygoat or docker pull pygoat/pygoat:latestdocker run --rm -p 8000:8000 pygoat/pygoat:latestdocker image rm pygoat/pygoat and pull again incase of any errordocker-compose up or docker-compose up -dPyGoat stores challenge definitions in challenge/challenge.json.
To populate the Challenge table in the database from this file, use the
built-in Django management command:
docker compose exec web python manage.py populate_challenges
### Build Docker Image and Run
1. Clone the repository   `git clone https://github.com/adeyosemanputra/pygoat.git`
2. Build the docker image from Dockerfile using   `docker build -f Dockerfile -t pygoat .`
3. Run the docker image  `docker run --rm -p 8000:8000 pygoat:latest`
4. Browse to <http://127.0.0.1:8000> or <http://0.0.0.0:8000>
### Installation video
1. From Source using `installer.sh`
- [Installing PyGoat from Source](https://www.youtube.com/watch?v=7bYBJXG3FRQ)
2. Without using `installer.sh`
- [](http://www.youtube.com/watch?v=rfzQiMeiwso "Installation Pygoat")
3. Install with Mac M1 (using Virtualenv)
- [](https://youtu.be/a5UV7mUw580 "Install with Mac M1 - using Virtualenv")
## Uninstallation
### On Debian/Ubuntu Based Systems
- On Debian/Ubuntu based systems, you can use the `uninstaller.sh` script to uninstall `pygoat` along with all it's dependencies.
- To uninstall `pygoat`, simply run:
```bash
$ bash ./uninstaller.sh
uninstaller.py script to uninstall pygoat along with all it's dependenciespygoat, simply run:$ python3 uninstaller.py
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
![]() pwned-17 💻 | ![]() Aman Singh 💻 | ![]() adeyosemanputra 💻 📖 | ![]() gaurav618618 💻 📖 | ![]() MajAK 💻 | ![]() JustinPerkins 💻 | ![]() Liu Peng 💻 |
![]() Metaphor 💻 | ![]() whokilleddb 💻 |