1
0
Fork 0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-05-24 08:16:02 +02:00

Add suid and sudo to bridge

This commit is contained in:
Andrea Cardaci 2021-01-17 23:25:31 +01:00 committed by GitHub
parent 629501ccc7
commit f7ff2ea852
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,16 @@
---
description: Outputs the first line of the file (until the first whitespace) inside an error message to stdandard error.
functions:
file-read:
- description: Outputs the first line of the file (until the first whitespace) inside an error message to stdandard error.
code: |
- code: |
LFILE=file_to_read
bridge -b "$LFILE"
suid:
- code: |
LFILE=file_to_read
./bridge -b "$LFILE"
sudo:
- code: |
LFILE=file_to_read
sudo bridge -b "$LFILE"
---