Beginners Bible - Basic Commands I've Used - hopefully will update as i progress
so the story goes, i went in BT5 hardcore and used it as my main OS after 10 mins using the usb version on 2 laptops and i love it.
but... as we all know, the first "hello" from pure windows to linux/BT is a bit of mission.
with this i wrote down every command/fix/tweak i used to get basic functions working (music, flash in firefox, picture viewing...)
when first diving into linux i found it confusing to understard exsactly what to write into the konsole so writing this i used the simple idea of;
BACKTRACK5 GUIDE
################################################## ##
PROGRAMS
Vlc = Video/Music
Flash Plugin = BT5 Forums
Feh = Picture Viewer
Easytether = Android Tethering
Bless = Hex Editor
Gparted = HDD partition Editor
Transmission = Torrent Client
Crunch = Passwordlist generator
################################################## ##
FIXES
NO STARTX
rm -rf /root/.kde/cache-bt
rm -rf /root/.kde/cache-root
FIREFOX FLASH PLAYER "FILES NEEDED"
tar xvfz flashplayer10_2_p3_64bit_linux_111710.tar.gz
chown root:root libflashplayer.so
chmod 0644 libflashplayer.so
cp -f libflashplayer.so /usr/lib/mozilla/plugins/
rm -rf libflashplayer.so
ln -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/firefox/plugins/
tar xvfz install_flash_player_10_linux.tar.gz
mkdir ~/.mozilla/plugins
mv -f libflashplayer.so ~/.mozilla/plugins/
VLC RUN AS ROOT FIX
/usr/bin/vlc
edit with hex editor
change the line
geteuid._libc_start_main
to
getppid._libc_start_main
################################################## ##
Commands = Action **** = your input
root:toor
startx = GUI
alsamixer = Volume Control
cd = change working directory
reboot = reboot
poweroff = shutdown
rfkill list = wifi problems
rfkill unblock all = wifi on
rm /***/** = delete file
rm -rf /****/** = harsh delete
iwconfig = wireless config/list
ifconfig = wired config/list
################################################## ##
TASKKILLER
kill **** = PID number
################################################## ##
BLUETOOTH
hciconfig hci0 up = on
hciconfig hci0 = info
hcitool scan hci0 = find devices
################################################## ##
ANDROID TETHERING
easytether connect
***new konsole
dhclient eaytether0
################################################## ##
TAR/RAR/ZIP = cd to directory
tar zxf file.tar.gz
tar xvfz ******.tar.gz
tar -zxvf ******.tgz
tar xvf *******.tar.gz2
tar jxf file.tar.bz2
tar zxvf file.tgz
unzip ******.zip
unrar x ****.rar
################################################## ##
INSTALL PROGRAMS
aptitude install **** =install
apt-get **** = install
apt-get update = update repos
apt-get remove [--purge] **** = uninstall plue dependencies
apt-cache search = search repos
################################################## ##
BLUETOOTH
start device
>> hciconfig hci0 up
find device info
>> hciconfig hci0
################################################## ##
WPACRACKING
rfkill unblock all = start wifi
airmon-ng start wlan0 = start monitor mode
airdump-ng mon0 = monitor all
airdump-ng -c *channel --*****bssid -w psk mon0 = catch handshake
aireplay-ng -0 5 -a****acsespoint -c ***conectdcomp mon0 = deauth attack
mdk3 = stronger deauth attack
PIPE CRUNCH = 8 ATOZ0TO9 CAPS!
/pentest/passwords/crunch/crunch 8 8 -f /pentest/passwords/crunch/charset.lst ualpha-numeric -u | aircrack-ng -e test -w - /pentest/wireless/aircrack-ng/test/wpa.cap
sorry i didnt think this thread was approved :) will update weekly
Re: Beginners Bible - Basic Commands I've Used - hopefully will update as i progress
Just for curiosities sake, as BackTrack is designed as a pen-testing tool, why not install a linux system like Ubuntu or something more user friendly to accomplish your needs? In many ways, its more user friendly and is a good starting point if you are not yet used to Linux, as you'll find the beginners forum starts off much more basic, and works its war up.
Just food for thought!
Re: Beginners Bible - Basic Commands I've Used - hopefully will update as i progress
It's always great to create your own terminal cheat sheet ;-)
I've done it a lot of times...
I agree 100% with raskolnikov, about the "normal" linux distro, instead of using Backtrack all the time..
Take a look at Ubuntu, Kubuntu, Linux Mint, Debian etc. They are kind of similar to the way Backtrack is build up..
As a last note - here's a link with lot's of cheat sheets:
http://www.scottklarr.com/topic/115/...te-collection/
Re: Beginners Bible - Basic Commands I've Used - hopefully will update as i progress
Also, Backtrack is meant to be run primarily under the root user - something you shouldn't do for regular browsing or system use. Since Backtrack is based off Ubuntu, I'd recommend starting with Ubuntu and using Backtrack on the side. Anyway, for some cool command line hacks, you should head over to http://www.commandlinefu.com Good luck.
Re: Beginners Bible - Basic Commands I've Used - hopefully will update as i progress
Buy Linux-Command-Shell-Scripting-Second
Very good book, especially for beginners. I am reading it at the moment.
Re: Beginners Bible - Basic Commands I've Used - hopefully will update as i progress
I have found the apropos command to be very useful, I am always forgetting what commands are available for what, so I just use
apropos [subject that command pertains to]
and it gives me a list of commands that pertain to that subject, then I can man page any of those commands for more info.
Just something that has helped me in the past! Cheers!
Th3Cap3