Skip to content

Instantly share code, notes, and snippets.

View jyotidwi's full-sized avatar
🕉️
राधे राधे

JD! jyotidwi

🕉️
राधे राधे
View GitHub Profile
@jyotidwi
jyotidwi / re_sys_prompt.txt
Created July 30, 2025 02:21 — forked from 19h/godmode.txt
RE sys prompt
You are an expert-level reverse engineering assistant, an advanced LLM with comprehensive mastery of low-level systems programming, binary analysis, compiler internals, and modern C++ (C++11-C++23). Your primary task is the meticulous reconstruction of high-level, modern C++ source code from low-level representations like pseudo-C or assembly, with extreme technical precision and architectural insight.
Your analysis must be informed by a deep understanding of how modern C++ features are compiled into machine code. You will operate in a step-by-step process:
1. **Analyze:** Deeply examine the input low-level code to identify architectural patterns, data structures, and control flow.
2. **Reason:** Internally map these low-level patterns to their original high-level, idiomatic C++ constructs using the detailed guidelines below.
3. **Reconstruct:** Output a high-level C++ code representation that is as faithful as possible to the original logic, incorporating modern C++ best practices for clarity, safety, an
@jyotidwi
jyotidwi / GoogleDorking.md
Created April 4, 2025 06:23 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@jyotidwi
jyotidwi / WingIDE Pro KeyGen
Created January 20, 2025 08:23 — forked from CKCat/WingIDE Pro KeyGen
WingIDE Pro KeyGen 支持5.x-10.x
# 来源:https://www.chinapyg.com/thread-150972-1-1.html
import os
import string
import random
import hashlib
import platform
py_version = platform.python_version()
if py_version[0] != '3':
@jyotidwi
jyotidwi / BaiduPan-Checkin.py
Created January 20, 2025 08:21 — forked from BlueSkyXN/BaiduPan-Checkin.py
BaiduPan-Checkin.py
import requests
import time
import re
import os
# 从环境变量中获取 Cookie
COOKIES = os.environ.get('BAIDU_COOKIE', '')
HEADERS = {
'Connection': 'keep-alive',
@jyotidwi
jyotidwi / xposed.java
Created September 13, 2024 09:09 — forked from Forgo7ten/xposed.java
roysue分享的xposed万能代码
// 被hook的app的包名
String hookedPackageName = "com.xekvhaDYe.androie";
// app里面的Activity
String hookedActivityName = "com.xekvhaDYu.android.a.MainActivity";
if (hookedPackageName.equals(lpparam.packageName)) {
XposedBridge.log("has hooked...");
XposedBridge.log("inner => " + lpparam.processName);
Class ActivityThread = XposedHelpers.findClass("android.app.ActivityThread", lpparam.classLoader);
XposedBridge.hookAllMethods(ActivityThread, "performLaunchActivity", new XC_MethodHook() {
@Override
@jyotidwi
jyotidwi / bcompare_patch.py
Created September 8, 2024 04:06 — forked from cntrump/bcompare_patch.py
Beyond Compare 4 Patcher
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import os
import sys
import platform
def useage():
print("useage: bcompare_patch.py /path/to/BCompare")
@jyotidwi
jyotidwi / !README.md
Created August 20, 2024 15:43 — forked from mmozeiko/!README.md
Download MSVC compiler/linker & Windows SDK without installing full Visual Studio

This downloads standalone MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for native desktop app development.

Run py.exe portable-msvc.py and it will download output into msvc folder. By default it will download latest available MSVC & Windows SDK - currently v14.40.33807 and v10.0.26100.0.

You can list available versions with py.exe portable-msvc.py --show-versions and then pass versions you want with --msvc-version and --sdk-version arguments.

To use cl.exe/link.exe first run setup_TARGET.bat - after that PATH/INCLUDE/LIB env variables will be updated to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.

To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc argument (msvc is folder name where output is stored).

@jyotidwi
jyotidwi / csdn_blog.py
Created February 28, 2024 07:10 — forked from huzhifeng/csdn_blog.py
A python script used to download CSDN blog as PDF files
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Usage:
pip install requests
pip install beautifulsoup4
python csdn_blog.py
'''
@jyotidwi
jyotidwi / _jump2itself.md
Created February 14, 2024 18:49 — forked from blue-devil/_jump2itself.md
Unconditional Branch/Jump to Itself

Unconditional Branch/Jump to Itself

In reverse engineering we often need an executable binary to mapped in memory, stopped at a certain address. One approach is to modify the executable binary temporarily to jump at its own address. I have written a very small c code and compile it with optimization level 2.

#include <stdio.h>
@jyotidwi
jyotidwi / 00-android-bypass-certificate-pinning-and-mitm-attack-setup.md
Created January 14, 2024 20:24 — forked from approovm/00-android-bypass-certificate-pinning-and-mitm-attack-setup.md
Certificate Pinning Bypassing: Setup with Frida, mitmproxy and Android Emulator with a writable file system