--[ Install pentest tools Raspi ]

Add the repo's in sources.list if they are missing
----
/etc/apt/sources.list

add these lines :

deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://repo.kali.org/kali kali-bleeding-edge main



install all Kali pentest packages (need ~ 6 GB on disk):
sudo -s
apt-get update
apt-get install kali-linux -yq

--[ Install Kali on a Raspberry Pi ]

Download Kali Linux for Raspberry Pi image.

Use dd utility to image this file to your SD card. Assumed that the storage device is located at /dev/sdb

Be advised that you doublecheck the location of the SD card !
This process will wipe out your SD card. If you choose the wrong storage device, you may wipe out your computers hard disk.

root@kali:~ dd if=kali-pi.img of=/dev/sdb bs=512k



This process can take a while depending on your USB storage device speed and image size. Once the dd operation is complete, boot up your Rasberry Pi with the SD card plugged in. You will be able to log in to Kali (root / toor) and startx.

--[ Nessus on Kali ]

Download the Nessus installer (.deb) file here

Open a terminal;

    dpkg -i "Nessus.....deb"

When it's done installing, go HERE to get a Registration Code.
register nessus:
$ cd /opt/nessus/bin
$ ./nessus-fetch --register "xxxxxx-xxxxx-xxxxx-xxxxx"
(might take some time for updating plugins)
 "xxxxxx-xxxxx-xxxxx-xxxxx" is the serial code that tenable sent you after  registration.

After it finished the update:
$ service nessusd start

This will start your nessus daemon on Port 8834
https://127.0.0.1:8834

(It may ask to add security exception, do it if that's the case)

Now Add a New Nessus User. The first time Nessus will take a long time to 'initialize', just be patient.

Then you will see a login screen, Enter your login name and password there.
Have fun.

--[ Reset windows pw ]

Download Kali Linux and burn the ISO to a CD/DVD. Boot Windows machine with the LiveCD. On the boot menu of Kali Linux, select Live (forensic mode). Kali Linux initialize and when it loads, it will open a terminal window and navigate to the Windows password database file. Almost all versions of windows password is saved in SAM file. This file is usually located under /Windows/System32/config. On your system it may look something like this: /media/hda1/Windows/System32/config. Below is the screenshot.

--[ reset root pw on kali ]

Boot the machine and wait until GRUB Boot Loader comes up. Select recovery mode and then press e to edit.

on the line :
linux /boot/vmlinuz-3.xxxxxx, after the root UUID, change 'ro' to 'rw'.
After initrd.gz add init=/bin/bash 
Press F10 make the changes and reboot the system.

When its rebooted, it will prompt for the password to manage it.
type : passwd root
type the new password and verify it by entering it again.
then type 'shutdown -h now', after booting it again you can logon with the newly set passwd.