Online Bus Booking System Project Using PHP MySQL 1.0 SQL Injection

Online Bus Booking System Project using PHP MySQL version 1.0 suffers from a remote SQL injection vulnerability that allows for authentication bypass.
MD5 | ac5a96c53a70bbf801b09b3978043c7f

The Online Bus Booking System is a project using PHP/MySQL. This project also used jQuery and Ajax to make user interaction or experience be much better when handling a form. To develop the system, I used HTML5, CSS, JavaScript (jQuery/ Ajax), and Bootsrap.

About the Project

The Online Bus Booking System is a system that manages the bus company booking or ticketing processes. On the system administrator side, admin can manage the list of buses, locations, schedules and list of booked schedules. Passenger can simply go the site and find his/her desired schedule and location and copy the reference number for his/her booking ticket. Admin will update the passenger booked schedule for payment when they arrive to the departure location.


Admin Side

  • Home Page – This page is the welcoming page of administrator after logging into the system.
  • Bus List Page – This is the page where buses are listed and also where can admin users can manage the buses.
  • Location – This page helps to organize the bus company location route. At this page, admin can manage the list of locations.
  • Schedule Page – This is the page where all bus route schedules are listed. At this page, admin can create, update and delete and bus route schedule for booking.
  • Booked Page – The page where the passengers booked schedules are listed. Admin can update the details and payment status of passenger schedule.
  • Users Page – The page where are admin users of the system are listed and can be managed.

Passenger Side

  • Home Page – The welcoming page for the passenger when he/she browses the website. On this page, passenger can find his/her desired location and schedules.
  • Schedule Page – The page where can passenger see all bus company route schedules.

Download Source Code


  1. Download the source code and extract the zip file.
  2. Download or set up any local web server that runs PHP script.
  3. Open your web server database and create a new database name it bus_booking.
  4. Import the SQL file located in the database folder of the source code.
  5. Copy and paste the source code to the location where your local web server accessing your local projects. Example for XAMPP(‘C:\xampp\htdocs’)
  6. Open a web browser and browse the project. e.g [ http://localhost/online-bus-booking-system ]

Then there you go, you can now explore and modify the system.

Admin Default Access

Username: admin

Password: admin123


This is only an educational purposes only I am not responsible for further activities Join my forum and learn more ethical hacking and penetration testing

Get me at


Leave a Reply

Your email address will not be published. Required fields are marked *