This file contains 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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <dlfcn.h> | |
int main(int argc, char** argv) | |
{ | |
void *handle; | |
void (*func_print_name)(const char*); |
This file contains 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
#!/bin/sh | |
##################################################### | |
# Install glibc with debug symbols on Arch Linux # | |
# # | |
# Make by AnyKeyShik Rarity (c) 2021 # | |
##################################################### | |
echo "Installing build dependencies" |
This file contains 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
// Self modified program | |
#include <errno.h> | |
#include <sys/mman.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <unistd.h> | |
int change_page_permissions(void *addr); | |
void change_instruction(void *addr, unsigned char offset, unsigned char new_instruction); |
This file contains 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 <stdio.h> | |
double m[]= {7709179928849219.0, 771}; | |
int main() { | |
m[1]-- ? m[0] *= 2, main() : printf((char*)m); | |
} |
This file contains 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
#! /usr/bin/python2 | |
from PIL import Image | |
ASCII_CHARS = [ '#', '?', '%', '.', 'S', '+', '.', '*', ':', ',', '@'] | |
def scale_image(image, new_width=100): | |
""" | |
Resizes an image preserving the aspect ratio. | |
""" |
This file contains 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
# -*- coding: utf-8 -*- | |
import socket, socks | |
def create_connection(address): | |
""" | |
Create connection with custom sock | |
:param address: address for connection |