diff --git a/conf/websites.cfg b/conf/websites.cfg index 68016fb..86b0ee6 100644 --- a/conf/websites.cfg +++ b/conf/websites.cfg @@ -1,3 +1 @@ www.firewall-services.com -example.com -www.aoc-toiture.com \ No newline at end of file diff --git a/defacement_check.pl b/defacement_check.pl index 452aeeb..90bfd45 100644 --- a/defacement_check.pl +++ b/defacement_check.pl @@ -16,26 +16,34 @@ sub uniq { print "\033[36m \nDEFACEMENT CHECK [" . $date . "]\n\nSearching for suspects ...\n"; print "FOUND \t\t=> URLs\n"; -# Import config Website -my @scan; +# # Import config Website (LOAD domain in conf/websites.cfg) +# my @scan; +# my @search; +# my $websites = 'conf/websites.cfg'; +# if (open(my $f, '<:encoding(UTF-8)', $websites)) { +# while (my $row = <$f>) { +# chomp $row; +# push @scan, $row; +# } +# } else { +# warn "Could not open file '$websites' $!"; +# } +# +# # Slurp Websites +# my $site; +# system("rm urls/*.urls"); +# foreach $site (@scan) +# { +# system("/bin/bash slurp_urls.sh $site"); +# } + +# Import config Website (LOAD domain in ARG : perl defacement_check.pl example.com) my @search; -my $websites = 'conf/websites.cfg'; -if (open(my $f, '<:encoding(UTF-8)', $websites)) { - while (my $row = <$f>) { - chomp $row; - push @scan, $row; - } -} else { - warn "Could not open file '$websites' $!"; -} +my $site = $ARGV[0]; -# Slurp Websites -my $site; +# Slurp Site system("rm urls/*.urls"); -foreach $site (@scan) -{ - system("/bin/bash slurp_urls.sh $site"); -} +system("/bin/bash slurp_urls.sh $site"); # Import config Keywords my $keywords = 'conf/keywords.cfg'; diff --git a/urls/example.com.urls b/urls/example.com.urls deleted file mode 100644 index df0f014..0000000 --- a/urls/example.com.urls +++ /dev/null @@ -1 +0,0 @@ -http://example.com/ diff --git a/urls/www.aoc-toiture.com.urls b/urls/www.aoc-toiture.com.urls deleted file mode 100644 index 1389692..0000000 --- a/urls/www.aoc-toiture.com.urls +++ /dev/null @@ -1,127 +0,0 @@ -http://www.aoc-toiture.com/ -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=19&pos=1&numid=1 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=19&pos=2&numid=2 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=19&pos=3&numid=3 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=19&pos=4&numid=4 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=20&pos=1&numid=5 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=20&pos=2&numid=6 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=20&pos=3&numid=7 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=20&pos=4&numid=8 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=21&pos=1&numid=9 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=21&pos=2&numid=10 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=21&pos=3&numid=11 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=21&pos=4&numid=12 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=22&pos=1&numid=13 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=22&pos=2&numid=14 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=22&pos=3&numid=15 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=22&pos=4&numid=16 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=23&pos=1&numid=17 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=23&pos=2&numid=18 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=23&pos=3&numid=19 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=23&pos=4&numid=20 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=24&pos=1&numid=21 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=24&pos=2&numid=22 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=24&pos=3&numid=23 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=24&pos=4&numid=24 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=25&pos=1&numid=25 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=25&pos=2&numid=26 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=25&pos=3&numid=27 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=25&pos=4&numid=28 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=26&pos=1&numid=29 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=26&pos=2&numid=30 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=26&pos=3&numid=31 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=26&pos=4&numid=32 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=27&pos=1&numid=33 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=27&pos=2&numid=34 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=27&pos=3&numid=35 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=27&pos=4&numid=36 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=28&pos=1&numid=37 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=28&pos=2&numid=38 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=28&pos=3&numid=39 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=28&pos=4&numid=40 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=29&pos=1&numid=41 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=29&pos=2&numid=42 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=29&pos=3&numid=43 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=29&pos=4&numid=44 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=30&pos=1&numid=45 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=30&pos=2&numid=46 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=30&pos=3&numid=47 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=30&pos=4&numid=48 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=31&pos=1&numid=49 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=31&pos=2&numid=50 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=31&pos=3&numid=51 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=31&pos=4&numid=52 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=32&pos=1&numid=53 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=32&pos=2&numid=54 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=32&pos=3&numid=55 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=32&pos=4&numid=56 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=33&pos=1&numid=57 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=33&pos=2&numid=58 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=33&pos=3&numid=59 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=33&pos=4&numid=60 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=34&pos=1&numid=61 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=34&pos=2&numid=62 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=34&pos=3&numid=63 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=34&pos=4&numid=64 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=35&pos=1&numid=65 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=35&pos=2&numid=66 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=35&pos=3&numid=67 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=35&pos=4&numid=68 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=36&pos=1&numid=69 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=36&pos=2&numid=70 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=36&pos=3&numid=71 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=36&pos=4&numid=72 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=37&pos=1&numid=73 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=37&pos=2&numid=74 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=37&pos=3&numid=75 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=37&pos=4&numid=76 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=38&pos=1&numid=77 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=38&pos=2&numid=78 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=38&pos=3&numid=79 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=38&pos=4&numid=80 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=39&pos=1&numid=81 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=39&pos=2&numid=82 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=39&pos=3&numid=83 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=39&pos=4&numid=84 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=40&pos=1&numid=85 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=40&pos=2&numid=86 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=40&pos=3&numid=87 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=40&pos=4&numid=88 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=41&pos=1&numid=89 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=41&pos=2&numid=90 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=41&pos=3&numid=91 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=41&pos=4&numid=92 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=42&pos=1&numid=93 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=42&pos=2&numid=94 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=42&pos=3&numid=95 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=42&pos=4&numid=96 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=46&pos=1&numid=101 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=46&pos=2&numid=102 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=46&pos=3&numid=103 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=46&pos=4&numid=104 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=48&pos=1&numid=97 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=48&pos=2&numid=98 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=48&pos=3&numid=99 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=48&pos=4&numid=100 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=49&pos=1&numid=105 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=49&pos=2&numid=106 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=49&pos=3&numid=107 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=49&pos=4&numid=108 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=50&pos=1&numid=109 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=50&pos=2&numid=110 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=50&pos=3&numid=111 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=50&pos=4&numid=112 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=51&pos=1&numid=113 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=51&pos=2&numid=114 -http://www.aoc-toiture.com/detail_galerie.php?pg=8&numgal=51&pos=3&numid=115 -http://www.aoc-toiture.com/index.php?pg=1 -http://www.aoc-toiture.com/index.php?pg=11 -http://www.aoc-toiture.com/index.php?pg=13 -http://www.aoc-toiture.com/index.php?pg=14 -http://www.aoc-toiture.com/index.php?pg=2 -http://www.aoc-toiture.com/index.php?pg=3 -http://www.aoc-toiture.com/index.php?pg=4 -http://www.aoc-toiture.com/index.php?pg=5 -http://www.aoc-toiture.com/index.php?pg=6 -http://www.aoc-toiture.com/index.php?pg=8 -http://www.aoc-toiture.com/index.php?pg=9