Linux Security Distros: http://www.securitydistro.com/
Sumolinux comes with various security distros that you can select at boot.
Damn Vulnerable Linux like all good security distros comes "disabled" in
various ways to control stupid use of the powerful tools, assuming of course
that intelligence coexists with ethics.
For instance the keyboard is DE which means that it's configured with the x/y
keys (and various others) swapped.
To fix this, you can run this bash script:
#!/bin/bash
## Author: Poser CodeMonkey ##
## Change the keyboard for DVL ##
## Usage: Be sure you know what keys are translated
## before attempting to implement (test to see if y/z or :/. are
## swapped (DE) etc.
setkeys() {
echo "You Chose $lo"
echo "Is This Correct? Y/N"
echo "By selecting Yes, will change you keyboard layout to $lo"
read -n1 correct
case $correct in
y|Y)
loadkeys $lo
setxkbmap $lo
;;
n|N)
exit
;;
*)
echo "Invalid Answer"
sleep 1
setkeys
esac
}
start() {
echo "Select your keyboard layout:"
echo " 1. US (default) 2. UK"
echo " 3. CA 4. UA"
echo " 5. dvorak-5 6. dvorak-l"
echo " 7. DE 8. CZ"
echo " 9. RU"
read -n1 language
case $language in
1)
lo=us
;;
2)
lo=uk
;;
3)
lo=ca
;;
4)
lo=ua
;;
5)
lo=dvorak-r
;;
6)
lo=dvorak-l
;;
7)
lo=de
;;
8)
lo=cz
;;
9)
lo=ru
;;
*)
echo "Invalid Answer"
sleep 1
start
;;
esac
setkeys
}
start
## end
Of course, if you are using vi, to save you need to use "." instead of ":" etc.
Test the keys before running to be sure you have the right translation, then
drop to a shell, highlight, cut/splice into a file and then enter:
# sh file
You will then be able to take advantage of the extensive tools and tutorials
available from this excellent reverse engineering distro.
obnosis.com | wiki.obnosis.com| (503)754-4452
PLUG HACKFESTS 2nd Saturday Each mo...@noon - 3PM
_________________________________________________________________
HotmailĀ® is up to 70% faster. Now good news travels really fast.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss