Skip to content

Instantly share code, notes, and snippets.

View shinohara-rin's full-sized avatar
🌴
On vacation

Rin shinohara-rin

🌴
On vacation
  • Ayaka Universe
View GitHub Profile
@macshome
macshome / defang.md
Last active April 24, 2024 18:31
How to defang system protections on macOS

How to Defang macOS System Protections

If you want to change things on the root drive of a Mac you will need to take some steps to disable the built in security of the system. Most of these steps are the same regardless if you are on Intel or Apple Silicon. If there is a difference it is noted.

Note that all of these things put a Mac into an unsupported and less secure state.

Make sure you either perform these steps in a VM or that you reset the protections after you are done poking around

Protections and Terms

(This list is not exahustive on the details of each. Check the links at the end for more info.)

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@NikitaKarnauhov
NikitaKarnauhov / tlrecode.sh
Created May 16, 2016 18:02
Shell script to decode and encode TP-LINK router config files
#!/usr/bin/env bash
# tlrecode.sh
# Decode and encode TP-LINK router config files.
#
# Creative Commons CC0 License:
# http://creativecommons.org/publicdomain/zero/1.0/
#
# To the extent possible under law, the person who associated CC0 with this
# work has waived all copyright and related or neighboring rights to this work.
@magicnat
magicnat / tg-bot-chat.sh
Last active April 20, 2019 23:56
A simple script allows you to chat as a bot in Telegram.
#!/bin/bash
# Simple script allows you to chat as a bot in Telegram.
# based on topkecleon/telegram-bot-bash.
# dependencies: python3, python-telegram-bot (pip3 install python-telegram-bot);
# tmux
TOKEN=""
URL='https://api.telegram.org/bot'$TOKEN
MSG_URL=$URL'/sendMessage'
ACTION_URL=$URL'/sendChatAction'
PHO_URL=$URL'/sendPhoto'
@chhh
chhh / .gitignore
Last active January 21, 2024 03:50
.gitignore file for IDEA, Eclipse, NetBeans
#
# Project specific excludes
#
tomcat
#
# Default excludes
#
@dalbothek
dalbothek / gist:2601639
Created May 5, 2012 11:16
Minecraft 12w18a RC4 & 12w19a HC-256 MITM exploit
#!/bin/env python
# -*- coding: utf-8 -*-
#
# Author: Simon Marti <simon@ceilingcat.ch> @sadimusi
#
# This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What The Fuck You Want
# To Public License, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.