Go to file
Maff ac800cb412 Added tnotify 2015-02-05 21:21:17 +00:00
LICENSE Added a license file 2013-03-18 00:43:02 +00:00
abused Begun aslookup rewrite - see aslookup-new. aslookup is being rewritten to make use of Net::IRR as opposed to Net::WHOIS::RIPE, hopefully resulting in better stability. 2014-02-02 08:03:08 +00:00
aslookup Added RIPE fallback if the default whois server doesn't have information on a given ASN 2013-03-18 02:20:49 +00:00
aslookup-new Fixed an issue with AS lookups and some formatting glitches 2014-03-05 01:19:03 +00:00
cpanel-rdns-manager Fixed a bug where cpanel-rdns-manager -S <IP> would result in an error 2013-10-31 20:32:16 +00:00
ifls Added pscrot. 2014-09-21 19:26:39 +01:00
mailview.pl Adding mailview 2013-02-04 03:04:05 +00:00
nscheck Started working on adapting nscheck to support other record types via -t option 2013-08-11 05:56:47 +01:00
pscrot Added proper pidfile handling, executing pscrot while it's already running will now cause it to SIGHUP the existing process rather than attempt to start again 2014-09-26 21:32:15 +01:00
pscrot.rc Improved some stuff and added a configuration file 2014-09-25 21:38:53 +01:00
queryresume-maff.pl Added queryresume.pl 2014-11-29 03:05:40 +00:00
rdns-manager Added tnotify 2015-02-05 21:21:17 +00:00
readme.md Added tnotify 2015-02-05 21:21:17 +00:00
tnotify Added tnotify 2015-02-05 21:21:17 +00:00
watchd Added aslookup and fixed a bug in watchd regarding variable naming 2013-03-17 05:11:43 +00:00
watchd.conf Added aslookup and fixed a bug in watchd regarding variable naming 2013-03-17 05:11:43 +00:00
wdns Added tnotify 2015-02-05 21:21:17 +00:00

readme.md

script-collection

Preface

I write scripts a lot. Partly as a hobby, partly to make my own work easier and partly for my job. I tend to choose whatever language is most appropriate for what I'm doing, although I usually prefer Bash.

License

Unless otherwise stated, all scripts and code in this repo are licensed under the 3-clause BSD license.

Scripts

This readme contains an up to date list of all scripts in the repo + their descriptions:

  • aslookup: Perl - Script to look up ASN information for a given IP or ASN
  • ifls: Perl - Script to collect all interfaces on the system and provide an easily-viewed list of their IPs
  • mailview: Perl - Script to parse HTML email and format it in a text-reader-friendly way.
  • nscheck: Bash - DNS diagnosis script
  • pscrot & pscrot.rc: Perl - OSX-oriented but likely easily ported daemon for uploading screenshots and such. pscrot.rc is the configuration file, and should be stored at ~/.pscrotrc
  • tnotify: Perl - Cron-based script to notify the user when there are tickets waiting on a WHMCS helpdesk
  • watchd & watchd.conf: Bash - Script designed to run as a cronjob, alerting the user to any events.