ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!

Jump to content



Photo

Ultimate SQL Injection Tutorial


  • Please log in to reply
Ultimate SQL Injection Tutorial

#111

skphero
skphero
    Offline
    0
    Rep
    0
    Likes

    Advanced Member

  • PipPipPipPip
Posts: 91
Threads: 2
Joined: Dec 24, 2016
Credits: 0
Eight years registered
#111

yes tp see 


  • 0

#112

devilish99
devilish99
    Offline
    0
    Rep
    2
    Likes

    Member

  • PipPipPip
Posts: 74
Threads: 0
Joined: Nov 22, 2017
Credits: 0
Seven years registered
#112


SQL Injection Ultimate Tutorial

Nice

Note: this tutorial is by Bako from h4ck-y0u.org

SQL Injection is one of the most common web application errors today. It is also one of the most deadliest because it allows remote users to access confidential information such as usernames and credit cards.

With databases being the central core of our economy and all of our nations wealth being held in servers that may be able to be compromised by witty hackers, SQL Injection is a problem that needs to be addresses not to let hackers exploit these errors for their own good, pleasure or challenge but rather to bring awareness to the fact that a simple error caused by a lazy or inexperienced programmer can cause consequences from a simple website deface to the leaking of millions of users financial information. To start this paper out, I provide you with an Outline for MySQL Injection attacks, which will also serve as a table of contents since each section will discuss a separate step in the exploitation process.

MySQL Injection Outline (table of contents):

In Part 1 (this part):

Section 1 - Intro to Basic Database Information

Section 2 - Steps to injections

1)Find out how to close the previous statement & find the right comment to use to end the injection

2)Check for magic quotes

3)Check to see if UNION works

4)Find the number of columns

5)Craft a union statement that doesnt cause an error and see which columns are outputted

6)Check the MySQL version to see if information_schema is present

7)Get the desired column and table names

8)Get your data



In Part 2: (not done yet)

Section 1 - Advanced injections

1)Check for load_file()

2)Check for into outfile

3)Ddos the MySQL server

4)login page injections

5)Possible failures - multi selects

6)Get past magic quotes - where, concat - no load_file

7)The no spaces bug

8)Getting past filters

9)Blind Injection

10)Advanced NOT IN


  • 0

#113

OrsaMaggioreCra
OrsaMaggioreCra
    Offline
    1
    Rep
    129
    Likes

    OrsaMaggioreCracker

Posts: 179
Threads: 22
Joined: Nov 06, 2017
Credits: 0

Seven years registered
#113
Thank you

  • 0
OrsaMaggioreCracker

#114

pruned_50908514
pruned_50908514
    Offline
    0
    Rep
    1
    Likes

    Addicted

  • PipPipPipPipPip
Posts: 155
Threads: 0
Joined: Nov 21, 2017
Credits: 0
Seven years registered
#114

MySQL Injection Outline (table of contents):

In Part 1 (this part):

Section 1 - Intro to Basic Database Information

Section 2 - Steps to injections

1)Find out how to close the previous statement & find the right comment to use to end the injection

2)Check for magic quotes

3)Check to see if UNION works

4)Find the number of columns

5)Craft a union statement that doesnt cause an error and see which columns are outputted

6)Check the MySQL version to see if information_schema is present

7)Get the desired column and table names

8)Get your data


  • 0

#115

bigwaves
bigwaves
    Offline
    0
    Rep
    0
    Likes

    Advanced Member

  • PipPipPipPip
Posts: 121
Threads: 0
Joined: Nov 19, 2017
Credits: 0
Seven years registered
#115

ty


  • 0

#116

rzk90223
rzk90223
    Offline
    0
    Rep
    0
    Likes

    Advanced Member

Posts: 81
Threads: 0
Joined: Feb 19, 2017
Credits: 0
Seven years registered
#116
Thnx bro....

  • 0

#117

PingPong999
PingPong999
    Offline
    0
    Rep
    0
    Likes

    Advanced Member

  • PipPipPipPip
Posts: 129
Threads: 4
Joined: Oct 04, 2017
Credits: 0
Seven years registered
#117

well, hopefully i can return with some positive thoughts! would love to learn sqli.


  • 0

#118

ansnoussi
ansnoussi
    Offline
    0
    Rep
    0
    Likes

    Member

Posts: 53
Threads: 0
Joined: Apr 09, 2016
Credits: 0

Eight years registered
#118

appreciate it pal! :D


  • 0

#119

Keeind
Keeind
    Offline
    0
    Rep
    -2
    Likes

    Advanced Member

Posts: 112
Threads: 3
Joined: Dec 24, 2015
Credits: 0
Nine years registered
#119

thanks for sharing this guide  :)


  • 0

#120

5k3ng
5k3ng
    Offline
    0
    Rep
    0
    Likes

    New Member

Posts: 20
Threads: 0
Joined: Oct 16, 2017
Credits: 0
Seven years registered
#120

TY


  • 0


 Users browsing this thread: