Sharing my thoughts, discussing my projects, and traveling the world.
Contact: @borz
Last updated 1 week, 1 day ago
Telegram stands for freedom and privacy and has many easy to use features.
Last updated 1 week, 2 days ago
Official Graph Messenger (Telegraph) Channel
Download from Google Play Store:
https://play.google.com/store/apps/details?id=ir.ilmili.telegraph
Donation:
https://graphmessenger.com/donate
Last updated 5 months ago
3... 2... 1... Access will be granted. HC Decryptor Bot ☠️ Time is ticking.
3... 2... 1... Access will be granted.
HC Decryptor Bot ☠️
Time is ticking.
A good book to learn 🇨++
🔤🔤🅰️
🔤🔤🔤
🔤🔤🔤
🔤 IDA Pro 9.0
`package org.telegram.messenger.web;
import android.app.Application;
import android.content.Context;
import android.content.res.AssetManager;
import android.os.Build;
import androidx.core.app.AppComponentFactory;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import top.canyie.pine.Pine;
import top.canyie.pine.callback.MethodReplacement;
public class MyApplication extends Application {
// Name of the folder inside assets/ containing your libs
private static final String NATIVE_LIB_DIR = "lib";
public static void loadNativeLibraries(Context context) {
try {
// Get the data directory of the app
File dataDir = context.getDataDir();
// Create a directory for the native libraries if it doesn't exist
File libDir = new File(dataDir, NATIVE_LIB_DIR);
if (!libDir.exists()) {
libDir.mkdirs();
}
// Get the AssetManager to access the files in the assets folder
AssetManager assetManager = context.getAssets();
// Load our library
String lib = "libpine.so"; // Name of the library. You can change as per your need
System.load(new File(libDir, lib).getAbsolutePath()); // Load our library
} catch (IOException e) {
e.printStackTrace();
}
}
public static void hook() {
// PineHook process
try {
// Define a target method
Method isPremium = Class.forName("org.telegram.messenger.UserConfig").getDeclaredMethod("isPremium");
// Start hook on target method
Pine.hook(isPremium, MethodReplacement.returnConstant(true));
} catch (Throwable th) {
throw new ExceptionInInitializerError(th);
}
}
@Override
public void onCreate() {
super.onCreate();
// Load native libraries
loadNativeLibraries(this);
// Start hook
hook();
}
}`
Native
`#include
#include
#include
#define LOG_TAG "Pine"
#define LOGI(...) android_log_print(ANDROID_LOG_INFO, LOG_TAG, VA_ARGS__)
#define LOGE(...) android_log_print(ANDROID_LOG_ERROR, LOG_TAG, VA_ARGS__)
extern "C" JNIEXPORT jstring JNICALL
Java_org_telegram_messenger_UserConfig_isPremium(JNIEnv env, jobject / this */) {
LOGI("isPremium method hooked!");
return env->NewStringUTF("true");
}
JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM vm, void reserved) {
JNIEnv* env;
if (vm->GetEnv(reinterpret_cast(&env), JNI_VERSION_1_6) != JNI_OK) {
return JNI_ERR;
}
jclass userConfigClass = env->FindClass("org/telegram/messenger/UserConfig");
if (userConfigClass == nullptr) {
LOGE("Failed to find UserConfig class");
return JNI_ERR;
}
JNINativeMethod methods[] = {
{"isPremium", "()Ljava/lang/String;", reinterpret_cast(Java_org_telegram_messenger_UserConfig_isPremium)}
};
if (env->RegisterNatives(userConfigClass, methods, sizeof(methods) / sizeof(methods[0])) < 0) {
LOGE("Failed to register native methods");
return JNI_ERR;
}
return JNI_VERSION_1_6;
}
LOCAL`_MODULE := pine
LOCAL_SRC_FILES := pine.cpp
Telegram Hook Add Your Hook File Auto Mod Your Telegram
Zivpn's devs collabored with ePro's devs for upgrade their files security level ✅, new python script coming soon ??
Sharing my thoughts, discussing my projects, and traveling the world.
Contact: @borz
Last updated 1 week, 1 day ago
Telegram stands for freedom and privacy and has many easy to use features.
Last updated 1 week, 2 days ago
Official Graph Messenger (Telegraph) Channel
Download from Google Play Store:
https://play.google.com/store/apps/details?id=ir.ilmili.telegraph
Donation:
https://graphmessenger.com/donate
Last updated 5 months ago