Skip to content

Instantly share code, notes, and snippets.

@mschmitt
mschmitt / uhpg.pl
Created March 22, 2012 14:33
The user hater's password generator. Have a lot of fun!
#!/usr/bin/perl -w
use strict;
use diagnostics;
my @normal_chars = qw(I 1 l 0 O);
my @special_chars = qw(| [ ]);
my $length = 12;
print "The user hater's password generator. Have a lot of fun!\n";
print "-------------------------------------------------------\n";
@mtigas
mtigas / gist:952344
Last active October 16, 2024 09:03
Mini tutorial for configuring client-side SSL certificates.

Client-side SSL

For excessively paranoid client authentication.


Updated Apr 5 2019:

because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.

some other notes:

@mschmitt
mschmitt / match-ssh-keys
Created August 11, 2010 13:33
Matches Fingerprints from sshd logs (sshd on loglevel VERBOSE) against authorized_keys for the respective user.
#!/usr/bin/perl -w
use strict;
use diagnostics;
use File::Temp;
# Matches Fingerprints from sshd logs (sshd on loglevel VERBOSE) against
# authorized_keys for the respective user.
die "Please specify input file!\n" unless ($ARGV[0]);