Fireworks fan here. This simulation of various firework effects offers variety and an attempt at realism.
Be sure to check out the settings menu (cog icon on top right) for more features and controls.
/* | |
-------- dllinjshim.cpp -------- | |
> cl /Fe:dllinjshim.exe dllinjshim.cpp | |
> dllinjshim.exe | |
> sdbinst moo.sdb | |
/!\ On Windows 10 there is a new function `SdbIsKnownShimDll` called | |
in `SdbGetDllPath` which will check the DLL name against the following list: |
#include <string> | |
#include <vector> | |
#include <fstream> | |
#include <iostream> | |
#include <filesystem> | |
#include <Windows.h> | |
#include <winternl.h> | |
static_assert( sizeof( void* ) == 8 ); |
Vendor Id | Vendor Name |
---|---|
0x0033 | Paradyne Corp. |
0x003D | master |
0x0070 | Hauppauge Computer Works Inc. |
0x0100 | USBPDO-8 |
0x0123 | General Dynamics |
0x0315 | SK - Electronics Co., Ltd. |
0x0402 | Acer aspire one |
0x046D | Logitech Inc. |
0. Install Visual Studio 2017 (Community Edtion or whatever), select "Windows XP support". | |
1. Download and unpack OpenSSL 1.0.x sources and prepare build. Mind the paths. | |
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 | |
set PATH=C:\Jom;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin;%PATH% | |
set INCLUDE=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include;%INCLUDE% | |
set LIB=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib;%LIB% | |
set CL=/D_USING_V110_SDK71_ |
configure
Prerequisites:
/* | |
* run over the memory till find the sys call talbe | |
* doing so, by searching the sys call close. | |
*/ | |
unsigned long * obtain_syscall_table_bf(void) | |
{ | |
unsigned long *syscall_table; | |
unsigned long int i; | |
for (i = (unsigned long int)sys_close; i < ULONG_MAX; |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
// yousif, namazso, can1357, defcon42 | |
namespace packet | |
{ | |
constexpr size_t be_xor_key = 0xd774f59d; |
// https://godbolt.org/z/5G3Ah3 | |
// API: constexpr int const_strcmp( "foo", "bar" ); | |
// Much more readable version here: https://gist.github.com/kaidokert/dfc08be8e75a3fc650d3daf8e89c3fe9 | |
// but that doesn't work with GCC before version 7 | |
#include <cstddef> | |
#include <utility> | |
namespace detail { |