Dumped from compo::Environment::PutAllComponentFactories
in msdelta.dll
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
XZ Backdoor symbol deobfuscation. Updated as i make progress |
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
Improved Microsoft PE parser from Kaitai |
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
project(linker_test) | |
macro(handle_asm_file file) | |
set_property(SOURCE "${file}" PROPERTY LANGUAGE C) | |
set_property(SOURCE "${file}" PROPERTY COMPILE_DEFINITIONS __ASSEMBLY__) | |
endmacro() | |
find_library(LIBCRYPTO_LIBRARY NAMES crypto REQUIRED) | |
message(STATUS ${LIBCRYPTO_LIBRARY}) |
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
meta: | |
id: lg_sym | |
file-extension: sym | |
endian: le | |
encoding: ascii | |
seq: | |
- id: header | |
type: header | |
- id: sym_entries | |
type: sym_entry |
Add the following chunk to your existing ISC dhcpd.conf
file.
if exists user-class and ( option user-class = "iPXE" ) {
filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
filename "undionly.kpxe";
}
(or see https://gist.github.com/4008017 for a more elaborate setup
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
diff --git a/ext/ffi/ffi.c b/ext/ffi/ffi.c | |
index 9be5ac3405..81ac091750 100644 | |
--- a/ext/ffi/ffi.c | |
+++ b/ext/ffi/ffi.c | |
@@ -922,9 +922,11 @@ static void zend_ffi_callback_hash_dtor(zval *zv) /* {{{ */ | |
} | |
/* }}} */ | |
-static void zend_ffi_callback_trampoline(ffi_cif* cif, void* ret, void** args, void* data) /* {{{ */ | |
-{ |
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
<?php | |
function kilo($n){ return $n * 1024; } | |
function mega($n){ return kilo($n) * 1024; } | |
function to_cmdline(array $cmd){ | |
return implode(' ', array_map('escapeshellarg', $cmd)); | |
} | |
function make_pipe(array ...$cmds){ | |
$cmdlines = array_map('to_cmdline', $cmds); |
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
// ==UserScript== | |
// @name soundcloud | |
// @namespace https://soundcloud.com/ | |
// @version 0.1 | |
// @include http*://*soundcloud.com* | |
// @description try to take over the world! | |
// @author You | |
// @icon https://www.google.com/s2/favicons?domain=soundcloud.com | |
// @grant none | |
// @run-at document-start |
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
private static unsafe void ReplaceGetEntryAssembly() { | |
MethodInfo methodToReplace = typeof(Assembly).GetMethod("GetEntryAssembly", BindingFlags.Instance | BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public); | |
MethodInfo methodToInject = typeof(EzDotnetCompat).GetMethod("MyGetEntryAssembly", BindingFlags.Instance | BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public); | |
RuntimeHelpers.PrepareMethod(methodToReplace.MethodHandle); | |
RuntimeHelpers.PrepareMethod(methodToInject.MethodHandle); | |
long* inj = (long*)methodToInject.MethodHandle.Value.ToPointer() + 1; | |
long* tar = (long*)methodToReplace.MethodHandle.Value.ToPointer() + 1; |
NewerOlder