Skip to content

Instantly share code, notes, and snippets.

View csrutil's full-sized avatar
🏠
Working from home

Csrutil csrutil

🏠
Working from home
  • N/A
  • Follow the white rabbit.
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
@csrutil
csrutil / tmux-cheatsheet.markdown
Created March 5, 2024 03:06 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 python2.7 unzip zlib1g-dev lib32gcc-s1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf wget curl swig rsync python3 git-core curl
## https://www.zhihu.com/question/424089478
import hashlib
def getpwd(uid):
uid = bytearray.fromhex(uid)
h = bytearray.fromhex(hashlib.sha1(uid).hexdigest())
pwd = ""
pwd += "%02X" % h[h[0] % 20]
@csrutil
csrutil / apikeys
Last active September 27, 2023 17:21
Chromium API Keys
# Download from
# http://security.debian.org/debian-security/pool/updates/main/c/chromium-browser/chromium-browser_60.0.3112.78-1~deb9u1.debian.tar.xz
# API keys assigned to Debian by Google for access to their services like sync and gmail.
# *nix
export GOOGLE_API_KEY="AIzaSyCkfPOPZXDKNn8hhgu3JrA62wIgC93d44k"
export GOOGLE_DEFAULT_CLIENT_ID="811574891467.apps.googleusercontent.com"
export GOOGLE_DEFAULT_CLIENT_SECRET="kdloedMFGdGla2P1zacGjAQh"
# OSX
@csrutil
csrutil / wants to use your confidential Chromium safe storeage
Created August 21, 2023 13:05
wants to use your confidential Chromium safe storeage
wants to use your confidential Chromium safe storeage
https://imgur.com/a/zeXW6Di
@csrutil
csrutil / signing-git-commits.md
Created August 10, 2023 07:36 — forked from phortuin/signing-git-commits.md
Set up a GPG key for signing Git commits on MacOS (M1)

Based on this blogpost.

To sign Git commits, you need a gpg key. GPG stands for GNU Privacy Guard and is the de facto implementation of the OpenPGP message format. PGP stands for ‘Pretty Good Privacy’ and is a standard to sign and encrypt messages.

Setting up

Install with Homebrew:

$ brew install gpg

ファームウェアデコード

デコード方法は公開されているOSSソースコードに含まれている。
WAX206_V1.0.4.0_Source.rar\WAX206_V1.0.4.0_Source\tools\imgencoder\ 以下
なんと鍵までOSSとして公開されている。

適当にデコードするpythonスクリプトを書いた。

Telnetの有効化

  1. WEBインターフェースにログイン