From eb7bd1eba35b467713feebd4048d4e3c09104772 Mon Sep 17 00:00:00 2001 From: heuzef Date: Thu, 8 Feb 2018 16:30:49 +0100 Subject: [PATCH] add OUT for get only Grand Total TREATH in stdout (out.txt) --- defacement_check.pl | 5 +++++ urls/www.firewall-services.com.urls | 10 ---------- 2 files changed, 5 insertions(+), 10 deletions(-) delete mode 100644 urls/www.firewall-services.com.urls diff --git a/defacement_check.pl b/defacement_check.pl index 90bfd45..2d1e508 100644 --- a/defacement_check.pl +++ b/defacement_check.pl @@ -106,3 +106,8 @@ foreach $file (@files) } print "\033[36mGrand Total TREATH detected on ALL website \t\t=> [" . $grand_total_found . "]\n\n"; + +# Print results in Output file +open(my $out, '>', 'out.txt'); +print $out $grand_total_found; +close $out; diff --git a/urls/www.firewall-services.com.urls b/urls/www.firewall-services.com.urls deleted file mode 100644 index 27745bf..0000000 --- a/urls/www.firewall-services.com.urls +++ /dev/null @@ -1,10 +0,0 @@ -http://www.firewall-services.com/ -http://www.firewall-services.com/clubs-entreprises.html -http://www.firewall-services.com/contact.html -http://www.firewall-services.com/espace-presse.html -http://www.firewall-services.com/formations.html -http://www.firewall-services.com/index.html -http://www.firewall-services.com/nos-competences.html -http://www.firewall-services.com/passeport.html -http://www.firewall-services.com/plan.html -http://www.firewall-services.com/prolibre.html