Created
May 31, 2017 08:06
-
-
Save irshadpc/f9d04eacf04d322a948bc1a327b9456b to your computer and use it in GitHub Desktop.
Sql injection Valid Snippet
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
const char *sql = "SELECT username FROM users where uuid = ?"; | |
sqlite3_prepare_v2(db, sql, -1, &selectUuid, NULL); | |
sqlite3_bind_int(selectUuid, 1, uid); | |
int status = sqlite3_step(selectUuid); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment