Skip to content

Instantly share code, notes, and snippets.

@ohmika
Created June 19, 2020 22:06
Show Gist options
  • Save ohmika/ef59fda3d6f40a64ba963a6b88a041dc to your computer and use it in GitHub Desktop.
Save ohmika/ef59fda3d6f40a64ba963a6b88a041dc to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Krunker Hack
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Teleport woo hoo
// @author CryoScalpel
// @match https://krunker.io/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
var _0x7127=['mousedown','now','Created\x20Websocket,\x20URL:','appendChild','delete','log','type','code','-o-filter:\x20invert(100%);','createElement','send','getElementsByTagName','text/css','counter','forEach','head','html\x20{-webkit-filter:\x20invert(0%);\x20-moz-filter:\x20\x20\x20\x20invert(0%);\x20-o-filter:\x20invert(0%);\x20-ms-filter:\x20invert(0%);\x20}','keydown','set','-ms-filter:\x20invert(100%);\x20}','addEventListener','KeyE','clear','styleSheet','cssText','-moz-filter:\x20invert(100%);','createTextNode'];(function(_0xa5f5a7,_0x7127b6){var _0x4879fc=function(_0x50a245){while(--_0x50a245){_0xa5f5a7['push'](_0xa5f5a7['shift']());}};_0x4879fc(++_0x7127b6);}(_0x7127,0x8f));var _0x4879=function(_0xa5f5a7,_0x7127b6){_0xa5f5a7=_0xa5f5a7-0x0;var _0x4879fc=_0x7127[_0xa5f5a7];return _0x4879fc;};var _0x1fee33=!![];function _0x39882f(){_0x252211:(function(){var _0x2a9116='html\x20{-webkit-filter:\x20invert(100%);'+_0x4879('0x11')+_0x4879('0x0')+_0x4879('0xb'),_0x70aaa0=document[_0x4879('0x3')](_0x4879('0x7'))[0x0],_0x1c9a56=document[_0x4879('0x1')]('style');if(!window[_0x4879('0x5')]){window[_0x4879('0x5')]=0x1;}else{window[_0x4879('0x5')]++;if(window[_0x4879('0x5')]%0x2==0x0){var _0x2a9116=_0x4879('0x8');}};_0x1c9a56[_0x4879('0x19')]=_0x4879('0x4');if(_0x1c9a56['styleSheet']){_0x1c9a56[_0x4879('0xf')][_0x4879('0x10')]=_0x2a9116;}else{_0x1c9a56[_0x4879('0x16')](document[_0x4879('0x12')](_0x2a9116));}_0x70aaa0[_0x4879('0x16')](_0x1c9a56);}());}document[_0x4879('0xc')](_0x4879('0x9'),_0x5c7b01=>{if(_0x5c7b01[_0x4879('0x1a')]==_0x4879('0xd')){if(_0x1fee33){_0x39882f();_0x1fee33=![];}else{_0x39882f();_0x1fee33=!![];}}});document['addEventListener'](_0x4879('0x13'),_0x4c25ca=>{if(_0x4c25ca['button']==0x0){if(!_0x1fee33){_0x39882f();_0x1fee33=!![];}}});window['WebSocket']=class _0x4e5422 extends WebSocket{constructor(..._0xf6e332){super(..._0xf6e332);this['sQ']=new Map();console[_0x4879('0x18')](_0x4879('0x15'),_0xf6e332[0x0]);}[_0x4879('0x2')](..._0x2a19c9){this['sQ'][_0x4879('0xa')](performance[_0x4879('0x14')](),_0x2a19c9[0x0]);if(_0x1fee33){this['sQ'][_0x4879('0x6')](_0x15634a=>super[_0x4879('0x2')](_0x15634a));this['sQ'][_0x4879('0xe')]();}else{this['sQ']['forEach']((_0x5e00d5,_0x528e8c)=>{if(performance[_0x4879('0x14')]()-_0x528e8c>0xfa0){super['send'](_0x5e00d5);this['sQ'][_0x4879('0x17')](_0x528e8c);}});}}};
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment