Skip to content

Instantly share code, notes, and snippets.

@alexmachina
Created October 2, 2020 20:41
Show Gist options
  • Save alexmachina/c85654df5564a2c6a73ff594c1de968f to your computer and use it in GitHub Desktop.
Save alexmachina/c85654df5564a2c6a73ff594c1de968f to your computer and use it in GitHub Desktop.
Voa Evandrão
const querystring = require("querystring");
const arr = [
"fl=97f301",
"h=www.cloudflare.com",
"ip=2804:14c:191:9689:915a:cdf3:3cfb:cd64",
"ts=1601670488.57",
"visit_scheme=https",
"uag=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/53…ML, like Gecko) Chrome/85.0.4183.83 Safari/537.36",
"colo=GRU",
"http=http/2",
"loc=BR",
"tls=TLSv1.3",
"sni=plaintext",
"warp=off",
"",
];
const record = querystring.parse(arr.join("&"));
console.log(record);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment