Skip to content

Instantly share code, notes, and snippets.

View ESUAdmin's full-sized avatar
☦️
Destined for greatness

Nim Dause ESUAdmin

☦️
Destined for greatness
  • GD GAT
  • SYSU
  • 06:05 (UTC +08:00)
View GitHub Profile
/*
* Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://www.openssl.org/source/license.html
* or in the file LICENSE in the source distribution.
*/
@ESUAdmin
ESUAdmin / printfenc.py
Created February 16, 2022 12:07
Printf encoding of hex bytes
#!/usr/bin/env python3
"""
This program reads file@$1 or stdin
converts bytes to hex with consecutive
0s condensed to %.{count_of_zeroes*2}x
which can be expanded with printf
"""
def hex2(byte: int) -> str:
@ESUAdmin
ESUAdmin / 如何杀马.md
Created October 12, 2020 20:00
斩断不死 - AWD 实用一句话脚本

有效杀🐴

创建同名目录,让脚本写不进去。

horse.php 改成你要杀的马。

(ma=horse.php; while true; do; rm -f "$ma" && mkdir "$ma" && exit 0; done)
@ESUAdmin
ESUAdmin / WhyNoEsuWiki.md
Created September 24, 2020 15:49
为何不该继续维护恶俗维基

不要恶俗

  1. 恶俗维基已经沦为炒作维基和金满维基
  2. 可能为无辜人士带来危险
  3. 恶俗的行为不得人心