Skip to content

vulnerable-apps/Tiredful-API-py3-beta

 
 

Repository files navigation

What is Tiredful API?

Tiredful API is intentionally designed broken app. The aim of this web app is to teach developers, QA or security professionals about flaws present in webservices (REST API) due to insecure coding practice.

Tiredful API image

Who can use Tiredful API?

  • Web developers
  • Web Pentesters
  • Security Professionals
  • Student

What is included in Tiredful API?

I tried to cover most of the vulnerabilities, I am sure that we have missed some vulnerabilities.Please ping me if you know any good vulnerability that should be included. For now I have included following vulnerabilities.

  • Information Disclosure
  • Insecure Direct Object Reference
  • Access Control
  • Throttling
  • SQL Injection (SQLite)
  • JWT Issues
  • Cross Site Scripting.

Can I contribute?

Yes, you can help by sending us the details of vulnerabilities that we can implement in future versions of Tiredful API. Please mail us at siddharth [dot] bezalwar [at] gmail [dot] com with subject "Tiredful API Scenario".

Where can I get Tiredful API?

Source can be downloaded from link.

How to run Tiredful API?

Tiredful API is developed using Django Framework and Django Rest Framework, so for running the web server user needs execute following command.

  • Navigate to the source folder and locate manage.py file.
  • Then execute python manage.py runserver.
  • If static files are not getting load, then execute above command with insecure flag i.e. python manage.py runserver --insecure If you are facing any issue starting the web server please refer django documentation admin or django documentation tutorial. Please ping me if you are still not able to run development server.

Note: It is recommended to use required libraries with the version specified in the requirements.txt. Please refer this more details

Docker Container

You can run Tiredful via Docker. Simply execute:

docker build -t tiredful .
docker run -p 8000:8000 --name tiredful -it tiredful

Browse to http://localhost:8000/ and you are all set. Use CTRL-C to shut down the server.

Docker Compose

You can also spin up Tiredful API using Docker Compose. Simply execute:

docker compose -f docker-compose-dev.yml up

The application files will refresh automatically when you make changes to the source code. Use CTRL-C to shut down the server.

If you want to run the application without refreshing the application files, execute:

docker-compose up -d

Python3 Compatible Code

Tiredful API Python3

Feedback and Bug Reports.

We would love to hear from you about your experience with Tiredful API. Please send us an email on siddharth [dot] bezalwar [at] gmail [dot] com with Subject "Tiredful API Issue" based on what you want to share. Please include the below in your email.

  • Operating system with version.
  • Django Framework used.
  • Steps to replicate issue.

Author

Siddharth Bezalwar

@fattu_medjai | siddharth [dot] bezalwar [at] gmail [dot] com

About

Python 3 compatible repo of Tiredful API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 43.4%
  • HTML 23.1%
  • CSS 21.4%
  • JavaScript 11.8%
  • Dockerfile 0.3%