search regexes

This commit is contained in:
carlospolop 2021-12-19 17:56:21 -05:00
parent d30c6ca63a
commit dc8fd3a6b1

View File

@ -344,6 +344,8 @@ class LinpeasBuilder:
regexes_search_section += "timeout 120 find "+path+" -type f -exec grep -HnRiIE \""+regex+"\" '{}' \; 2>/dev/null "+extra_grep+" | sed '/^.\{150\}./d' | sort | uniq | head -n 50 | sed -${E} \"s~"+regex+"~${SED_RED}~\" &\n"
regexes_search_section += "wait\n"
regexes_search_section += "echo ''\n"
return regexes_search_section