MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / createXHR

Function createXHR

restore/505goldhen/exploit.js:107–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 return encodeURIComponent(contenu);
106}
107function createXHR() {
108 var resultat = null;
109 try {
110 resultat = new XMLHttpRequest();
111 } catch (Error) {
112 try {
113 resultat = new ActiveXObject("Msxml2.XMLHTTP");
114 } catch (Error) {
115 try {
116 resultat = new ActiveXObject("Microsoft.XMLHTTP");
117 } catch (Error) {
118 resultat = null;
119 }
120 }
121 }
122 return resultat;
123}
124function supprimerContenu(element) {
125 if (element != null) {
126 while (element.firstChild)

Callers 1

stage2_Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected