echo "/home/cset/bin/nikto/nikto.pl -verbose -g -output" $i.out "-host" $i "2>&1 > /dev/null" >> 80run.txt
echo "/home/cset/bin/nikto/nikto.pl -verbose -g -output" $i.ssl.out "-ssl -port 443 -host" $i "2>&1 > /dev/null">> 443run.txt
Search and replace whole file: :1,$s/pattern/replacement/
Control characters (like control-m) in VI
Control-v control-m
Rsync commands:
To test what files will be done (sample run)
rsync -znturv -e ssh --bwlimit=10 --progress --partial srcfiles dstfiles
Non dry-run:
rsync -zturv -e ssh --bwlimit=10 --progress --partial srcfiles dstfiles
rsync -zogpturv -e ssh --bwlimit=5 --progress --partial src dst
possibly add --exclude=/logs/
Downloads
Frontpage 2k hack
NTuser 4.5.1
ISO ASCII conversions
Base 64 decoder
NIST configuration checklists
ASCII <-> EBCDIC converter
Embed wmv in a web page:
<p>Killing Flies<br>
<
embed SRC="video/2960.wmv" type="application/x-mplayer2" name="MediaPlayer" autostart="1" showcontrols="1" showstatusbar="1" autorewind="1" showdisplay="0"></embed>
<
/p>