Skip to content

Instantly share code, notes, and snippets.

View interfacekun's full-sized avatar
😇
Working from home

interfacekun

😇
Working from home
View GitHub Profile
#!/usr/bin/python2.7
#
# Dahua backdoor Generation 2 and 3
# Author: bashis <mcw noemail eu> March 2017
#
# Credentials: No credentials needed (Anonymous)
#Jacked from git history
#
import string
@interfacekun
interfacekun / .ts
Created November 24, 2020 06:09
Clz
enum ClzEnum {
A = 'clzA',
B = 'clzB',
C = 'clzC'
}
abstract class ClzBase {
constructor() {
}
@interfacekun
interfacekun / copyContent.js
Created April 1, 2019 03:21 — forked from benloong/copyContent.js
Copy file out of ASAR archive for Electron app
var fs = require("fs");
var app = require("electron").remote.app;
var fsj = require("fs-jetpack");
// example usage : copyFileOutsideOfElectronAsar( "myFolderInsideTheAsarFile", app.getPath("temp") + "com.bla.bla"
var copyFileOutsideOfElectronAsar = function(sourceInAsarArchive, destOutsideAsarArchive) {
if ( fs.existsSync( app.getAppPath() + "/" + sourceInAsarArchive ) ) {