[Snort-users] porn.rules

dhottinger at ...14237... dhottinger at ...14237...
Fri Nov 9 14:43:52 EST 2007


>
> --- cut ---
> #!/usr/bin/perl
> use strict;
> sub hex_to_ascii ($)
> {
>   (my $str = shift) =~ s/([a-fA-F0-9]{2})/chr(hex $1)/eg;
>   return $str;
> }
> my $str;
> while ($str=<STDIN>)
> {
>   my $a_str = hex_to_ascii $str;
>   print "\n\nASCII Output:\n";
>   print $a_str;
> }
> --- paste ---
>
> PaulM
>
Thanks,
I use ACID for my alerts.  Snort with --mysql option.  Snort version  
2.8.0.  I'll send the payload to you then.




-- 
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools

"rarely do people communicate, they just take turns talking"





More information about the Snort-users mailing list