Skip to content

Instantly share code, notes, and snippets.

@jackbrown
Created March 23, 2017 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jackbrown/30d70ad0f6bcbfd8cb84c53f85875d9f to your computer and use it in GitHub Desktop.
Save jackbrown/30d70ad0f6bcbfd8cb84c53f85875d9f to your computer and use it in GitHub Desktop.
wifi battering ram
'use strict';
const http = require('http');
let count = 0;
setInterval(() => {
http.get({
host: 'neverssl.com'
}, function (response) {
let body;
response.on('data', function (d) {
body += d;
});
response.on('end', function () {
count = count + 1;
console.log(`Loaded the site ${count} times`);
});
});
}, 5000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment