Current Path : /proc/self/root/proc/self/root/usr/local/maldetect/clean/ |
Current File : //proc/self/root/proc/self/root/usr/local/maldetect/clean/gzbase64.inject.unclassed |
#!/usr/bin/env bash export PATH=/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin # $1 file path, $2 signature name, $3 file owner, $4 file mode, $5 file size (b), $6 file md5sum if [ -f "$1" ]; then sed -i -e 's/<?.*eval(gzinflate(base64_decode(.*?>//' -e 's/<?php.*eval(gzinflate(base64_decode(.*?>//' -e 's/eval(gzinflate(base64_decode(.*);//' "$1" fi