Scripts
  • Overview
  • Repository
  • Tickets
  • Statistics
  • Projects

To get the source:

git clone git://piggledy.org/scripts

Vsc2pal.py

VCalendar to pal calendar file converter.

How to use it:

$ vcs2pal.py <vcs file> <pal file>

Censor.py

Most services that ask for a username and a password will record the login in log files. This way, when a user type his password in the login field, it gets recorded in cleartext in the logfile, creating a big security threat to the system. This script finds cleartext password (by trying them against the /etc/shadow file) in logfiles and erase them.

Usage: censor [-hdsrbwn] <file>
Options:
  -h                Show this help
  -d                Display found passwords
  -s                Perform silently (overrides -d)
  -r                Replace found passwords in the file by junk
  -b                Search password byte by byte (really slow)
  -w                Search password word by word (slow)
  -n                Search password word by word considering passwords don't contain spaces(usable/default)

It is advised to use it from logfiles rotations scripts.

Cp.py

Enhanced cp command:

  • Displays a progress bar.
  • Allow speed limitation (through the -k flag).
  • Allow resuming a copy (through the -c flag).

Generated with KisssPM