feat(upfast): ban common payload names.
This commit is contained in:
parent
859efab6b7
commit
280a00a8a3
1 changed files with 8 additions and 0 deletions
|
|
@ -10,6 +10,14 @@ if echo "$files" | grep -i "keygen" >> /dev/null; then
|
|||
done
|
||||
fi
|
||||
|
||||
# Check for common payload names on server
|
||||
if echo "$files" | grep -iE "dorpxy|mner|mnpxy" >> /dev/null; then
|
||||
for file in $(echo "$files" | grep -iE "dorpxy|mner|mnpxy"); do
|
||||
echo "Deleting file $file"
|
||||
curl -X DELETE "$instance/files/$file"
|
||||
done
|
||||
fi
|
||||
|
||||
# Delete common php payloads
|
||||
if echo "$files" | grep -i ".php" >> /dev/null; then
|
||||
for file in $(echo "$files" | grep -i ".php"); do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue