Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Script to build futurerestore for GNU/Linux
# tested on Debian 9 and Ubuntu 18.04.
# Install libimobiledevice before running this script
# (https://gist.github.com/matteyeux/d7d8041a41ee8d664aaf5c3b99556ada)
# install liblzfse
git clone https://github.com/lzfse/lzfse.git
make -C lzfse && sudo make -C lzfse install
@matteyeux
matteyeux / mem-loader.asm
Created January 8, 2019 18:36 — forked from zznop/mem-loader.asm
Fun little loader shellcode that executes an ELF in-memory using an anonymous file descriptor (inspired by https://x-c3ll.github.io/posts/fileless-memfd_create/)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Copyright (C), zznop, [email protected]
;;;
;;; This software may be modified and distributed under the terms
;;; of the MIT license. See the LICENSE file for details.
;;;
;;; DESCRIPTION
;;;
;;; This PoC shellcode is meant to be compiled as a blob and prepended to a ELF
#!/usr/bin/env python3
import os
import sys
import json
import time
import configparser
import notify2
import datetime
from etnawrapper import EtnaWrapper
#!/usr/bin/env python3
# pip install etnawrapper
# have fun
# ~matteyeux
from etnawrapper import EtnaWrapper
import json
import operator
import os
find . -name ".DS_Store" -exec python ../Python-dsstore/main.py "{}" \;
@matteyeux
matteyeux / ida.txt
Created June 24, 2019 13:33
Random file I put here to install IDA PRO 7.2 on Linux with Wine
install wine64 :
sudo apt install wine64-development
Get Python
curl -O https://www.python.org/ftp/python/2.7.15/python-2.7.15.amd64.msi
wine64-development msiexec /i python-2.7.15.msi
wine64-development ida
/*
* some code I put here to not forget it
*/
typedef int (*aes_crypto_cmd_t)(unsigned int op, void* src, void* dst, int size, unsigned int hwKey, void* iv, void* key);
int main(void)
{
// Set hardcoded aes_hw_crypto_cmd offset here...
aes_crypto_cmd_t mahAESThing = (aes_crypto_cmd_t) 0x0;
version: "3.7"
services:
front:
image: nginx
networks:
- myapp
deploy:
mode: global
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import json
from taskw import TaskWarrior
def task_exists(w, task_name: str) -> bool:
"""
check if task exists before inserting it

BootROM

r2 -a arm -b -m base -b 64