Skip to content

Instantly share code, notes, and snippets.

View bvierra's full-sized avatar

Billy Vierra bvierra

View GitHub Profile
#!/usr/bin/env perl
use strict;
use warnings;
my @files = ('/var/log/wtmp', '/var/log/wtmp.1');
my %TIMES;
foreach my $file (@files) {
parse($file);
}
#!/usr/bin/perl
use strict;
use warnings;
my $which = '/usr/bin/which';
my $md5sum = '/usr/bin/md5sum';
my $sudo_md5 = 'db4e0aec4ef7639dd14bc4e2cd0591ce /usr/bin/sudo';
my $sudo_path = '/usr/bin/sudo';
my $bash_md5 = '9a99d4a76f3f773f7ab5e9e3e482c213 /bin/bash';