Skip to content

Instantly share code, notes, and snippets.

View HelloKS's full-sized avatar

HelloKS HelloKS

  • South Korea
  • 19:54 (UTC +09:00)
View GitHub Profile
@HelloKS
HelloKS / djb2-xor.py
Created November 11, 2021 13:27
Unity engine registry hash generation (windows)
def hash_djb2(s):
hash = 5381
for x in s:
hash = hash * 33 ^ ord(x)
return hash & 0xFFFFFFFF
print(hash_djb2(u'YourPrefKeyHere'))
@HelloKS
HelloKS / 1st.html
Created January 23, 2018 07:12
KT ISP router usage find logic
<meta http-equiv="refresh"content="2;url=http://접속URL/?"/>
<iframe id="f"frameborder="0"style="width:1;height:1"></iframe>
<script>document.getElementById("f").src="http://KT서버/tm/?a=FF&b=WIN&c=고유값&d=고유값&e=고유값&f=고유값&g=고유값&h="+Date.now()+"&y=0&z=0&x=1&w=2018-01-03&in=고유값&id=20180123"</script>
@HelloKS
HelloKS / tg.sh
Created June 26, 2016 02:51
Telegram alert for deluge execute plugin
#!/bin/sh
# Telegram alert for deluge execute plugin
TORRENT_ID=$1
TORRENT_NAME=$2
TORRENT_PATH=$3
TOKEN='Your Telegram token ID here'
URL='https://api.telegram.org/bot'$TOKEN