Got an HP server to play with, a Proliant ML 150 G6 (what’s the deal with HP’s wacko URLs?); not too expensive, and is big with really loud fans. When setting up IPMI the man advises you to “use Telnet to log in to the remote management CLP” – I haven’t used telnet in sometime, I had to try. telnet 192.168.0.46 Trying 192.168.0.46… Connected to 192.168.0.46. Escape character is […]
Have a wtmp file you need read? A nice perl one liner to do so: perl -we ‘@type=("Empty","Run Lvl","Boot","New Time","Old Time","Init","Login","Normal","Term","Account");$recs = ""; while (<>) {$recs .= $_};foreach (split(/(.{384})/s,$recs)) {next if length($_) == 0;my ($type,$pid,$line,$inittab,$user,$host,$t1,$t2,$t3,$t4,$t5) = $_ =~/(.{4})(.{4})(.{32})(.{4})(.{32})(.{256})(.{4})(.{4})(.{4})(.{4})(.{4})/s;if (defined $line && $line =~ /\w/) {$line =~ s/\x00+//g;$host =~ s/\x00+//g;$user =~ s/\x00+//g;printf("%s %-8s %-12s %10s %-45s\n",scalar(gmtime(unpack("I4",$t3))),$type[unpack("I4",$type)],$user,$line,$host)}}print"\n"’ < /var/log/wtmp Thanks to: http://www.hcidata.info/wtmp.htm
The Sleep of Reason Produces Monsters
A monumental work… what a great line as well. From the immortal Goya. Always stay vigilant…. (Image from the truly marvelous Met Museum of Art web pages, they have wonderful hi-def scans of so much… thanks!!! What a tremendous way to bring art to the people – this bit isn’t even being physically shown right now, but I can get a real idea of what it’s about by […]
I went to the 2011 USENIX security conference… admittedly not expecting much, but wietse was going to be there, and I must say a really, really fine show. Yes, this is ancient history now… but so am I! Most of us spend a fair bit of time encased in two tons of steel, glass, rubber and more, zipping along at high speeds without a care in the world. In […]
So at first, this looks normal: The emulated hardware consists in the following devices: 32 bit x86 compatible CPU 8259 Programmble Interrupt Controller 8254 Programmble Interrupt Timer 16450 UART Real Time Clock. IDE interface and hard disk. But then… he goes on to say it’s written in… javascript. http://bellard.org/jslinux/tech.html Astonishing demo here (requires somewhat of a modern browser) :) http://bellard.org/jslinux/ Some people have big brains.