Finally HP dropping prices with affordable 7″ tablets.

Password Recovery on Windows XP


– Physical access to the machine
– (If needed) Ophcrack or EBCD (Emergency Bootable CD) after all other options are exhausted


Lost or forgotten the password to your Windows XP computer? Don’t worry, it can be easier to retrieve than you think. What’s described below is for educational purposes and to be used only on your own system or that you have permission to do so, also these only work for local system accounts.

Using Safe Mode:

This method will only work if the Safe Mode Administrator account is not password protected (the case more often than you think!) but in a pinch it might be your only option to check.

1) Reboot the computer by whatever means you deem appropriate at that time.

2) Once the Bios notices loads take note of the hot key to enter Safe Mode and hit it.

3) Enter any of the Safe Mode versions but I’d recommend sticking to Safe Mode with no networking.

4) You have 3 options to get to the same end (that I know of at least).

4.1) Navigate to the Control Panel and enter the User Accounts screen, select the user account(s) in question, and select the option to “Remove Password”. If this is not available skip to bullet #5.

4.2) Reboot the computer once more and enter the account(s) that were specified in bullet #4 without the need to enter a password.

5) Enter DOS if possible.

5.1) Enter Run (if available) and type in “control userpass2” to the Users Panel. If the Run option is not available for some reason skip to bullet 6.0, if these options are not available skip to the Software portion of this.

5.2) From here either reset or blank out the password on the account(s) in question or even create a new account with whatever user level you want.

5.3) Reboot the computer once more and enter the account(s) that were specified in bullet #5.2.

6.0) If Run isn’t available you can make a batch file to get you there as well. Enter Notepad or whatever text editor available that supports saving “All Files”.

6.1) Type out the command “control userpass2”, perform a “Save As”, name it whatever you want but be sure to name the extension a *.bat (which is why the “All Files” part comes in.

6.2) Double click the batch file to run the command you saved in it and you’re in the Users Panel, move back up to bullet 5.1.

Using Third Party Software:

7) Two very useful utilities I’ve found that work (with a bit of time) 99.99% of the time if the above options are not available are EBCD and Ophcrack. You need to insert one of these CD’s and reboot in order to use them. Refer to their documentation at the time of use for the most up to date information.

7.1) The fastest option is called EBCD (Emergency Bootable CD) found at It’s a Linux Live CD (aka an operating system that runs without needing to be installed) that attempts to remove the password on specified account(s) completely and of course doesn’t need to be logged into Windows to run so security is at a minimal. Unfortunately to download it now is behind a pay wall but older versions can probably be found easily enough.

7.2) The best option by far, since it leaves the existing password intact on the system is using a Linux Live CD called Ophcrack which has a very robust brute force password cracker. Length of time need to crack the password will depend on the speed of the PC’s RAM and CPU, length/complexity of the password, speed/condition of the CD drive optics and rotating components. In my experience it usually takes 5-15 minutes at worst for an average user’s password. A Windows Vista version exists as well.

7.3) Reboot the computer once more and enter the account(s) that were specified in bullet #7.2.

Keep in mind there a a LOT of other ways to go about this process but the above has always been as much as I ever needed.

Source –

Blackberry Tethering – Linux

A blackberry phone, a service contract (researching, may be optional), a computer that doesn’t already have internet access but will have it at the end of this tutorial.

I have attempted to build from source many different applications to include barry which is a linux application made to work with your blackberry.
After many failed attempts of trying to get tethering to work I ended up with weird gprs error basicly stating that the application could not see my device.
My device is a Blackberry Curve 8330 with the Verizon network.

I ended up finding another site which told me that for the Curve to work with tethering and Linux, you had to connect it not via the USB cable, but via bluetooth!
This finally worked for me! So I am basicly writing how I was able to get this up.
This was done on a laptop running Ubuntu so should work for Debian also.
The bluetooth adapter I am using is a trendnet usb2.0 adapter.

Inside /etc/bluetooth/ there should be a file called rfcomm.conf if not create it by using a text editor.
Inside that file should have something similar to:
rfcomm0 {
# # Automatically bind the device at startup
bind yes;
# # Bluetooth address of the device (mac address)
device 00:00:00:00:00:00;
# # RFCOMM channel for the connection
channel 3;
# # Description of the connection
comment “Bluetooth device”;

Inside your /etc/ppp/peers folder create another text file called verizon (or whatever you want it to be called)
and you should have something similar to the following:
connect “/usr/sbin/chat -v -f /etc/chatscripts/verizon”
connect-delay 10000
user “”
lcp-echo-failure 4
lcp-echo-interval 65535

As you see this file calls another file we’ll need which is /etc/chatscripts/verizon which you will create and put the following info into it:

Afterwards you should be able to type:
pon verizon
and everything should connect and sync up properly.
You will get a message that pops up on your blackberry stating “do you want to allow bluetooth connection from…” and as soon as you say yes, wait 10 seconds and do a ifconfig -a and you will see ppp0 network interface which will have an address.
If you are still having an issue connecting to check your /etc/resolv.conf file to see if you have appropriate dns nameservers.


Source -

Some Basic Linux Commands

PS: ex is for Examples.

Linux “manual” pages, describing in detail every command, what it’s options are, and what it does.

$ man
What manual page do you want?

$ man ls | more
LS(1) User Commands LS(1)

ls – list directory contents

ls [OPTION]… [FILE]…

List information about the FILEs (the current directory by default).
Sort entries alphabetically if none of -cftuvSUX nor –sort.

Mandatory arguments to long options are mandatory for short options

-a, –all
do not ignore entries starting with .

-A, –almost-all
do not list implied . and ..


Shows the path of the directory you are in; aka “Parent Working Directory”.

$ pwd

ls (ls -al shows hidden files too)
Same as dir, list files and folders in your current directory.

$ ls
agetty.exe hwclock.exe mkfs.bfs mkfs.minix sln.exe
fsck.cramfs init.exe mkfs.cramfs mkswap.exe sysctl.exe
fsck.minix killall5.exe mkfs.exe runlevel.exe telinit

Same as cls, clears you current shell’s screen.

Same as type, “concatenates” aka list the contents of a file “normally text files”.

$ cat test

“Global Regular Expressions Parser”<—(don’t ask me why I know this) is used for searching files for strings you want.

$ cat hackers.txt | grep Steve
Richard Stevens
Steve Bellovin
Steve Crocker
Steve Jobs
Steve Shirley
Steve Wozniak
Steven G. Steinberg

Changes the access file attributes of a file or folder.(readonly,writable,hidden,etc…)

ex (the first number is (7) is for user, second number for group, and third for everyone else, 7=writable, 5=read&execute, 0=nothing
chmod -R 700 /home/share/mydirectory

Changes the ownership file attributes of a file or folder.

ex (-R means recursive ie.. for every folder and file underneath)
chown -R cisc0ninja:localadmins /home/share

Removes a file.

$ rm test.txt

Removes a directory

$ rmdir test

(ifconfig -a)
List your network interfaces and their configuration options.

shinra:/home/share# ifconfig -a | more
eth1 Link encap:Ethernet HWaddr 00:17:31:37:9b:7d
inet addr: Bcast: Mask:
inet6 addr: fe80::217:31ff:fe37:9b7d/64 Scope:Link
RX packets:751482 errors:0 dropped:0 overruns:0 frame:0
TX packets:743923 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:496898734 (473.8 MiB) TX bytes:180162903 (171.8 MiB)

Upgraded version of telnet with an added bonus of encryption and secure copying capabilities.

cisc0ninja@shinra:~$ ssh -l cisc0ninja
]|[ [-=- SOLDIERX.COM Presents -=-] ]|[


Linux zip utility to zip and unzip files.

$ tar -zxvf dnsenum1.1.tar.gz

Sorts the content inside of a document. (alpha-numerically)

$ sort hackers-orig.txt | uniq >> hackers.txt

Removes duplicate entries in a file.

$ sort hackers-orig.txt | uniq >> hackers.txt

Moves a file.

$ mv test /tmp

Makes a connected device (hard drive, flash drive, etc..) accessible to you and the system whether it’s mounted as readonly or writable is up to you.
It can also be used (as below) to show what devices are mounted, how, and where.

shinra:/home/share# mount
/dev/md2 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/md0 on /boot type ext3 (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)

df (or df -h)
shows file system usage

$ df -h
Filesystem Size Used Avail Use% Mounted on
C:\cygwin\bin 75G 63G 13G 84% /usr/bin
C:\cygwin\lib 75G 63G 13G 84% /usr/lib
C:\cygwin 75G 63G 13G 84% /
c: 75G 63G 13G 84% /cygdrive/c

ps (ps -aux) or top
used for showing amount of processing power and memory each service/application is using.

top – 02:35:57 up 8:07, 2 users, load average: 0.00, 0.00, 0.00
Tasks: 6 total, 2 running, 4 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.7% user, 4.8% system, 0.0% nice, 92.5% idle
Mem: 1015152k total, 609300k used, 405852k free, 0k buffers
Swap: 1523712k total, 71080k used, 1452632k free, 0k cached

11392 cisc0ninja 8 0 2388 2860 40 R 2.9 0.3 0:00.09 top
1712 SYSTEM 8 0 2028 2292 76 S 0.0 0.2 0:00.15 cygrunsrv
2220 SYSTEM 8 0 2572 3692 40 S 0.0 0.4 0:00.15 sshd
3952 cisc0ninja 8 0 2860 356 12 R 0.0 0.0 0:01.12 bash
2344 cisc0ninja 8 0 2924 1884 40 S 0.0 0.2 0:01.06 bash
244 cisc0ninja 8 0 2640 132 0 S 0.0 0.0 0:00.18 ssh

A text editor for command line, very powerful, takes some time to getting use to.
note: (to exit out of vi/vim press esc a couple of times then the shift and colon key “same time”, then type q! “not at same time”;)
(if you want to save make it wq!)


Used to define a variable or constant

$ echo $SHELL

Gives further information on a command, such as what options are available for use with that command.

$ cat –help
Usage: cat [OPTION] [FILE]…
Concatenate FILE(s), or standard input, to standard output.

-A, –show-all equivalent to -vET
-b, –number-nonblank number nonblank output lines
-e equivalent to -vE
-E, –show-ends display $ at end of each line
-n, –number number all output lines
-s, –squeeze-blank never more than one single blank line
-t equivalent to -vT
-T, –show-tabs display TAB characters as ^I
-u (ignored)
-v, –show-nonprinting use ^ and M- notation, except for LFD and TAB
–help display this help and exit
–version output version information and exit

With no FILE, or when FILE is -, read standard input.

cat f – g Output f’s contents, then standard input, then g’s contents.
cat Copy standard input to standard output.


cisc0ninja’s cranium

%d bloggers like this: