/Main_Page

::You must have ninja focus to complete your mission::NinjaFocus::

New pages

Views:

Hide logged-in users | Hide patrolled edits | Hide bots

Showing below up to 47 results starting with #1.

View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500)

  1. 13:18, 30 August 2015 ‎Offlineimap (hist) ‎[1,181 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Offline IMAP RC <nowiki> [general] accounts = abc123 [mbnames] enabled = no filename = ~/Mutt/muttrc.mailboxes header = "mailboxes " peritem = "+%(accountname)s/%(foldername)s" sep = " "...)
  2. 12:17, 7 July 2015 ‎A vimrc (hist) ‎[2,724 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Linux Probably much like the default. <nowiki> " An example for a vimrc file. " " Maintainer: Bram Moolenaar <Bram@vim.org> " Last change: 2006 Aug 12 " " To use it, copy i...)
  3. 12:13, 7 July 2015 ‎Squid freshness.py (hist) ‎[2,794 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Linux Category:Python Category:Scripts <nowiki> #!/usr/bin/env python squidclient = "/opt/local/bin/squidclient" import optparse, os, subprocess, sys, time def f...)
  4. 12:02, 7 July 2015 ‎ISO date (hist) ‎[444 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Bash Category:Scripts Category:Linux <nowiki> # pass a file name as an argument and this function will echo is modification # date in yyyy-mm-dd format. mtime_iso_d...)
  5. 12:01, 7 July 2015 ‎Shibboleth targeted ids (hist) ‎[1,187 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Perl Category:Scripts If you need to trace a targeted id back to an individual (for policy reasons), this script will calculated the targeted ids for a given IDP's scope,...)
  6. 11:35, 7 July 2015 ‎Kickstart (hist) ‎[10,440 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Linux Category:Scripts Category:Redhat This is an old (2009) approach for kickstarting machines. You need a web server host the kickstart and shell scripts and need ...)
  7. 10:51, 7 July 2015 ‎Multipart message split (hist) ‎[788 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Scripts Category:Email Category:Python Extract file attachments from a multipart mime message. <nowiki> #!/opt/local/bin/python2.7 import os, sys, email digestMes...)
  8. 08:17, 7 July 2015 ‎Random cacti (hist) ‎[2,248 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Linux Category:Scripts Category:PHP A random selection of exported cacti graphs, displayed in an html page. <nowiki> <?php define('GRAPHS_DIR', '/var/www/html/gra...)
  9. 08:07, 7 July 2015 ‎Cacti data template.py (hist) ‎[15,650 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Scripts Category:Python Category:Linux <nowiki> #!/usr/bin/env python # -*- coding: utf-8 # # Data Input Method: data_input, data_input_fields (in, script args), da...)
  10. 07:49, 7 July 2015 ‎A screenrc (hist) ‎[627 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: <nowiki> startup_message off term xterm-256color hardstatus off hardstatus alwayslastline #hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+...)
  11. 07:46, 7 July 2015 ‎Thunderbird-diagnostics (hist) ‎[172 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: <nowiki> #!/bin/bash export NSPR_LOG_MODULES=IMAP:4,SMTP:4 export NSPR_LOG_FILE=~/Desktop/tbird.log /Applications/Thunderbird.app/Contents/MacOS/thunderbird-bin </nowiki>)
  12. 07:41, 7 July 2015 ‎Exim-top-senders (hist) ‎[473 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Linux Category:Bash Category:Scripts Category:Email <nowiki> #!/bin/bash renice 10 $$ # Some nasty byte escape sequence showed up in an email address # \222 - ...)
  13. 07:36, 7 July 2015 ‎Ldap-commands (hist) ‎[924 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Linux <nowiki> #!/bin/bash set -x ldapsearch -W -x -LLL -Hldap://ads-dom-01.nin.ds.ninjafocus.net -D"NIN\kieranw" -s sub -b"DC=NIN,DC=DS,DC=NINJAFOCUS,DC=net" $@ </nowiki>...)
  14. 07:25, 7 July 2015 ‎Spamc scripts (hist) ‎[700 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Linux Category:Bash == clean-spam.sh == <nowiki> #!/bin/bash ssed -i -e '/^X-Mozilla-Status/d; /^X-SpamAssassin-Score/d; /^X-SpamAssassin-SpamBar...)
  15. 16:21, 18 June 2015 ‎RPM (hist) ‎[5,970 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux == RPM: Build RPMs == * [http://www.rpm.org/max-rpm/|Maximum RPM: An online book about using and creating packages] * [https://fedoraproject.org/wiki/Packaging...)
  16. 09:54, 27 January 2013 ‎Linux Sanity (hist) ‎[211 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: * strace * ltrace * pmap * sysstat * iostat * vmstat * tcpdump * strings * find * bash * ps * lsmod * grep * less * netstat * lsof * mpstat * watch * /proc * /sys * sysconf * time)
  17. 08:19, 25 January 2013 ‎Grr.sh (hist) ‎[147 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Bash Category:Linux Grr. <nowiki>#!/bin/bash screen -d $(screen -ls | tail -3 | head -1 | awk '{print $1}') screen -r </nowiki>)
  18. 08:01, 25 January 2013 ‎Mytop (hist) ‎[228 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Bash Category:MySQL A sane way to pass a password to mysql-top that doesn't require storing it in the filesystem <nowiki>#!/bin/bash mytop -u root -p"$(read -p "Passwo...)
  19. 19:54, 22 January 2013 ‎Tcpdump Text (hist) ‎[531 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Linux Category:Apache Dump the text content of http traffic between a client and server. This will showing incoming http requests and http responses. <nowiki>sudo /usr/...)
  20. 19:48, 22 January 2013 ‎Openssl (hist) ‎[1,258 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:openssl Generate a new Certificate Signing Request using an existing certificate and private key: <nowiki>openssl x509 -x509toreq -in /etc/pki/tls/certs/foo.crt -signkey /et...)
  21. 19:23, 22 January 2013 ‎Bash Every Other (hist) ‎[338 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Bash Category:Scripts Doing something different on each iteration of a loop. <nowiki> #!/bin/bash i=0 egrep "NAME|DESC" ./inetorgperson.schema \ | grep -v '#' \ | sed ...)
  22. 19:19, 22 January 2013 ‎Certificate Expiry (hist) ‎[917 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Bash Category:Scripts Category:openssl Pass this script a list of servers and ports that use SSL/TLS and it will connect, retrieve the certificate and print the expir...)
  23. 21:03, 10 January 2013 ‎Bash MIME Mailer (hist) ‎[1,164 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:bash Category:Email Here's a way to send mime encoded multi part mails with nothing more than bash, base64 and sendmail. <nowiki> #!/bin/bash # pipe any content throug...)
  24. 09:57, 19 February 2012 ‎SSH ID Installer (hist) ‎[2,162 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: category:linux category:scripts [[category:bash] This script, when passwd an ssh public id and a list of logins, will use ssh to connect to the logins provided and install the new...)
  25. 17:45, 3 February 2012 ‎Spam-Info.py (hist) ‎[1,858 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: category:linux category:python category:scripts Pipe in some exim main log lines, pass the email address of an abused account, get a report of how much mail they sent, how man...)
  26. 13:42, 16 July 2011 ‎Cyrus (hist) ‎[813 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:servers Creating mailboxes and checking/setting permissions: <nowiki> $ cyradm --user cyradm imap.example.com Password: imap.example.com> cm office.repo...)
  27. 13:37, 16 July 2011 ‎Exim (hist) ‎[1,644 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:servers Various little things to do when running an exim mail server. queue <nowiki>$ exim -bp</nowiki> queue summary: <nowiki>$ exim -bp|exiqsumm</no...)
  28. 13:31, 16 July 2011 ‎Testing Clamav (hist) ‎[2,977 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:bash Category:servers From a remote machine allowed access clamd, use clamd-stream-client with the clamav test virus files. The test virus files are b...)
  29. 12:58, 16 July 2011 ‎Squid stats.py (hist) ‎[27 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Redirect:Squid-Stats.py)
  30. 12:38, 16 July 2011 ‎Thunderbird debug (hist) ‎[273 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Linux Category:Desktop Use this when thunderbird goes mad and you want to know why. <nowiki> #!/bin/bash export NSPR_LOG_MODULES=IMAP:4,SMTP:4 export NSPR_LOG_FILE=~/Des...)
  31. 12:33, 16 July 2011 ‎Rpm-extract.sh (hist) ‎[179 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:bash Category:scripts Because I am too dumb to remember the correct switches for cpio <nowiki> #!/bin/sh rpm2cpio $1 | cpio -idmv </nowiki>)
  32. 12:31, 16 July 2011 ‎Eximstats.sh (hist) ‎[11,101 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:scripts Category:bash Category:perl Call this every night to generate a text based report for your exim server. It uses a little perl script to spl...)
  33. 12:26, 16 July 2011 ‎Exim-linesforclient.sh (hist) ‎[252 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:scripts Category:bash Pass this an ip address for a client sending mail to your exim submission service <nowiki> #!/bin/bash cat /var/log/exim/main....)
  34. 12:24, 16 July 2011 ‎Exim-top-senders.sh (hist) ‎[472 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:scripts Category:bash <nowiki> #!/bin/bash renice 10 $$ # Some nasty byte escape sequence showed up in an email address # \222 - possibly �� (La...)
  35. 12:22, 16 July 2011 ‎Exim-incoming.sh (hist) ‎[423 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:bash Category:scripts $ exim-incoming.sh foo@example.com <nowiki> #!/bin/bash # return all details logged to the exim main log file for all messages...)
  36. 12:06, 16 July 2011 ‎Cacti ss get snmp (hist) ‎[12,176 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:scripts Category:php This is a script that will collect arbitary snmp data for cacti's script host. You specificy which oids to query in named section...)
  37. 11:59, 16 July 2011 ‎Squid-Stats.py (hist) ‎[8,997 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:python Category:scripts This script will use a local squidclient binary to get stats from squid's cache manager and output them in a way cacti can use ...)
  38. 11:56, 16 July 2011 ‎Squid-Stats.sh (hist) ‎[3,186 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:bash Category:linux Category:scripts This was a poor attempt to collect squid stats from the cache manager and get them in to cacti. I wrote some python to do this an...)
  39. 11:52, 16 July 2011 ‎SpamAssassin Updater (hist) ‎[4,674 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:bash Category:scripts This script will check for new spamassassin rule sets, download them, test them, compile them and reload spamd plus keep backups ...)
  40. 11:47, 16 July 2011 ‎Spamd stats (hist) ‎[5,634 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:perl This script will collect stats from the spamd logs. It's based on another script called exim-stats and has only been modified in a minor way. The scri...)
  41. 11:41, 16 July 2011 ‎Calamaris (hist) ‎[11,975 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:bash Category:scripts Category:perl Calamaris is a log analyser for squid. It makes nice reports that management type like. Actually they're very u...)
  42. 11:31, 16 July 2011 ‎SpamAssassin-scripts (hist) ‎[1,515 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:bash Category:scripts Some simple scripts I user for working with spamassassin. See also Clean_Spam and Test_Spam. sa-deploy.sh - sanity check...)
  43. 11:21, 16 July 2011 ‎Ldap-scripts (hist) ‎[1,020 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:bash Category:scripts These are some little scripts I use to simplify working with an ldap server. ldap-user.sh - for simple searches, one value again...)
  44. 11:15, 16 July 2011 ‎Test Spam (hist) ‎[622 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:linux Category:bash Category:scripts This is a script I use for testing new spam rules. You can throw you spam corpus at spamd and see how it scores the messages. It...)
  45. 11:12, 16 July 2011 ‎Clean Spam (hist) ‎[718 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Category:Linux Category:bash Category:scripts This is a simple little script for cleaning up spam. Get the message cleaned up so it looks like it's just come in on a mailrelay...)
  46. 11:38, 12 March 2011 ‎Ts.sh (hist) ‎[230 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: [Category:Bash] [Category:Squid] a simple script for getting a human readable date from a timestamp. I use this to convert the timestamps in the squid logfile. <nowiki> #!/bin/bash dat...)
  47. 11:24, 12 March 2011 ‎Bacula (hist) ‎[954 bytes] ‎Kieran.whitbread (Talk | contribs) (New page: Nice backup system for linux [http://www.bacula.org] Here are some functions I use to check common things in bacula <nowiki> [kieranw@weevil ~]$ typeset -f berroredvols () { echo ...)

View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500)

Main Menu

Personal tools

Toolbox