Ok so it has been a few days that I am on this level, I read a lot of threads and read a lot of OWASP stuff and I did level 1 of sqli but for some reason I still can’t do it. After some research I managed to create this injection:
lol' or 1=1 or realname/text()=‘Sandra Murphy or 'a’=‘a
I don’t know why it does not work. I saw a thread just before that had the same kind of question and I feel bad for asking again, but can someone please help me….
Used to be lexostras…. but i got tierd of my name so now it’s worst…..
My github dont click this
According to the description of same level it isn’t use SQL, looking the link in the hint of site i think that is XML, but I don’t complete this level yet, I’m not sure.
?
Thx @bolofecal but I already knew that :( The big problem is that I cam’t figure out how to write down the injection….
Used to be lexostras…. but i got tierd of my name so now it’s worst…..
My github dont click this
@lexostras have you read my thread ? with tittle Stuck at Logic ? read it carefully try to understand what i do , and you can solve in one shoot, really. anyway your payload is verryyy really close.. yeah verrryyy really close, but your injection logic is wrong :p just correct a little and make correct order, as im doing in my thread. i can solve after 63 attemps :p just check my thread with Stuck At Logic. :p
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘\’‘ at line 1
@Mugiwara27 true, but I wanted to solve it myself. Looking in google usually just gives you the answer..
thanks a lot for the suport @nakee @Mugiwara27 and @darkcyber . I’ll continue searching :)
Used to be lexostras…. but i got tierd of my name so now it’s worst…..
My github dont click this
[quote=“nakee”]
Mugiwara27 true, but I wanted to solve it myself. Looking in google usually just gives you the answer..
[/quote]
If you don’t know how it works you can’t solve it, learn Xpath first
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘\’‘ at line 1
@Mugiwara27 Yes, I had to do that. And therefore it was harder than other levels. That all I said.
My suggestion to whomever try to solve this level:
learn xpath, then read about injections then it becomes simpler
Hy me again so I did what you guys told me, and I have to thank you for helping me. So I just got some different errors this time with an error with request .
Am I getting there??
So to get that error I read about boolean and that was the tick for the operators, then I read and watched a video about xpath and how they work. And I read again about XML data base but really doing my best to undersrand EVERYTHING . And I read an OWASP article about xpath injections to….
After learning all of this I don’t really get on how to syntax the injection. I understand that it is someway like this: test' 1=1 or … or … and … or ….. and that it needs to be true at the end so that it works but I still can’t find the awnser please help again.
PS: sorry if this is to repetitive
Used to be lexostras…. but i got tierd of my name so now it’s worst…..
My github dont click this
Read my thread here
https://www.hackthis.co.uk/forum/level-discussion/intermediate-levels/intermediate-level-6/12311-stuck-at-logic
You just need to correct the order :p
TRUE statement on SQLI and XPATH Injection on OWASP is close enough if you understand :D
hey @darkcyber thx for the help but I don’t really understand why your post is not working to….
So I did what you did changed around stuff testing out the order ad got a few of the error with request but I don’t understand why your injection does not work and what is the point of the order because your injection looks perfect to me
x' or realname/text()=‘Sandra Murphy’ or ‘1’=‘1
for me this is the equivalent to:
0 or 1 or 1 == 1
False or True or True == True
and however you order it the value will always be 1 or True
So i really don’t get your point i’ll continue searching in that path because you managed to finish it like that but I still find this pretty strange :s
Used to be lexostras…. but i got tierd of my name so now it’s worst…..
My github dont click this
OH MAN I FEELL DUMP :D :D :D I just got it you where right @darkcyber it was kind of the order I was missing the most important part in my injection thank you a lot now it is all clear to me…
thanks to the guy that made this level because it was chalenging :D
and thanks to all that helped me :)
Used to be lexostras…. but i got tierd of my name so now it’s worst…..
My github dont click this