r2 -a arm -b -m base -b 64
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
#!/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 |
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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;;; | |
;;; 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 |
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
#!/usr/bin/env python3 | |
import os | |
import sys | |
import json | |
import time | |
import configparser | |
import notify2 | |
import datetime | |
from etnawrapper import EtnaWrapper |
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
#!/usr/bin/env python3 | |
# pip install etnawrapper | |
# have fun | |
# ~matteyeux | |
from etnawrapper import EtnaWrapper | |
import json | |
import operator | |
import os |
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
find . -name ".DS_Store" -exec python ../Python-dsstore/main.py "{}" \; |
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
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 |
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
/* | |
* 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; |
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
version: "3.7" | |
services: | |
front: | |
image: nginx | |
networks: | |
- myapp | |
deploy: | |
mode: global |
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
#!/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 |