Jump to content

12 posts in this topic

Recommended Posts

Posted
3 hours ago, spoofy_z said:

Going to try to make a jb :)

1st i try add new function on drop_payload.c for get host kernel version (uname -a) but i was got SIGBART signal... wkwkwkwkwk then always ask me to reboot the iDevice...

 

maybe some one can improve this...

char* u_name() {
    if (cached_privileged_port == MACH_PORT_NULL) {
        printf("call cache_privileged port first\n");
        return NULL;
    }
    char* bin = "/bin/uname";
    char* argv[] = {bin, "-a", NULL};
    char* envp[] = {NULL};
    
    size_t output_size = 0;
    return spawn_binary_and_capture_output(cached_privileged_port, bin, argv, envp, &output_size);
}



 

  • Like 1
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines