Reply to comment

Re: Apache CodeRed Countermeasures

Someone pointed out a problem with the script. It seems that posting it to this site corrupted a line. The line that reads:

LINE: while ( my $line= ) {

should look more like:

LINE: while ( my $line= <ACCLOG> ) {

I hope that comes through OK. The text "ACCLOG" should have angle brackets around it (i.e. less-than and greater-than signs).

Also, the code's indentations were lost.

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <img> <a> <em> <strong> <cite> <code> <ul> <ol> <hr> <li> <dl> <dt> <dd> <pre> <b> <h1> <h2> <h3> <blockquote>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 13 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.