Member-only story

Test website for SQL injection vulnerabilities using Python

Imran Niaz
4 min readJun 6, 2023

--

Hi hope you are having wonderful day so if you are interesting in learning as you injections and your interest in exploiting web application databases to the script and help you to understand injection using python.

I have make the spaceship that will help you to understand how SQL injections for.

As you can see the script is using Python request library. I have make already one complete basic level request understanding in Python for penetration testing.

The input function that we have use in this area it is for locating the file where is different parameters for SQL injections.

Disclaimer:

Using any kind of malicious script that harm someone or try to MAKE changes someone privacy is a crime. Should we make sure whenever you are trying to use any kind of script for someone you have permission from owner.

Using such kind of script that use request method and forcing DNS.

Because using request have methods can alert firewalls and it can block your networks and totally block your IP address which may cause different kind of problems.

import requests

# Specify the base URL of your website
base_url = 'https://www.example.com'

# Specify the vulnerable parameter to test…

--

--

Imran Niaz
Imran Niaz

Written by Imran Niaz

I hope you all are well. My name is Imran Niaz. I like to see such things related to technology and global politics. They are changing the society ..

No responses yet