Skip to content

Instantly share code, notes, and snippets.

@bulk88
Created June 14, 2020 03:04
Show Gist options
  • Save bulk88/c4714c766dba6d74998d8187209386c3 to your computer and use it in GitHub Desktop.
Save bulk88/c4714c766dba6d74998d8187209386c3 to your computer and use it in GitHub Desktop.
TransitWireless bypass
javascript:function%20parse_query_string(e){for(var%20t=e.split("&"),o={},n=0;n<t.length;n++){var%20s=t[n].split("="),r=decodeURIComponent(s[0]),a=decodeURIComponent(s[1]);if(void%200===o[r])o[r]=decodeURIComponent(a);else%20if("string"==typeof%20o[r]){var%20p=[o[r],decodeURIComponent(a)];o[r]=p}else%20o[r].push(decodeURIComponent(a))}return%20o}params=parse_query_string(location.search.substr(1));var%20x=window.XMLHttpRequest?new%20XMLHttpRequest:new%20ActiveXObject("Microsoft.XMLHTTP");x.open("POST","https://bap.aws.opennetworkexchange.net/api/v1/auth/adtech",0),x.setRequestHeader("Content-Type","application/x-www-form-urlencoded;%20charset=UTF-8"),poststr="NASID="+params.NASID+"&VLAN="+params.VLAN+"&PIP="+params.PIP+"&SID="+params.SID,x.send(poststr);document.location="http://tinymta.us.to";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment