Skip to content

This script generates UNION SELECT NULL, ... payloads to use for enumerating data types for UNION based SQL injection.

Notifications You must be signed in to change notification settings

FacingDependencyHell/UnionSelectPayloadGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

This is a simple generator for enumerating data types in UNION SELECT NULL,NULL -- based SQLi attacks. I've tried to find a way of doing this through Burp's intruder, but could not figure it out. So I've just wrote this simple script to do it for me.


Usage

1 - Download the generator.py script

2 - Navigate to the directory where you've downloaded it to

3 - python3 generator.py

4 - How many positions - This defines, how many positions will be generated. If you choose 3, the output will be as follows:

image

5 - Character(s) to substitute - This defines what will be substituted instead of the NULL character.

6 - How many substitutions: - How many substitutions will be used per line. If you use 2 for example, the output will look like this:

image

gen

About

This script generates UNION SELECT NULL, ... payloads to use for enumerating data types for UNION based SQL injection.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages