msgbartop
A cronological documentation test project, nothing serious, really!
msgbarbottom

04 Dec 2007 Strip the kernel to contain only needed modules

This is a great page with som nice bash scripts describing how to remove unwanted modules from your kernel.

Tags: , , , , , , ,

Posted by Hans-Henry Jakobsen

20 May 2007 Get your IP address

ifconfig eth0 | awk '/inet addr/{print $2}' | cut -d: -f2

Tags: , ,

Posted by Hans-Henry Jakobsen

26 Apr 2007 Generate a list of target hosts to nmap scan

Legg følgende inn i fila iplist.sh

#!/bin/bash
# filename: iplist.sh
# usage: ./iplist.sh 192.168.1.0/24 > iplist.txt

nmap -sL $1 --randomize_hosts | grep '^Host' | cut -d '(' -f 2 | cut -d
')' -f 1

(more…)

Tags: , , ,

Posted by Hans-Henry Jakobsen