Utility scripts
-
recode.py (See source code)
- Filter script to transform a text file from one encoding into another
using Pythons unicode capabilities
-
re_filter.py (See source code)
- Applies a regular expression substition to the files on the command line.
Has the advantage over using sed, that it is possible to replace
the files directly. No need to redirect to a temporary file first.
-
-
uvscan_update.py (See source code)
- A script that checks for signature file updates for the McAfee virus
scanner (uvscan), downloads and installs them. No need to hassle with
manual updating anymore!
-
- ttfinst.sh
- Scans a directory for TrueType fonts, extracts the names and can create
a fonts.dir file for the X font server, a Fontmap file for
Ghostscript and PostScript font sample pages. Uses a tool called
ttf-gs described in an article in the german computer magzine
c't. The article was called
"Die wahre Schrift, TrueType-Schriften für Linux" by Jürgen Schmidt and
was published in the issue 25/99, page 242. You can download the tools
from the c't website.-
- mkttfsamples.sh
- A helper script for the ttfinst.sh script. Makes a PostScript
font sample page for a TrueType font.
-
- cpcdda.sh
- Copies an audio CD (CDDA) on-the-fly using cdrdao and
cdparanoia.
-
|
kdemenu2ice
This (not really) small Python script converts the
KDE menu definitions into a
IceWM menu file. I know, there
are already a lot of similar programs but this one does it's job
with some special care. Full documentation can be obtained by
starting the script with the option --help. This
version currently needs the module cmdline.py,
which can be downloaded here.
!!!This tool is utterly outdated and is
provided here for download only for informational purpose!!!
Download /
Listing
crack.py
A password cracker, written also in Python. The script tries to
decode the encrypted passwords in a UNIX passwd or
shadow file by comparing them to a wordlist file.
It tries all words in lower/upper case, with the first letter
capitalized and backwards. It unterstands either normal (encrypted
with crypt(3)) passwords or also MD5 encrypted
passwords. It needs the modules utillib and
authlib.
You also need a file with a list of words, as you can find it
normally under /usr/dict/words.
This script was written primarily for practice, don't expect
it to be fit for real usage. It is far too slow, especially with
MD5 passwords!.
This script is now included as an example in the auth-modules package!
utillib.py / authlib.py
Python modules containing a few utility functions, I use in my
Python programs. Most interesting is an implementation of MD5
password encryption as employed by
PAM.
Download /
Listing (utillib.py)
The authlib.py module is now included in the auth-modules package!
|