Skip to content

Instantly share code, notes, and snippets.

View chinsyo's full-sized avatar
👨‍💻
boot up

Chinsyo chinsyo

👨‍💻
boot up
  • 02:52 (UTC +08:00)
View GitHub Profile
@mate-h
mate-h / python-reverse-engineering.md
Last active August 28, 2024 22:55
Reverse Engineering Python executable

Reverse engineering

Obtained binaries from Discord server. The download link: https://drive.google.com/file/d/1xPP9R2VKmJ9jwNY_1xf1sVVHlxZIsLcg

Basic information about binaries. There are two main versions of the program in question: aimful-kucoin.exe and aimful-binance.exe. They are both Windows executables. From the FAQ section of the discord server, the following information is available:

In what language was this bot written?

  • Python.
@mcandre
mcandre / mac-enable-libfuzzer.md
Created March 19, 2021 18:17
macOS Enable libFuzzer
  1. Run brew install llvm --HEAD.
  2. Update certain shell variables:
# Prefer newer LLVM with fuzzing enabled
# shellcheck source=/dev/null
export CC='clang'
export CXX='clang++'
export LDFLAGS="-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"
PATH="$(brew --prefix)/opt/llvm/bin:$PATH"
@rnystrom
rnystrom / example.swift
Created January 18, 2021 00:30
Show the keyboard as a UISearchController in a modal is displayed
class ViewController: UIViewController {
@IBAction func onSearch(_ sender: Any) {
let fakeWindow = UIWindow(windowScene: view.window!.windowScene!)
let fakeTextField = UITextField()
fakeTextField.autocorrectionType = .no
fakeWindow.addSubview(fakeTextField)
fakeWindow.makeKeyAndVisible()
fakeTextField.becomeFirstResponder()
@ethanhuang13
ethanhuang13 / VirtualKeyboard.swift
Last active February 7, 2024 05:58
MacBook Air M1 Zhuyin Keyboard written with SwiftUI ~=300 LOC, < 4hrs
//
// VirtualKeyboard.swift
// MacBook Air M1 Zhuyin Keyboard
// Written with SwiftUI ~=300 LOC, < 4hrs
// Created by Ethan Huang on 2021/1/13.
// Twitter: @ethanhuang13
import SwiftUI
struct VirtualKeyboard: View {
@WisdomSky
WisdomSky / README.md
Last active October 30, 2024 09:31
Signal Server Installation v1.88 Full Guide

# Requirements

  • Java 11
  • Maven
  • Redis
  • PostgreSQL
@fhefh2015
fhefh2015 / v.php
Last active February 18, 2019 05:52
抖音无水印下载地址
<?php
/**
* Created by PhpStorm.
* User: aric
* Date: 18/7/10 上午9:34
*/
//获取重定向最终网址
function get_redirect_final_target($url)
{
@xiaostrong
xiaostrong / qqmessage.py
Created February 21, 2018 08:57
QQ空间留言脚本
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import requests
import time
import re
import json
import time
def login():
options = webdriver.ChromeOptions()
@ronaldtse
ronaldtse / ExampleSM2X509Certificate
Created January 9, 2018 17:58
An example of a X.509 certificate using SM2 / SM3
a) the serial number is 64 57 00 b7 00 00 02 f6 (dec is 7230248512745636598);
b) the certificate is signed with SM2 and the SM3 hash algorithm;
c) the issuer's distinguished name is CN=OSCCA SM2 CA, C=CN;
d) and the subject's distinguished name is CN=用户名字, OU=部门名称,O=组织名称,S=省份名称,C=CN;
e) the certificate was issued on March 22, 2011 and expired on March 29,2014;
f) the certificate contains a 256 bit SM2 EC public key;
g) the certificate is an end entity certificate (not a CA certificate);
h) the certificate include an authority key identifier ,subject KeyIdentifier and basic constraints extensions;
i) the certificate includes a critical key usage extension specifying the public is intended for generation of digital signatures;
j) the certificate include a extend key usage extensions;
@lattner
lattner / TaskConcurrencyManifesto.md
Last active November 15, 2024 05:45
Swift Concurrency Manifesto