This file contains hidden or 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
CREATE TABLE `user_online` ( | |
`session` char(100) NOT NULL default '', | |
`time` int(11) NOT NULL default '0' | |
) TYPE=MyISAM; |
This file contains hidden or 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
#include <Windows.h> | |
#include <iostream> | |
#include <DbgHelp.h> | |
#include <processsnapshot.h> | |
#include <TlHelp32.h> | |
#include <processthreadsapi.h> | |
//process reflection stuff copied from: https://github.com/hasherezade/pe-sieve/blob/master/utils/process_reflection.cpp | |
//minidump/process searching copied from: https://ired.team/offensive-security/credential-access-and-credential-dumping/dumping-lsass-passwords-without-mimikatz-minidumpwritedump-av-signature-bypass | |
//compile using: cl.exe refl.cpp /DUNICODE |
This file contains hidden or 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
Release/Debug: | |
General -> Whole Program Optimization -> No Whole Program Optimization | |
Linker -> Input -> Ignore All Default Libraries = Yes | |
Linker -> Manifest File -> Generate Manifest = Disabled | |
Linker -> Advanced -> Entry Point = (set EntryPointName) | |
C/C++ -> Code Generation -> Security Check = Disable Security Check | |
C/C++ -> Optimization -> Optimization = Disabled | |
C/C++ -> General -> SDL checks = (remove value) | |
C/C++ -> Advanced -> Compile As = Compile as C Code (if need C90) |