Skip to content

Instantly share code, notes, and snippets.

@matteyeux
matteyeux / twittermute.txt
Created January 3, 2020 07:40 — forked from IanColdwater/twittermute.txt
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet

BootROM

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

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