From 42cfc4091a8181261ac6cd329db9c8c18e9979b1 Mon Sep 17 00:00:00 2001 From: carlospolop Date: Wed, 17 Nov 2021 17:06:31 -0500 Subject: [PATCH] add php.ini --- build_lists/sensitive_files.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/build_lists/sensitive_files.yaml b/build_lists/sensitive_files.yaml index ca0aafe..b0192f8 100644 --- a/build_lists/sensitive_files.yaml +++ b/build_lists/sensitive_files.yaml @@ -408,6 +408,15 @@ search: type: f search_in: - common + + - name: "php.ini" + value: + bad_regex: "On" + remove_regex: "^;" + line_grep: "allow_" + type: f + search_in: + - common - name: PHP Sessions value: @@ -2642,13 +2651,6 @@ search: search_in: - common - - name: "php.ini" - value: - just_list_file: True - type: f - search_in: - - common - - name: "printers.xml" value: just_list_file: True