Sitemap
Olusa emmanuel oluwadamilola

Olusa emmanuel oluwadamilola

I start my technology journey as a font end developer , i moved to python programming language and now i am currently a cyber security analyst.

3 min readSep 29, 2025

--

SQL INJECTION.

I will start by explaining this type of cyber attack in relation to web server architecture, by giving a basic knowledge on input sanitization and output control from the web server database.

Firstly i will give a brief explanation on web application architecture , i will divided it in to three main section which i will be listing below :-

  • Client (Front-End)
  • Web Server
  • Database

I will be talking about the technology behind Client (Front-End) interface use to build a website.

  • HTML → For the structure of the page.
  • CSS → Use for design and style.
  • JavaScript → interactivity using Dom(document object modules).
  • Frameworks: React, Angular, Vue, etc.

So these is basically a brief explanation on Web Server , it Can be used to pass dynamic requests to an application server and also used to Handle requests, serves static files using various programming language listed below

  • Python
  • Ruby
  • PHP
  • Perl
  • ASP

lastly on the web application architecture i will be talking about Database which is the main cause of SQL injection vulnerabilities on web
applications .

Get Olusa emmanuel oluwadamilola’s stories in your inbox

Join Medium for free to get updates from this writer.

SQL stands for structure query language which is use to store , retrieve and manage data collected from the user .
So this are database that use SQL :-

  • MySQL
  • PostgreSQL
  • Microsoft SQL Server
  • Oracle Database

SQL injection is a type of cyber attack on web application that is due to the unsanitization on input collected from user through Forms , comment section etc.

So i will be listing a set of sql injection payloads and using it to bypass a vulnerable web application.

List of SQL Injection Payloads :-

  • ‘ or 0=0 —
  • ‘ or 0=0 #
  • ‘ or 0=0 –
  • “ or 0=0 —
  • “ or 0=0 #
  • “ or 0=0 –

Image screenshot of SQl injection payloads used to bypass a web application login screen .

Press enter or click to view image in full size
Press enter or click to view image in full size

How this login work in a program implementation SELECT * FROM users WHERE username = ‘USER’ AND password = ‘PASS’;

Then the attacker input the payloads , this is how it looks in the database SELECT * FROM users WHERE username = ‘’ or 0=0 — ‘ AND password = ‘’;

My conclusion is simple and effective as a programmer you should sanitize input collected from the user by not directly linking it to the database and creating an effective mechanisim for checking input collect from the user and not displaying error messages which occur in the database to the user.

Feel free to leave a comment and thank for taking your time to read my blog on SQL injection , see you in my next blog.

--

--

Olusa emmanuel oluwadamilola
Olusa emmanuel oluwadamilola

Written by Olusa emmanuel oluwadamilola

I start my technology journey as a font end developer , i moved to python programming language and now i am currently a cyber security analyst.