Skip to content

Instantly share code, notes, and snippets.

View tearfulDalvik's full-sized avatar
🎃
Focusing

Gufeng Shen tearfulDalvik

🎃
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am tearfulDalvik on github.
  • I am dalvik (https://keybase.io/dalvik) on keybase.
  • I have a public key whose fingerprint is 8A57 C443 84B9 D7B7 BC45 3AA3 AD93 B44C 5EFE F8D7

To claim this, I am signing this object:

@tearfulDalvik
tearfulDalvik / pppoe.py
Last active January 10, 2021 15:04
A plain PPPoE hijacker | NetKeeper Groper
# coding:utf-8
'''
@author Gufeng Shen
@date 2018年10月27日
'''
import struct
import os
import uuid
@tearfulDalvik
tearfulDalvik / never.gif
Created April 12, 2019 06:43 — forked from mathdroid/never.gif
Never
never.gif
@tearfulDalvik
tearfulDalvik / gonna.gif
Created April 12, 2019 06:44 — forked from mathdroid/gonna.gif
Gonna
gonna.gif
@tearfulDalvik
tearfulDalvik / give.gif
Created April 12, 2019 06:44 — forked from mathdroid/give.gif
Give
give.gif
@tearfulDalvik
tearfulDalvik / you.gif
Created April 12, 2019 06:45 — forked from mathdroid/you.gif
You
you.gif
@tearfulDalvik
tearfulDalvik / up.gif
Created April 12, 2019 06:45 — forked from mathdroid/up.gif
Up
up.gif
@tearfulDalvik
tearfulDalvik / ❤️.gif
Created April 12, 2019 06:45 — forked from mathdroid/❤️.gif
❤️
❤️.gif
@tearfulDalvik
tearfulDalvik / nativeMessaging.swift
Last active May 19, 2023 06:01
Chrome Native Messaging in Swift 5
// MARK: Chrome Part
func getInt(_ bytes: [UInt]) -> UInt {
let lt = (bytes[3] << 24) & 0xff000000
let ls = (bytes[2] << 16) & 0x00ff0000
let lf = (bytes[1] << 8) & 0x0000ff00
let lz = (bytes[0] << 0) & 0x000000ff
return lt | ls | lf | lz
}
[package]
name = "sign_cqupt"
version = "0.1.0"
authors = ["Gufeng <meizaizheli@ifengge.cn>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde_json = "1.0"