Required tools for playing around with memory:
hexdump
objdump
readelf
xxd
gcore
##################################################################### | |
# Toggle Defender Real-time Protection | |
# | |
# Syntax: | |
# | |
# Defender - toggle Real-time Protection (default) | |
# Defender -state 0/1 - Set Real-time Protection to Enable/Disable | |
##################################################################### | |
param( |
function TerminateProcess { | |
param ( | |
$ProcessName | |
) | |
$p = Get-Process $ProcessName -ErrorAction SilentlyContinue | |
if ($p) { | |
Stop-Process -InputObject $p | |
} | |
} |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <assert.h> | |
#include "zlib.h" | |
#define CHUNK 16384 | |
/* | |
40 Length of the zlib stream |