Get unique lines in file using bash
Submitted by jacob on Mon, 10/19/2009 - 9:54pmI had to take a closer look at a distributed attack on one of our web servers today. The attack only involved around 50 hosts which seemed to be testing our URL parameters for injection susceptibility. Coldfusion has some protection against SQL injection, and we take extra steps, as every programmer should, to guard against it.
After identifying the attack vector, I was able to grep the log file for the signature of the attack which was present in the URL information.