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
@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, zznop0x90@gmail.com
;;;
;;; 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
@matteyeux
matteyeux / iptables.sh
Created December 13, 2018 11:00 — forked from m4vr0x/iptables.sh
Proxmox iptables rules script
#!/bin/sh
# ---------
# VARIABLES
# ---------
## Proxmox bridge holding Public IP
PrxPubVBR="vmbr0"
## Proxmox bridge on VmWanNET (PFSense WAN side)
PrxVmWanVBR="vmbr1"
@matteyeux
matteyeux / sepsplit.c
Created October 7, 2018 21:33 — forked from xerub/sepsplit.c
/*
* SEP firmware split tool
*
* Copyright (c) 2017 xerub
*/
#include <fcntl.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
@matteyeux
matteyeux / is_wireless.c
Created June 9, 2018 10:06 — forked from edufelipe/is_wireless.c
C example code to list all network interfaces and check whether they are wireless or not. Linux only. Tested on Ubuntu 10.04 and 12.04, but should be compatible with pretty much everything out there.
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <ifaddrs.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <linux/wireless.h>
@matteyeux
matteyeux / Alerts.strings
Last active January 8, 2018 18:14
TypeStatus Plus 1.4
<!-- Explanation of the alert type setting. -->
<key>ALERT_TYPE_EXPLANATION</key>
<string>S'applique uniquement aux notifications prévues pour TypeStatus Plus.</string>
<!-- Explanation of the above setting. -->
<key>WAKE_WHEN_LOCKED_EXPLANATION</key>
<string>Allume l'écran lorsque vous recevez une notification de TypeStatus lorsque celui-ci est verrouillé.</string>
<!-- Option to use the respective app icon. -->
<key>ICON</key>
@matteyeux
matteyeux / xnu-4570.1.46-arm64-steps.txt
Created October 9, 2017 06:45 — forked from Proteas/xnu-4570.1.46-arm64-steps.txt
steps to build arm64 version of xnu-4570.1.46
Following are my steps to build the ARM64 version of xnu-4570.1.46, hope this is helpfull for saving time.
1. Use Xcode 9.0
2. Preparation is same as macOS, and there is a guide: https://0xcc.re/building-xnu-kernel-macosx-sierrra-10-12-x/
3. There is an ARM64 version libfirehose: https://github.com/Proteas/install_firehose_lib
4. Copy and edit the ARM64 config(CFLAGS, LDFLAGS) from darwin-on-arm/xnu to your target project
5. Example CFLAGS: -Darm64 -DARM64 -D__arm64__ -D__ARM64__ -DLP64 -DCONFIG_EMBEDDED -mkernel -DARM64_BOARD_CONFIG_T8011=1
6. Fix compiling stage errors by directly importing the missing headers or editing the code
7. Fix linking stage errors by implementing place holder funcitons for: chudxnu_cpu_alloc, etc
8. If missing symbol __divti3 in linking stage, get the runtime from llvm.
@matteyeux
matteyeux / ios_dcsd_output_set.c
Last active August 29, 2019 02:40 — forked from alexhude/ios_dcsd_output_set.c
Setting up /dev/uart.debug-console output for DCSD
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/file.h>
#include <assert.h>
#include <fcntl.h>
#include <errno.h>
#include <termios.h>
#include <unistd.h>
#include <sys/event.h>
@matteyeux
matteyeux / Credits.md
Last active November 10, 2016 20:27
TermHere 1.2

Remerciements:

Terminal toolbar icon est sous license SIL Open Font License, version 1.1.

Si cette app vous est utile, s'il vous plait pensez à faire un don au developpeur pour le remercier. Faire un don