Skip to content

Instantly share code, notes, and snippets.

'''
IDA plugin to display the calls and strings referenced by a function as hints.
Installation: put this file in your %IDADIR%/plugins/ directory.
Author: Willi Ballenthin <william.ballenthin@fireeye.com>
Licence: Apache 2.0
'''
import idc
import idaapi
import idautils
频道名称 地址
CCTV1高清 rtp://239.109.205.118:8880
CCTV2高清 rtp://239.109.205.106:8784
CCTV3高清 rtp://239.109.205.79:8568
CCTV4高清 rtp://239.109.205.159:9108
CCTV5高清 rtp://239.109.205.80:8576
CCTV6高清 rtp://239.109.205.84:8608
CCTV7高清 rtp://239.110.205.7:9774
CCTV8高清 rtp://239.109.205.90:8656
@0x79H
0x79H / genshin_artifacts_boost.lua
Last active December 2, 2022 22:08
genshin artifacts boost for logitech
local function SleepEx(stime, button)
loopCount = stime / 50
for i = loopCount, 0, -1 do
if IsMouseButtonPressed(button) == true then
return false
end
sleepTime = (i >= 1 and 1 or i) * 50
Sleep(sleepTime)
end
return true
@0x79H
0x79H / markdown_img_to_base64.py
Created November 30, 2022 09:15
markdown_img_to_base64.py
import re, pathlib, base64
from urllib.parse import unquote
_re = re.compile(b"!\[[^\[\]]*\]\(([^\(\)]+)\)")
_template = b"data:image/{{FORMAT}};base64,{{DATA}}"
def markdown_img_to_base64(_input, _output=None):
assert _output
with open(_input, "rb") as f1:
@0x79H
0x79H / cpl_table.c
Last active October 10, 2022 01:56
cpl info in user32.dll
//DATA XREF: CPL_LegacyMappingsMatch(CPLEXECINFO *,_MAPPEDCPLTYPE *)+5E↑o
CPL_ITEM cpl_table[42] =
{
{ L"MODEM.CPL", NULL, NULL, 1i64, L"Microsoft.PhoneAndModem", NULL, L"1" },
{ L"UPS.CPL", NULL, NULL, 1i64, L"Microsoft.PowerOptions", NULL, NULL },
{ L"POWERCFG.CPL", NULL, NULL, 1i64, L"Microsoft.PowerOptions", NULL, NULL },
{
L"STICPL.CPL",
NULL,
NULL,
@0x79H
0x79H / delta_patch.py
Created June 10, 2021 08:32 — forked from wumb0/delta_patch.py
a script for applying MS patch deltas
from ctypes import (windll, wintypes, c_uint64, cast, POINTER, Union, c_ubyte,
LittleEndianStructure, byref, c_size_t)
import zlib
# types and flags
DELTA_FLAG_TYPE = c_uint64
DELTA_FLAG_NONE = 0x00000000
DELTA_APPLY_FLAG_ALLOW_PA19 = 0x00000001
@0x79H
0x79H / genshin.raw
Last active March 1, 2021 15:22
genshin sign in
POST /event/sol/sign?lang=en-us HTTP/1.1
Host: hk4e-api-os.mihoyo.com
Connection: keep-alive
Content-Length: 29
Pragma: no-cache
Cache-Control: no-cache
sec-ch-ua: "Chromium";v="88", "Google Chrome";v="88", ";Not A Brand";v="99"
Accept: application/json, text/plain, */*
DNT: 1
sec-ch-ua-mobile: ?0
@0x79H
0x79H / Thief_uid.md
Last active March 20, 2021 16:23
Genshin blacklist (HK, MO, TW)
  • 900108900
  • 900452104
  • 900941509
@0x79H
0x79H / autoexec.cfg
Last active September 18, 2020 07:55
csgo
clear
unbindall
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
//https://amp-reddit-com.cdn.ampproject.org/c/s/amp.reddit.com/r/GlobalOffensive/comments/50ud4j/command_csgo_bots_like_a_pro_the_complete_guide/
@0x79H
0x79H / git_fork.user.js
Last active July 30, 2020 10:07
git fork
// ==UserScript==
// @name Lovely Forks
// @namespace musically-ut
// @version 2.6.2
// @description Show notable forks of GitHub projects.
// @homepage https://github.com/musically-ut/lovely-forks
// @icon https://github.com/musically-ut/lovely-forks/raw/master/userscript/icon.png
// @author musically-ut
// @match *://github.com/*
// @grant GM_addStyle