1) Follow the first three steps in the following link about installing Ubuntu based Distros. When following the directions, replace "NEW_DIR" with "weaknet". After following the first three steps in the link, return to this page and finish following the instructions on this page. http://forum.hackfromacave.com/viewtopic.php?f=4&t=40
2) On your Katana Drive, create the file weaknet.cfg in the /boot/menu directory. (This is the menu for WeakNet.) Open weaknet.cfg in a text editor and copy and past the following into it:
- Code: Select all
PROMPT 0
#TIMEOUT 90
DEFAULT /boot/vesamenu.c32
MENU BACKGROUND /boot/wallpaper.png
MENU WIDTH 30
MENU MARGIN 0
MENU ROWS 10
MENU HELPMSGROW 22
MENU TIMEOUTROW 26
MENU TABMSGROW 27
MENU CMDLINEROW 27
MENU HSHIFT 24
MENU VSHIFT 0
menu color screen 37;40 #00000000 #00000000 none
menu color border 30;44 #00000000 #00000000 none
menu color title 1;36;44 #aaaaaaaa #00000000 none
#menu color unsel 37;44 #ff60CA00 #00000000 none
menu color unsel 37;44 #aaaaaaaa #00000000 none
menu color hotkey 1;37;44 #ff60CA00 #00000000 none
#menu color sel 7;37;40 #ffffffff #00000000 none
menu color sel 7;37;40 #ffffffff #00000000 none
menu color hotsel 1;7;37;40 #ff808080 #ff60CA00 none
menu color scrollbar 30;44 #00000000 #00000000 none
menu color tabmsg 31;40 #aaaaaaaa #00000000 none
menu color cmdmark 1;36;40 #ffff0000 #00000000 none
menu color cmdline 37;40 #aaaaaaaa #00000000 none
menu color pwdborder 30;47 #ffff0000 #00000000 std
menu color pwdheader 31;47 #ffff0000 #00000000 std
menu color pwdentry 30;47 #ffff0000 #00000000 std
menu color timeout_msg 37;40 #aaaaaaaa #00000000 none
menu color timeout 1;37;40 #ffaaaaff #00000000 none
menu color help 37;40 #aaaaaa00 #00000000 none
menu color msg07 37;40 #90ffffff #00000000 std
MENU TITLE Katana - WeakNet
LABEL BAD-ASS Mode
MENU BAD-ASS Mode
kernel /weaknet/casper/vmlinuz
append file=/weaknet/preseed/custom.seed initrd=/weaknet/casper/initrd.gz boot=casper quiet splash vga=791
LABEL Wimpy Graphical Mode
MENU Wimpy Graphical Mode
kernel /weaknet/casper/vmlinuz
append file=/weaknet/preseed/custom.seed initrd=/weaknet/casper/initrd.gz boot=casper xforcevesa quiet splash
LABEL Text Only Mode
MENU Text Only Mode
kernel /weaknet/casper/vmlinuz
append file=/weaknet/preseed/custom.seed initrd=/weaknet/casper/initrd.gz boot=casper textonly quiet
LABEL back
MENU LABEL ..
KERNEL /boot/vesamenu.c32
APPEND /boot/menus/main.cfg
TEXT HELP
Back to Main Menu
ENDTEXT
3) Finally, on the Katana Drive; open /boot/menus/main.cfg in a text editor and add the following to the end of the file. This will add WeakNet to the main boot menu
- Code: Select all
LABEL WeakNet
MENU LABEL WeakNet
KERNEL /boot/vesamenu.c32
APPEND /boot/menus/weaknet.cfg
TEXT HELP
More about currently selected:
WeakNet Linux is designed primarily for
penetration testing, forensic analysis and
other security tasks.
ENDTEXT
You should now be able to boot WeakNet from Katana.
