Skip to content

Instantly share code, notes, and snippets.

@matthewjberger
matthewjberger / instructions.md
Last active July 22, 2024 20:47
Install a nerd font on ubuntu

1.) Download a Nerd Font

2.) Unzip and copy to ~/.fonts

3.) Run the command fc-cache -fv to manually rebuild the font cache

Thoughts on jailbreak detection

The controversy of jailbreak detection has been brought up multiple times in my Twitter feed, so in order to not have to repeat myself, I'll write my thoughts down here.
One day I'll hopefully get round to set up a realistic blog and then I'll move this there, but for now I'll just dump it here on GitHub.

Motivation

Hi. I'm Siguza, and among other things I write exploits for a hobby and help make jailbreaks. One of the reasons I do that is because I believe we should have the ability to run whatever we want on our iDevices, just as we do with laptops and desktop computers. Now, a lot of app developers however seem to despise jailbreaks, and try to make their apps refuse service on jailbroken devices. I think that firstly sucks big time, and secondly always misses the point. From what I gathered, the two arguments for using jailbreak detection seem to be:

  • "J
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {box-sizing: border-box}
body {font-family: "Lato", sans-serif;}
html, body {
margin: 0;
padding: 0;
@wkdguswhd987
wkdguswhd987 / How to import mmd model for ue4.md
Last active February 10, 2023 14:50
MMD 파일 (모델,애니메이션) 언리얼 엔진으로 임포트 하는방법
\x1b[38;2;255;255;255;48;2;255;255;255m▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀\x1b[38;2;255;255;255;48;2;248;248;246m▀\x1b[38;2;255;255;255;48;2;236;233;230m▀\x1b[38;2;255;255;255;48;2;222;215;215m▀\x1b[38;2;255;255;255;48;2;213;200;200m▀\x1b[38;2;255;255;255;48;2;211;204;202m▀\x1b[38;2;255;255;255;48;2;211;207;203m▀\x1b[38;2;255;255;255;48;2;213;208;207m▀\x1b[38;2;255;255;255;48;2;237;230;235m▀\x1b[38;2;255;255;255;48;2;246;242;243m▀\x1b[38;2;255;255;255;48;2;255;254;254m▀\x1b[38;2;255;255;255;48;2;255;255;255m▀▀▀▀▀▀▀▀▀▀▀▀▀\x1b[m
\x1b[38;2;255;255;255;48;2;255;255;255m▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀\x1b[38;2;252;254;255;48;2;254;254;255m▀\x1b[38;2;254;255;255;48;2;254;255;255m▀\x1b[38;2;255;255;255;48;2;255;255;255m▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀\x1b[38;2;255;255;255;48;2;245;241;241m▀\x1b[38;2;240;235;233;48;2;177;157;164m▀\x1b[38;2;176;151;151;48;2;239;237;234m▀\x1b[38;2;192;172;175;48;2;255;255;255m▀\x1b[38;2;215;203;206;48;2;255;255;255m▀\x1b[38;2;194;178;182;48;2;255;255;255
@ivanov17
ivanov17 / jwk2asn1.py
Last active June 12, 2023 07:51 — forked from jonlundy/conv.py
Convert the Letsencrypt/Certbot private_key.json file to Abstract Syntax Notation One (ASN.1)
#!/usr/bin/env python3
# Convert certbot private_key.json to Abstract Syntax Notation One (ASN.1)
# Usage: python3 jwk2asn1.py private_key.json > private_key.asn1
# openssl asn1parse -genconf private_key.asn1 -noout -out private_key.der
# openssl rsa -in private_key.der -inform der > private_key.pem
#
# Originally developed and published by Jon Lundy under the MIT License, 2015
# Updated to Python 3.6 by Anton Ivanov, Agorist International Conspiracy, 2020
#
from sys import argv
@sophiezhng
sophiezhng / edit_github_bio.py
Last active February 1, 2022 01:23
Edit your GitHub profile bio programmatically using Python and the GitHub API
import json
import requests
from getpass import getpass
# Login to GitHub and go to Settings > Developer settings > Personal access tokens and generate a new token.
# For scope click the user checkmark and generate token.
# Save it elsewhere as after you close the tab you will not be able to see it again on your profile.
api_token = getpass('API Token: ')
h = {'Accept': 'application/vnd.github.v3+json',
@philip-gai
philip-gai / gh-set-secret.yml
Last active January 14, 2024 18:11
GitHub Actions: Set a repo environment secret using the gh cli in 1-2 steps
# Prerequisites:
# - Create a secret with your PAT token. Permissions needed: repo (all) and read:org
# - Create the HELLO_WORLD secret in your environment with some dummy initial value
#
# Notes:
# - You can tell that it works because it masks the secret_body in the echo secret step after it creates the secret 😄
# - If you don't want to have to pass --repo to gh secret set, then put the actions/checkout@v2 step before the gh secret set step
name: gh-set-secret
@thanoskoutr
thanoskoutr / squashfs-install.md
Last active May 19, 2024 03:14
Fix sasquatch installation for binwalk

Fix sasquatch installation for binwalk

For anynone that is running the latest version of binwalk (Binwalk v2.3.3) and when trying to extract squshfs filesystems, gets the following error:

WARNING: Extractor.execute failed to run external extractor 'sasquatch -p 1 -le -d 'squashfs-root' '%e'': [Errno 2] No such file or directory: 'sasquatch', 'sasquatch -p 1 -le -d 'squashfs-root' '%e'' might not be installed correctly

it might have to do that the sasquatch project is missing or not working correctly.

Install sasquatch