Created
May 31, 2017 08:04
-
-
Save irshadpc/1cadda315252e2866b35df8107f1bb7d to your computer and use it in GitHub Desktop.
Sql Injection Vulnerable sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSString *uuid = [myConnection getUUID]; | |
NSString *statement = [NSString StringWithFormat:@"SELECT username FROM users | |
where uuid = '%@'",uuid]; | |
const char *sql = [statement UTF8String]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment