From dfbe9e8bef428287c7bc015fdc2af38a6fb73acf Mon Sep 17 00:00:00 2001 From: bcoles Date: Sun, 15 Mar 2020 17:24:44 +1100 Subject: [PATCH] Create nohup.md --- _gtfobins/nohup.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 _gtfobins/nohup.md diff --git a/_gtfobins/nohup.md b/_gtfobins/nohup.md new file mode 100644 index 0000000..8809900 --- /dev/null +++ b/_gtfobins/nohup.md @@ -0,0 +1,13 @@ +--- +functions: + command: + - code: | + export COMMAND='/usr/bin/id' + nohup "$COMMAND" + cat nohup.out + sudo: + - code: | + export COMMAND='/usr/bin/id' + sudo nohup "$COMMAND" + sudo cat nohup.out +---