User Tools

Site Tools


list_webserver_information

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

list_webserver_information [2011/09/09 19:58]
root
list_webserver_information [2013/11/20 15:36] (current)
root
Line 27: Line 27:
 This will only reveal Apache in return. This will only reveal Apache in return.
  
-  ServerSignature Off +====== List IP's after number of hits ====== 
-This will only reveal ​Apache ​in return in case of error pagesEg 404.+ 
 +  awk '​{print $1}' accept.log | sort  | uniq -c | sort -n 
 + 
 +====== List Apache ​requests per day ====== 
 +   
 +  awk '​{print $4}' accept.log | cut -d: -f1 | uniq -c 
 +   
 +====== List Apache requests per hour ====== 
 + 
 +  grep "​22/​Nov"​ accept.log | cut -d[ -f2 | cut -d] -f1 | awk -F: '​{print $2":​00"​}'​ | sort -n | uniq -c 
 +   
 + 
list_webserver_information.1315598297.txt.gz · Last modified: 2011/09/09 19:58 by root