create fake link, make such link in your site. Show how.

 
Post new topic   Reply to topic    Webmaster Forum -> Hacking and Security
aliens
Guest




Gender: None specified

PostPosted: Sun Jun 10, 2007 1:03 pm    Post subject: create fake link, make such link in your site. Show how.
View Single PostView Single Post

How do I make such links?
Fake links, when you click on them. See your status bar or right click and and select properties if you still don't believe.

Click the links bellow to see examples of fake link:
http://www.geocities.com/minhtot54/index.html

Place your mouse on those links. what do you see in the status bar of your browser? Right-click on the link and select copy to clipboard or similar. What do you get on the clipboard? Is it different from the address you arrive at when you click the link?


Follow the two steps bellow to create your own fake link:

1. Insert this code in your page.

                                 
Code:
<script type="text/javascript">
function Map() {
    this.keys = [];
    this.values = [];
    this.count = 0;
    this.put = function (key, value) {
        with (this) {
            for (i=0; i<count; i++) if (keys[i] == key) {
                values[i] = value;
                return;
            }
            keys[count] = key;
            values[count] = value;
            count++;
        }
    }
    this.get = function (key) {
        with (this) for (i=0; i<count; i++) {
            if (keys[i] == key) return values[i];
        }
    }
}

var linkMap = new Map();

function key(obj, e) {
    if (e.keyCode == 13 || e.keyCode == 32) obj.onmousedown(obj);
}

function down(obj, e, url) {
    linkMap.put(obj, obj.href);
    if (!e || !e.which || e.which <= 2) obj.href = url;
    setTimeout(function () {        window.status = linkMap.get(obj);    }, 1);    obj.onmouseup = obj.onkeyup = obj.onclick
    = obj.onmouseout = function () {
        up(this);
    };
}

function up(obj) {
    setTimeout(function() {
        window.status = obj.href = linkMap.get(obj);
    }, 1);
}
</script>


2. Create your links. To create it, use this HTML tags:

                                 
Code:
<a href="the displayed URL"
   onmousedown="down(this, event, 'the actual destination URL')
   onkeydown="key(this, event)"
>(Replace the italicized text above with the actual values)


Have fun with it and don't use it to do bad things, like fishing, ...

This topic extracted or copied from Yuku article found here: http://www.kejut.com/fakelink#jawab

If you interested in this topic, please go there and learn more.
 
ADs
robot
Display posts from previous:   
Post new topic   Reply to topic All times are GMT
Page 1 of 1