English
German
French
Spanish
Albanian
Arabic
Dutch
Bosnian
Serbian
Turkish
Czech
Finnish
Hungarian
Italian
Polish
Russian
Estonian
Urdu
News
Links
Sites
Forum
Ranking
Challenges
Downloads
Register
New Sites
websec.co.il
Hack n Roll
mrradio.kr
GemForgeLabs
Hack The Web
HackMyVM
pwn.college
PromptRiddle
New Users
Marulete
bnccrs
arjun0x1c
dariusz
minozu
hae_c1ph
koen
Jakls
13 Online
Guest(x10)
,
rayaseiren
,
tekris
Signup
Hide Sidebar
Restrict session to IP
Register
Forgot password
Statistics
46 Sites
195 Challs
10276 Posts
74482 Users
56 Donations
1 Shop
46 Active Sites
World of Wargame
WeChall
TheBlackSheep
Rankk
NewbieContest
BrainQuest
Net-Force
HackThisSite
elhacker.net
TryThis0ne
TDHack
+Ma's Reversing
Hacker.org
HackBBS
Root-Me
SPOJ
Revolution Elite
W3Challs
Gekko
Webhacking.kr
Reversing.Kr
SuNiNaTaS
Yoire
Hacking-Challenges
OverTheWire.org
RedTigers Hackit
CodeShell.kr
ae27ff
pwnable.kr
RingZer0 Team Online CTF
pwnable.tw
Hack The Box
try to decrypt
MysteryTwister
Énigmes À Thématiques
247CTF
CryptoHack
PyDéfis
PromptRiddle
pwn.college
HackMyVM
Hack The Web
GemForgeLabs
mrradio.kr
Hack n Roll
websec.co.il
Top 10 Players
rayaseiren
dloser
jusb3
jablonskim
ytbjplh
tehron
tenflo
Caesum
sisyang
Xaav
Last 20 Activities
shaheenery
tekris
AndreiRares
TwoFac3R
xseris
peterkodo
kismet
AndreiRares
Cerades
walek20
hervas
dreean
esrever
ayeminpaing
sisyang
Munto
spidey_14
rostale
spidey_14
TJAYY
Online within 1d
40 Users
rayaseiren
tekris
sigma1
criple_ripper
sysfail
shaheenery
Haijo18
dariusz
jellis
xseris
anna42
zexco
tehron
kismet
walek20
TJAYY
AndreiRares
mira
TwoFac3R
Xanond
more
WeChall
->
Challenges
->
Challenge: Training: MySQL II
SQL injection
Go to the Training: MySQL II challenge
Some enlightenment required
Double query
flaps
Global Rank: 3306
Totalscore: 6833
Posts: 3
Thanks: 3
UpVotes: 2
Registered: 10y 319d
Last Seen: 10y 311d
The User is Offline
SQL injection
Jan 05, 2016 - 14:11:49 (10y 313d)
Google/translate
1
Thank You!
0
Good Post!
1
Bad Post!
link
I get stuck.
Click for spoiler
Sensitive is login authentication, so i try to bypass it writing:
CENSORED
or
CENSORED
but the only message I get is wrong password.
Can anybody give me a hint what I'm doing wrong ?
Last edited by dloser - Jan 05, 2016 - 14:59:17
dloser
Global Rank: 2
Totalscore: 746205
Posts: 442
Thanks: 513
UpVotes: 496
Registered: 17y 109d
The User is Offline
RE: SQL injection
Jan 05, 2016 - 15:00:02 (10y 313d)
Google/translate
1
Thank You!
1
Good Post!
0
Bad Post!
link
You are ignoring the crucial part of this challenge: the password check.
flaps
Global Rank: 3306
Totalscore: 6833
Posts: 3
Thanks: 3
UpVotes: 2
Registered: 10y 319d
Last Seen: 10y 311d
The User is Offline
RE: SQL injection
Jan 05, 2016 - 15:37:37 (10y 313d)
Google/translate
1
Thank You!
1
Good Post!
0
Bad Post!
link
First of all thanks for hint and quick response.
Click for spoiler
I tried to end SQL command by -- - or -- or %00 and then comment rest of PHP function with multiline comment /*
Injection looks like:
CENSORED
But still getting message about wrong password.
Last edited by dloser - Jan 05, 2016 - 15:42:13
dloser
Global Rank: 2
Totalscore: 746205
Posts: 442
Thanks: 513
UpVotes: 496
Registered: 17y 109d
The User is Offline
RE: SQL injection
Jan 05, 2016 - 15:48:02 (10y 313d)
Google/translate
1
Thank You!
0
Good Post!
1
Bad Post!
link
You cannot comment out PHP code like that. (And if you could, it still wouldn't work.)
B.t.w.: Don't include the injections you are trying in your posts. It could spoil it for others.
Redknee
,
silenttrack
,
n0tHappy
,
nonfungiblesecurity
,
quangntenemy
,
TheHiveMind
,
Z
,
balicocat
,
Ge0
,
arraez
,
jcquinterov
,
hophuocthinh
,
alfamen2
,
burhanudinn123
,
Ben_Dover
,
stephanduran89
,
braddie0
,
fpombal
,
csuquvq
,
Psycho01010
have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 10684 times.