flanigan.net: Scripts Friday, 16-May-2008 05:47:30 EDT
Menu:
o Home
o Baby Flanigan
o Spam Page
o Stats Page
o Network Tools Page
o Image Gallery
o Scripts Page
o Firearms Page
o About Flanigan.net





Your IP: 38.103.63.17
















































































Limitations live only in our minds. If we use our imaginations, our posabilities become limitless.

-Jamie Paolinetti


Dave's Scripts

I am not, I should first point out, a programmer by training or vocation. I enjoy Perl scripting, but have never taken a class in it so most of my scripts are pretty simple or may not be the best / most direct way to get the job done.

 

With that said, I hope you find some of these scripts useful. As I write anything else worth putting on here, I will do so.

 

Feel free to use or modify the scripts. If you do modify them, please send me back any improvements you may have made.

 

I make no claim as to the usability, stability, or quality of any of these scripts. Use them at your own risk. I would be happy to help anyone new to Perl customize these scripts to your own environment, just drop me an e-mail.



Awstats Clean Script
This script was written in response to the increasing number of referrer spam hits I had showing up in Awstats. This script will take a standard awstats.domain.txt file and strip out referrer spam matching any of the entries in a blacklist.txt file. It only edits the awstats txt file in the referrers section. You can ask it to output what it has removed.


DNS BL Performance Measurement Script

This script was written to drive the DNS Blacklist stats on our spam page. It basically searches through the maillog and matches against the various BLs that I have configured, then provides the hits from each.


IPass CDR Processing Script

This script was written to help out with a work project. Basically it is for use with IPass service, and quickly processes even a very large IPass CDR file. At present it spits out any calls over 10hours and then the total invoice, but since all of the logic is there to split the fields, adding additional output should be very easy.


Random Quote Script

This script generates a random quote from a file of quotes (one per line) and spits out the output. I used it with server side includes to add random quotes to web pages.  


Spam Charting using GD::Graph
This scrip is a useful example of feeding arrays into GD::Graph. It is used to generate some of the spam graphs here at Flanigan.net, but requires backend scripts to generate log files which this then processes. If you have a strong desire to use this script, I can help you with the back end scripts.

Apache SSL Pass-phrase Script

This is a quick script to enter the password for a SSL certificate automatically when Apache restarts. This is useful if you are not at the server when you reboot, or do not want to type the password in each time.

You will need to add somethig similar to the following into your httpd.conf file in order for this to work:

SSLPassPhraseDialog  exec:/usr/local/bin/sslppd.pl


Nettool CGI Script
This script is a simple CGI wrapper to some common unix tools to allow the inclusion of tools such as ping, traceroute, whois, and nslookup on a web page. You can see it in action on our tools page. This script is a simple CGI wrapper to some common unix tools to allow the inclusion of tools such as ping, traceroute, whois, and nslookup on a web page. You can see it in action on our tools page.


Page Last Modified: Monday, 04-Feb-2008 15:57:54 EST
Copyright by David Flanigan, 2006.