Skip to content

Instantly share code, notes, and snippets.

@jipegit
jipegit / gist:3da9fa7e47eeee44450a9bb0958d377e
Created September 10, 2019 14:29
IoC extracted from volexity.com blog post Digital Crackdown: Large-Scale Surveillance and Exploitation of Uyghurs
Date
2019-09-02
References
https://www.volexity.com/blog/2019/09/02/digital-crackdown-large-scale-surveillance-and-exploitation-of-uyghurs/
Artifacts
Filesystem
/data/data/com.android.browser/loader
/data/data/com.android.browser/loader.log
Quick and Dirty iOS Exploits/Implant IoC from Google Project Zero blog posts
Date
2019-08-30
References
https://googleprojectzero.blogspot.com/2019/08/a-very-deep-dive-into-ios-exploit.html
https://googleprojectzero.blogspot.com/2019/08/in-wild-ios-exploit-chain-1.html
https://googleprojectzero.blogspot.com/2019/08/in-wild-ios-exploit-chain-2.html
https://googleprojectzero.blogspot.com/2019/08/in-wild-ios-exploit-chain-3.html
import requests, json, logging, sys
class PassiveTotal:
def __init__(self, apikey):
self.__apikey = apikey
self.__classifications = [ 'targeted', 'crime', 'benign', 'multiple' ]
self.__actions = [ 'add', 'remove' ]
@AmazingAkai
AmazingAkai / bot.py
Created March 24, 2024 09:05
Discord.py button roles example.
from __future__ import annotations
import re
from typing import Optional
import discord
from discord.ext import commands
# Role IDs to labels mapping.
# role_id: label
@Skarlso
Skarlso / main.go
Created February 16, 2019 21:31
Golang SSH connection with hostkey verification
package main
import (
"bytes"
"fmt"
"io/ioutil"
"log"
"golang.org/x/crypto/ssh"
kh "golang.org/x/crypto/ssh/knownhosts"
@jipegit
jipegit / Apple persitence mecanisms.md
Last active May 10, 2024 14:32
Apple persitence mecanisms

Apple persitence mecanisms

Type Location Documentation
Kernel/Sytem Extensions /System/Library/Extensions/
/Library/Extensions/
/Extra/Extensions/
https://developer.apple.com/fr/support/kernel-extensions/
/Extra/Extensions/ is deprecated
Launch Daemons /System/Library/LaunchDaemons/
/Library/LaunchDaemons/
/Users/*/Library/LaunchDaemons/
https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/Introduction.html
Launch Agents /System/Library/LaunchAgents/
/Library/LaunchAgents/
/Users/*/Library/LaunchAgents/
https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/Introduction.html
Startup Items /System/Library/StartupItems//Library/
@jakevis
jakevis / !Mac Notes.md
Last active May 10, 2024 14:32
Mac Notes

This Gist includes a few handy scripts for the old Mac

@edokeh
edokeh / index.js
Last active May 10, 2024 14:31
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@eloraiby
eloraiby / STM32F103.md
Last active May 10, 2024 14:30
Setup Stm32f103 blue pill under vscode

stm32f103 Blue pill C/C++ programming

In STM32CubeMX, enable debugging: Pinout & Configuration > System Core > SYS > Mode > Debug: Enable.

Then under Project Manager > Toolchain/IDE: Makefile

Inside VSCode, add a configuration in launch.json:

        {
            "name": "GDB",
@Uchux
Uchux / impossible-checkbox-v2.markdown
Created May 10, 2024 14:29
Impossible Checkbox v2 🐻

Impossible Checkbox v2 🐻

Revisiting one of my favorite pens to update the React side of it and add sound

A Pen by Uchux_NBA on CodePen.

License.