Skip to content

Files

Latest commit

a7ab67c · Oct 14, 2014

History

History
This branch is 525 commits behind ctfs/write-ups-2014:master.

web-200

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 14, 2014

DEFKTHON CTF: Web 200

Description:

Auth Me In

Write-up

The hint “Not SQL” tells us not to look for SQL injection. After searching on the Internet about injections that are not an SQL injection, I came up with something called a NoSQL injection. A quick look at it and you will learn that, by appending [$ne] to the $_GET parameter, you can, instead make the query look for things that are ‘not equal’ to whatever you set the value to.

The final solution that resulted in the flag flag{itoldunaathisisnotSQLinjection} was http://54.201.96.212:888/web200/?userid[$ne]=a&password[$ne]=a.

Other write-ups and resources

  • none yet