
Deadeye600
New User
Apr 3, 2006, 1:43 PM
Post #1 of 2
(904 views)
|
|
I need 2 Perl scripts
|
Can't Post
|
|
1. First I redirected perlfunc into a text file. For the Perl script: The user needs to input a perl function that he wants help information on. Then it needs to search and retrieve the command information in the perlfunc.txt file. Then the results need to be displayed onto the screen. 2. I have a firewall log firewalllog0.txt. I need a perl script that 1.includes a counter for the total line count. 2.list in an output file the names for each entry attempt by origin name. 3.Total number of accepts and drops. 4.Total list of source IP addresses, & if multiple attempts come from the same IP address, the quantity for each. 5.Total list of destination IP addresses, & if multiple attempts come from same IP address, the quantity for each. All output must be redirected to a text file What I am really looking for is some example scripts that do just about the same things or scripts for these problems. Thanks for the help.
|