- Basic blocks are broken on calls, unlike IDA
- Pruned path are quite useless
- Lots of pathgroup init parameters
- Analysis techniques and heuristics used in CFGFast (there is a TODO already)
#!/bin/sh | |
set -x | |
set -e | |
# Notes: | |
# This is how I was able to get a working kivy + ffpyplayer on my Rpi 3 (I can launch a mp4 video, at least) | |
# | |
# This script was not ran on a fresh distribution, so details might change. | |
# It was mainly copied from https://github.com/matham/ffpyplayer/blob/master/.travis.yml#L20 | |
# Other steps required: Increasing the GPU memory (see https://github.com/kivy/kivy/issues/4662) |
#!/usr/bin/env python3 | |
import sys | |
from v0lt import * | |
MMAP_SIZE = 0x1000 | |
PERM_RWX = 0x7 | |
def check_stack(): | |
''' |
#include <string.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <mach-o/dyld.h> | |
#include <mach-o/nlist.h> | |
#include <mach-o/dyld_images.h> | |
#include <mach/mach_vm.h> | |
/* Dyld is the OSX Dynamic Linker | |
* /usr/include//mach-o/loader.h |
#include <errno.h> | |
#include <string.h> | |
#define NONE "\033[0m" | |
#define RED "\033[31m" | |
# define print_errno() \ | |
{ \ | |
if (errno) \ | |
{ \ |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int main(void) | |
{ | |
const char shelly[] = ""; // Your shellcode | |
printf("Length: %lu\n", strlen(shelly)); |
#!/bin/bash | |
# Translate hexdump output to ready_to_send shellcode | |
# C'EST PAS OPTI | |
# MAIS JE M'EN FOUS | |
to_shellcode() | |
{ | |
hexdump -x $1 |
curl http://whatthecommit.com/ 2> /dev/null | sed '40q;d'| cut -c 4- |
$$$$$ | |
$NNN$$$: | |
$$$N $$$7 7$$$$$$$ | |
$$>>>>$$$$$$$ NNN$ | |
:$$$::::::::>>>NOO$ | |
$: >$$$$ | |
C> $777 | |
$:Q: $ $$$$$$$ | |
$:H: :H $?????$? |