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
/* | |
@snowcra5h | |
This is a template for a remote exploit. | |
It is a skeleton that you can use to build your own exploit. | |
+------------------+ <- Higher Memory Addresses | |
| ... | | |
+------------------+ | |
| Return Address | <- Overwritten with "\x04\x03\x02\x01" |
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 <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#define MAX_PAGES_PER_PROC 8 | |
#define MAX_PROCS 2 | |
#define PHYSICAL_ADDRESS_MASK 0xFFFFFF | |
#define LOGICAL_ADDRESS_MASK 0x00007fff | |
#define VALID_BIT_MASK 0x80000000 /* bit 32 */ | |
#define OFFSET_MASK 0x0FFF |
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
# This pseudocode assumes the existence of data structures for the export directory table | |
# and functions to read from these structures based on Relative Virtual Addresses (RVA). | |
# Structure definitions (simplified) | |
struct ExportDirectoryTable { | |
NamePointerTable namePointerTable; | |
OrdinalTable ordinalTable; | |
ExportAddressTable exportAddressTable; | |
} |
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
<# | |
.SYNOPSIS | |
A PowerShell script to attach a debugger to a running process or a service. | |
.DESCRIPTION | |
This script allows you to attach a debugger (WinDBG) to a running process or a service, with optional commands executed at the start of the debugging session. | |
It can also start an executable specified by a file path and attach the debugger to it. | |
.PARAMETER service_name | |
The name of the service to restart and attach the debugger to (optional). |
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
/** | |
* ______ _______ _________ _______ | |
* / ___ \ ( ____ \\__ __/( ____ \|\ /| | |
* \/ ) )| ( \/ ) ( | ( \/| ) ( | | |
* / / | (__ | | | (_____ | | | | | |
* / / | __) | | (_____ )| | | | | |
* / / | ( | | ) || | | | | |
* / / | (____/\ | | /\____) || (___) | | |
* \_/ (_______/ )_( \_______)(_______) | |
* |
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
// ___ ___ ________ ________________ __ | |
_start: // | \/ || ___| \/ | _ | ___ \ \ / / | |
push 30 ; Arg 3 // | . . || |__ | . . | | | | |_/ /\ V / | |
push 20 ; Arg 2 // | |\/| || __|| |\/| | | | | / \ / | |
push 10 ; Arg 1 // | | | || |___| | | \ \_/ / |\ \ | | | |
call fun |
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
/** Lambdas in C. Compile with GCC! | |
* ███ ▄████████ ███ ▄████████ ███ █▄ ▄██████▄ | |
*▀█████████▄ ███ ███ ▀█████████▄ ███ ███ ███ ███ ███ ███ | |
* ▀███▀▀██ ███ █▀ ▀███▀▀██ ███ █▀ ███ ███ ███ ███ | |
* ███ ▀ ▄███▄▄▄ ███ ▀ ███ ███ ███ ███ ███ | |
* ███ ▀▀███▀▀▀ ███ ▀███████████ ███ ███ ███ ███ | |
* ███ ███ █▄ ███ ███ ███ ███ ███ ███ | |
* ███ ███ ███ ███ ▄█ ███ ███ ███ ███ ███ | |
* ▄████▀ ██████████ ▄████▀ ▄████████▀ ████████▀ ▀██████▀ | |
* |
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
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────┬────────────────────────────────────────────────────────────────────────── | |
│ printf Format Specifiers │ | |
│ ┌──────────┬──────────────────────────────────────────────────┬───────────────────────────────────────┐ │/** printf format specifiers | |
│ │ Specifier│Description │ Example Output │ │ * ███ ▄████████ ███ ▄████████ ███ █▄ ▄██████▄ | |
│ ├──────────┼──────────────────────────────────────────────────┼───────────────────────────────────────┤ │ *▀█████████▄ ███ ███ ▀█████████▄ ███ ███ ███ ███ ███ ███ | |
│ │ %d │Signed decimal integer │ printf("%d", 42); // 42 │ │ |
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
// all ytdl files and code. | |
/* argument_parsing.c */ | |
#include "argument_parsing.h" | |
#include "help_display.h" | |
#include "directory_management.h" | |
#include <getopt.h> | |
#include <stdio.h> | |
#include <stdlib.h> |
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
m¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm»m¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûmm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm´I$I$I$I$I$I$I$I$I$I$I$I$m¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶ÛÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿI$I$I$I$I$I$I$I$I$I$I$I$Km¶Ûm¶Ûm¶Ûm¶Ûm¶ÐÛm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Û¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶ÖÛm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶ÛI$I$I$I$I$I$I$I$I$I$I$I$I&Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm°ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿù$I$I$I$I$I$I$I$I$I$I$I$I$¶Ûm¶Ûm¶Ûm¶Ûm¶Ûmm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm»m¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûmm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm´I$I$I$I$I$I$I$I$I$I$I$I$m¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶ÛÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿI$I$I$I$I$I$I$I$I$I$I$I$Km¶Ûm¶Ûm¶Ûm¶Ûm¶ÐÛm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Û¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ûm¶Ö |
OlderNewer