Windows Password Reset using BackTrack3

mount -t ntfs-3g -o force /dev/sda1 /mnt/sda1
cd /pentest/password/chntpw
chntpw /mnt/sda1/WINDOWS/system32/config/SAM
Choose option 1
reboot server password is now blank.

FreeBSD 7 Password Reset

Choose option 4 to enter Single User mode. At the question about the shell to use, hit Enter. You will be dropped to a # prompt.

Enter mount -urw / to remount your root file system read/write, then run mount -a to remount all the file systems.

Run passwd root to change the root password then run exit to continue booting.

Note: If you are still prompted to give the root password when entering the Single User mode, it means that the console has been marked as insecure in /etc/ttys. In this case it will be required to boot from an FreeBSD installation disk, choose the Fixit shell from sysinstall( 8 ) and issue the commands mentioned above.

Note: If you cannot mount your root partition from Single User mode, it is possible that the partitions are encrypted and it is impossible to mount them without the access keys. Your chances are depending on the chosen implementation. For more information see the section about encrypted disks in the FreeBSD Handbook.

GRUB Loader password bypass

http://www.cyberciti.biz/tips/howto-recovering-grub-

boot-loader-password.html

Using a recovery CD, such as RIP Linux or the Knoppix Live CD
like in the How To in the link. This will be showing the RHEL way of doing it.

Step 1. Single user the server.

Step 2. You need to mount a partition where the grub configuration file is stored. D: /boot/grub/grub.conf

Step 3. If you forgot partition name use fdisk -l command to obtained partition list.
# fdisk -l

Step 4. Mount your partition:
# mount /dev/sdb1 /mnt

Step 5. Then modify the /boot/grub/grub.conf file
# cd /mnt/boot/grub
# vi or nano grub.conf

Step 6. Once file opened using text editor, locate password line and remove it:
password --md5 $1$9sdflksdf/sdf44k

Step 7. Save file and reboot the system.
# sync; sync
# cd /
# umount /mnt
# reboot

FreeBSD Commands

Administrative GUI:

/stand/sysinstall
pw
adduser rmuser
vipw
chpass

List hardware configuration:

dmesg
cat /var/run/dmesg.boot
pciconf -l

Add device without reboot:

camcontrol
atacontrol
kldload

Enabling USB

Command Line: kldload ukbd
or
ukbd_load=”YES” in /boot/loader.conf

Read a disk label

Follow

Get every new post delivered to your Inbox.