Skip to content

Instantly share code, notes, and snippets.

@nighthawk24
nighthawk24 / darkirc
Last active April 4, 2024 05:39
darkirc on android
Running darkirc on Android
On your System:
---
Follow the instructions linked below to ensure you have all the necessary dependencies
https://darkrenaissance.github.io/darkfi/index.html#build
Setup Docker on your machine which may look like:
Install docker and docker-buildx packages.
Enable the docker daemon service.
@nighthawk24
nighthawk24 / shelley_staking_gen.md
Created October 4, 2020 17:24 — forked from ilap/shelley_staking_gen.md
Extracting Pool Staking keys from Daedalus/Yoroi wallet

Intorduction

DISCLAIMER: NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK

UPDATED: 14:08am AEST 29/Sept/2020, The IDX was incorrectly used. Fixed now

There are two keypairs that are required to register a pool:

  1. reward account (costs and rewards) and
  2. owner stake (pledge) keypair.
@nighthawk24
nighthawk24 / Google Play Services v12.0.1
Created April 13, 2018 21:24
Google Play Services Permissions List
Google Play services
Google LLC
This app has access to:
Device & app history
retrieve running apps
read sensitive log data
Identity
@nighthawk24
nighthawk24 / iOS, The Future Of macOS, Freedom, Security And Privacy In An Increasingly Hostile Global Environment.md
Created April 7, 2018 04:48
iOS, The Future Of macOS, Freedom, Security And Privacy In An Increasingly Hostile Global Environment

iOS, The Future Of macOS, Freedom, Security And Privacy In An Increasingly Hostile Global Environment

This post by a security researcher who prefers to remain anonymous will elucidate concerns about certain problematic decisions Apple has made and caution about future decisions made in the name of “security” while potentially hiding questionable motives. The content of this article represents only the opinion of the researcher. The researcher apologises if any content is seen to be inaccurate, and is open to comments or questions through PGP-encrypted mail.



TL;DR

@nighthawk24
nighthawk24 / gh-backup-starred.sh
Created February 8, 2017 19:19 — forked from anonymous/gh-backup-starred.sh
Backup starred GitHub repositories
#!/bin/bash
user="CHANGEME"
pages=$(curl -I https://api.github.com/users/$user/starred | sed -nr 's/^Link:.*page=([0-9]+).*/\1/p')
for page in $(seq 0 $pages); do
curl "https://api.github.com/users/$user/starred?page=$page&per_page=100" | jq -r '.[].html_url' |
while read rp; do
git clone $rp
done
@nighthawk24
nighthawk24 / root.sh
Created October 27, 2016 12:44 — forked from Arinerron/root.sh
"Root" via dirtyc0w privilege escalation exploit (automation script) / Android (32 bit)
#!/bin/bash
# Give the usual warning.
clear;
echo "[INFO] Automated Android root script started.\n\n[WARN] Exploit requires sdk module \"NDK\".\nFor more information, visit the installation guide @ https://goo.gl/E2nmLF\n[INFO] Press Ctrl+C to stop the script if you need to install the NDK module. Waiting 10 seconds...";
sleep 10;
clear;
# Download and extract exploit files.
echo "[INFO] Downloading exploit files from GitHub...";
@nighthawk24
nighthawk24 / permissions.txt
Created October 3, 2016 04:45 — forked from Arinerron/permissions.txt
A list of all Android permissions...
android.permission.REAL_GET_TASKS
android.permission.ACCESS_CACHE_FILESYSTEM
android.permission.REMOTE_AUDIO_PLAYBACK
com.amazon.client.metrics.nexus.permission.CANCEL_SCHEDULED_UPLOAD
android.permission.REGISTER_WINDOW_MANAGER_LISTENERS
android.permission.INTENT_FILTER_VERIFICATION_AGENT
android.permission.BIND_INCALL_SERVICE
com.google.android.gms.trustagent.framework.model.DATA_CHANGE_NOTIFICATION
android.permission.WRITE_SETTINGS
com.google.android.vending.verifier.ACCESS_VERIFIER
@nighthawk24
nighthawk24 / System Design.md
Created April 18, 2016 17:59 — forked from vasanthk/System Design.md
System Design Cheatsheet

#System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

##Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
The internet is shit.
It is vitally important that we all realize this and move on. People (eg Bloggers) go on and on about how wonderful it is. About how much information is out there in cyberspace. About the way that everything is within reach in just a few clicks of their mice.
For instance:
"If I can operate Google, I can find anything... Google, combined with Wi-Fi, is a little bit like God. God is wireless, God is everywhere and God sees and knows everything. Throughout history, people connected to God without wires. Now, for many questions in the world, you ask Google, and increasingly, you can do it without wires, too."
Alan Cohen, V.P. of Airespace, a new Wi-Fi provider, New York Times, 6/29/03
{
"491289025" : "ijinshan-kappmarket://",
"301521403" : "fb103361823069955://",
"492178411" : "ils492178411://",
"346142396" : "fb234434003713://",
"310633997" : "whatsapp://",
"370614765" : "com.condenet.newyorker://",
"325058491" : "rnmddisco://",
"382952264" : "epichttp://",
"477048487" : "predictwind://",