Sharing my thoughts, discussing my projects, and traveling the world.
Contact: @borz
Last updated 4 days, 20 hours ago
Telegram stands for freedom and privacy and has many easy to use features.
Last updated 2 months, 1 week 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 3 months, 4 weeks ago
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 ??
Zivpn Mod Premium ?
Modded by @yuanmicheal
⛔ Respect author credentials
✅ SPONSOR :: @yuanmicheal
Sharing my thoughts, discussing my projects, and traveling the world.
Contact: @borz
Last updated 4 days, 20 hours ago
Telegram stands for freedom and privacy and has many easy to use features.
Last updated 2 months, 1 week 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 3 months, 4 weeks ago