#!/usr/bin/python #PyLogcleaner uses the list given (logfiles) containing # 274 logfiles and uses the linux find #cmd to try and locate more logfiles to search #for an ip address to replace with a random generated #one. It can also encrypt/d3crypt a #logfile and also can watch a logfile for modifications. import os, sys, time, pwd, getopt, re, random, StringIO, commands def title(): print "\n PyLogCleaner v1.0" print "-----------------------------------------------" def usage(): title() print "\n Usage: python logcleaner.py