Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #---------------------------------------------------------------------#
- # Procurar arquivos web com códigos potencialmente malicioso #
- #---------------------------------------------------------------------#
- DIRETORIO="/var/www"
- FUNCOES="passthru|shell_exec|system|phpinfo|base64_decode|popen|exec|proc_open|pcntl_exec|python_eval|fopen|fclose|readfile"
- grep -RPl --include=*.{php,txt} "($FUNCOES)" $DIRETORIO
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement