mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-01-07 08:11:34 +01:00
Merge 41e08b8ca28ab052ddb0223030fccf62a19ba89f into b29f2cfde1c72e4ea5191e49604e923bbda98461
This commit is contained in:
commit
fc1512d211
13
_gtfobins/last.md
Normal file
13
_gtfobins/last.md
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
functions:
|
||||
file-read:
|
||||
- description: It reads data from files, it may be used to do privileged reads or disclose files outside a restricted file system. The output might be corrupted or incomplete if the file does not follow the expected database format. Available in util-linux on CentOS, RHEL, Fedora.
|
||||
code: |
|
||||
LFILE=file_to_read
|
||||
last -f $LFILE -a
|
||||
sudo:
|
||||
- description: If the binary is allowed to run as superuser by sudo, it does not drop the elevated privileges and may be used to access the file system, escalate or maintain privileged access.
|
||||
code: |
|
||||
LFILE=file_to_read
|
||||
last -f $LFILE -a
|
||||
---
|
||||
13
_gtfobins/lastb.md
Normal file
13
_gtfobins/lastb.md
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
functions:
|
||||
file-read:
|
||||
- description: It reads data from files, it may be used to do privileged reads or disclose files outside a restricted file system. The output might be corrupted or incomplete if the file does not follow the expected database format. Available in util-linux on CentOS, RHEL, Fedora.
|
||||
code: |
|
||||
LFILE=file_to_read
|
||||
last -f $LFILE -a
|
||||
sudo:
|
||||
- description: If the binary is allowed to run as superuser by sudo, it does not drop the elevated privileges and may be used to access the file system, escalate or maintain privileged access.
|
||||
code: |
|
||||
LFILE=file_to_read
|
||||
last -f $LFILE -a
|
||||
---
|
||||
Loading…
Reference in New Issue
Block a user