From f7ff2ea85267803a4ce66fbbc5ce9387f69d5788 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Sun, 17 Jan 2021 23:25:31 +0100 Subject: [PATCH] Add suid and sudo to bridge --- _gtfobins/bridge.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/_gtfobins/bridge.md b/_gtfobins/bridge.md index db0bbe7..59edeea 100644 --- a/_gtfobins/bridge.md +++ b/_gtfobins/bridge.md @@ -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" ---