Skip to content

Instantly share code, notes, and snippets.

View fearblackcat's full-sized avatar
💭
I may be slow to respond.

Steven Russell fearblackcat

💭
I may be slow to respond.
  • Norfolk
View GitHub Profile
@fearblackcat
fearblackcat / ss-libev-aarch64.sh
Created November 24, 2023 11:20 — forked from 0neday/ss-libev-aarch64.sh
cross build shadowsocks-libev arm static binary using bootlin toolchains.
#!/bin/bash
set -e
set -x
BASE=`pwd`
########### #################################################################
# zlib # ####################################################################
########### #################################################################
wget -c https://zlib.net/zlib-1.2.11.tar.gz
@fearblackcat
fearblackcat / lrzsz_macos.md
Last active November 24, 2023 03:45
configure lrzsz for iterm2 on mac os

Instruction

configure lrzsz for iterm2

Steps

1.Install lrzsz:brew install lrzsz

@fearblackcat
fearblackcat / sublime text 4143 license key
Created November 14, 2023 04:01 — forked from opastorello/sublime text 4143 license key
sublime text 4143 license key
> * Go to [hexed.it](https://hexed.it/)
> * Click "Open File" and choose your sublime_text.exe **(DON'T FORGET TO BACKUP YOUR EXE FILE)**
> * Go to Search and in "Search for" put: 80 78 05 00 0F 94 C1
> * In Search Type select "Enable replace" and put: 80 78 05 00 0F 94 C1
> * Click "Find next" then "Replace"
> * Do the same thing with: C6 40 05 01 48 85 C9 => C6 40 05 01 48 85 C9
> * Click "Save as" then name it: sublime_text
> * Copy your modified sublime_text.exe to directory Sublime Text
@fearblackcat
fearblackcat / README.org
Created November 12, 2023 07:55 — forked from Ladicle/README.org
Emacs Configuration ver. 2022

Ladicle’s Emacs Configuration ver.2022

https://user-images.githubusercontent.com/1159133/156761456-4be104ae-4cb3-420e-81c7-8abd00497d51.png

Outline

Package Management (link)

  • leaf-keywords
    • el-get
    • hydra
  • package-utils
@fearblackcat
fearblackcat / go-hijacker.md
Last active May 30, 2018 06:40
http go request for hijacker

For http hijacker

package main

import (
  "crypto/tls"
  "fmt"
  "net"
  "net/http"
  "net/http/httputil"
@fearblackcat
fearblackcat / tree.md
Last active April 15, 2021 22:49
traverse the binary tree through golang
@fearblackcat
fearblackcat / iptables.md
Last active September 2, 2021 03:23
firewalld for in public allow

Lookup the open port:

iptables -L -n

Add new open port:

//open 8080 port
iptables -I IN_public_allow -p tcp --dport 8080 -j ACCEPT
@fearblackcat
fearblackcat / checkpasword.md
Last active November 14, 2023 03:25
password check in golang
package main

import (
        "fmt"
        "unicode"
)

func validPassword(s string) error {
next:

Ref: https://gist.github.com/vertexclique/9839383

For 3143 build 2017.09.14

VERSION PLATFORM OFFSET ORIGINAL CRACKED
3143 macOS 0x65D4 55 C3
3143   macOS   0x6219 55       C3    
3143 macOS   0x75214 55 48 89 E5 41 57 41 56 48 C7 C0 01 00 00 00 C3
@fearblackcat
fearblackcat / proxychains4.md
Last active October 4, 2017 12:05
Use shadowsocks with command line

First, set up shadowsocks as usual. Suppose your local is running on 127.0.0.1:1080.

Install proxychains.

On Debian/Ubuntu:

apt-get install proxychains On Mac OS X:

brew install proxychains-ng