This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Test01", | |
"symbol": "TESTC", | |
"description": "TestToken", | |
"image": "https://i.imgur.com/jFGVSVi.png" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function captureVideo(video) { | |
const canvas = document.createElement("canvas"); | |
canvas.width = video.videoWidth; | |
canvas.height = video.videoHeight; | |
const ctx = canvas.getContext("2d"); | |
ctx.drawImage(video, 0, 0); | |
const url = canvas.toDataURL('image/png'); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const LIB_NAME = ""; | |
const timer = setInterval(() => { | |
const addr = Module.findBaseAddress(LIB_NAME); | |
if (addr) { | |
console.log("FIND"); | |
Interceptor.attach(Module.getExportByName(LIB_NAME, "SSL_read"), { | |
onEnter: function (args) { | |
this.buf = args[1]; | |
this.len = args[2] & 0xffffffff; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def generateSrtpMasterKey(callId: int): | |
callId = str(((callId >> 2) + 0xC5FF9) & 0xFFFFFFFFFFFFFFFF) | |
return "".join([callId[i % len(callId)] for i in range(30)]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo sysctl net.ipv4.ip_unprivileged_port_start=80 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def EVP_BytesToKey(md_name, salt, data, count=10, key_len=16, iv_len=16): | |
last_d = b"" | |
buf = bytearray() | |
while len(buf) < key_len + iv_len: | |
md = hashlib.new(md_name) | |
md.update(last_d) | |
md.update(data) | |
md.update(salt[:8]) | |
d = md.digest() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f"{get_func_name(get_screen_ea())}+{get_screen_ea() - get_name_ea_simple(get_func_name(get_screen_ea()))}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM --platform=amd64 ubuntu:18.04 | |
ARG DEBIAN_FRONTEND=noninteractive | |
ENV TZ Asia/Seoul | |
ENV PYTHONIOENCODING UTF-8 | |
ENV LC_CTYPE C.UTF-8 | |
WORKDIR /root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib | |
export PATH=${PATH}:/data/data/com.termux/files/usr/bin | |
export HOME=/sdcard/HOME |