Skip to content

Instantly share code, notes, and snippets.

View 0xC05's full-sized avatar
📖
Studying

SYN 0xC05

📖
Studying
View GitHub Profile

Keybase proof

I hereby claim:

  • I am 0xC05 on github.
  • I am 0xc05 (https://keybase.io/0xc05) on keybase.
  • I have a public key whose fingerprint is DDDB D443 4A0B B566 3985 4EF2 5191 1073 8A79 949C

To claim this, I am signing this object:

@0xC05
0xC05 / getenvaddr.c
Created August 23, 2019 10:05 — forked from perks/getenvaddr.c
getenvaddr.c - find environment variable addresses
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char *argv[]) {
char *ptr;
if(argc < 3) {
printf("Usage: %s <environment variable> <target program name>\n", argv[0]);
exit(0);