Universal Script 📌
2.2k Views
5.2k Executions

Android C++ FE Bypass

Universal Script 📌
HookedBool
HookedBoolFirst script
3 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Script C++ FE Bypass Reel

View Raw
#include <sys/mman.h>
#include <unistd.h>
#include <stdint.h>
#include <stddef.h>

void patch(void* addr, uint8_t* data, size_t len) {
    size_t pagesize = sysconf(_SC_PAGESIZE);
    uintptr_t page_start = (uintptr_t)addr & ~(pagesize - 1);
    mprotect((void*)page_start, pagesize * 2, PROT_READ | PROT_WRITE | PROT_EXEC);
    for (size_t i = 0; i < len; ++i) {
        ((uint8_t*)addr)[i] = data[i];
    }
}

int main() {
    void* target = (void*)main; 
    uint8_t code[] = {0x90, 0x90, 0x90}; // NOPs

    patch(target, code, 3);

    return 0;
}


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
1.6M
2.1M
Bumped 6 hours ago
Key System

Script hub

#12 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Script hub
269.2k
120.2k
Bumped 6 hours ago
Key System
Script hub
171.3k
1.4M
Bumped 9 hours ago
Key System
Script hub
16.7k
3.2k
Bumped 11 hours ago
Key System
Paid
Script hub
17.4k
88.6k
Bumped 11 hours ago
Universal Script 📌
2.0M
4.5k
Bumped 12 hours ago