martin carpenter

projects

ckwtmpx

A tool for identifying and repairing corrupted wtmpx(4) files on Solaris.

first

A patch of OpenSolaris' last(1) command that includes years in the output dates (or alternatively UNIX epoch time in seconds). This is useful for reading ancient (or very long) wtmpx(4) files.

get_ssh_key

A utility to return the public component of the SSH key from remote servers (Ruby or Python).

lastlog

A C program for Solaris to read the binary lastlog(4) file and output it as formatted text.

time_ssh_auth

Enumerate system user IDs by timing SSH authentication failures (C, requires libssh).

rubygems

solaris-contents

Read and parse the Solaris contents(4) file (the system package inventory).

solaris-patch

Manipulate Solaris patch numbers, read and parse patchdiag.xref (including easy identification of Recommnded, Security and Obsoleted patches and determination of successors) and download patches and READMEs programatically from Oracle.

solaris-prototype

Parse and write Solaris prototype(4) files used in the creation of native packages.

twofish.rb

Provides a pure Ruby implementation of the Twofish block cipher that does not require compilation. If this isn't fast enough for your application then the README contains sample code to call the BouncyCastle Twofish implementation from JRuby.