April 1, 2008

Applied Security Visualization – I Have a Book Cover!

Filed under: Log Analysis,Security Article Reviews,Security Information Management,VI — @ 1st of April 2008, 14:56

Thanks to the design department at Addison Wesley, I have a proposal for a cover page of my upcoming book:

Applied Security Visualization

This is really exciting. I have been working on the book for over a year now and finally it seems that the end is in sight. I have three chapters completely done and they should appear in a rough-cuts program, as an electronic pre-version, very soon (next three weeks). Another three chapters I got back from my awesome review committee and then there are three chapters I still have to finish writing.

Applied Security Visualization should be available by Black Hat at the beginning of August. I will do anything I can to get it out by then.

Technorati Tags: , , , ,

January 28, 2007

VIM 7

Filed under: VI — @ 28th of January 2007, 19:01
I haven’t written about VIM in a long time. Although I am using the editor daily. Finally, I fixed some HTML errors on the VIM page and added some comments about the new features in Version 7 of VIM.
December 6, 2005

Adding Random Data To Files

Filed under: VI — @ 6th of December 2005, 01:30

I find myself adding data to files that need to be randomized. Well, just call awk from within vi and use the rand() function

:%!awk ‘BEGIN {srand()}; {if (int(rand()*4)==2) {printf(“\%s,S\n”,$0)} else print $0;}’

Maybe even a bit more comfortable AND this only adds to the lines if they don’t use SA, S or F

:%!awk ‘BEGIN {srand()} \!/(SA|S|F)$/ {if (int(rand()*4)==2) {sub(/$/,”FA”);}};{print}’

Adding Text To Special Lines

Filed under: VI — @ 6th of December 2005, 01:22

I need to remember this one:

:g/some text/s/$/,more_data

This will add another column of data to all the lines with “some text”. Simple but useful.