diff options
-rw-r--r-- | include/libirecovery.h | 2 | ||||
-rw-r--r-- | tools/irecovery.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h index 6b4e0d8..14891a2 100644 --- a/include/libirecovery.h +++ b/include/libirecovery.h @@ -204,9 +204,9 @@ irecv_error_t irecv_open_with_ecid_and_attempts(irecv_client_t* pclient, unsigne irecv_error_t irecv_reset(irecv_client_t client); irecv_error_t irecv_close(irecv_client_t client); irecv_error_t irecv_receive(irecv_client_t client); -irecv_error_t irecv_send_exploit(irecv_client_t client); irecv_error_t irecv_execute_script(irecv_client_t client, const char* script); irecv_error_t irecv_set_configuration(irecv_client_t client, int configuration); +irecv_error_t irecv_trigger_limera1n_exploit(irecv_client_t client); irecv_error_t irecv_event_subscribe(irecv_client_t client, irecv_event_type type, irecv_event_cb_t callback, void *user_data); irecv_error_t irecv_event_unsubscribe(irecv_client_t client, irecv_event_type type); diff --git a/tools/irecovery.c b/tools/irecovery.c index 8a4368d..7945598 100644 --- a/tools/irecovery.c +++ b/tools/irecovery.c @@ -112,7 +112,7 @@ static void parse_command(irecv_client_t client, unsigned char* command, unsigne if (filename != NULL) { irecv_send_file(client, filename, 0); } - irecv_send_exploit(client); + irecv_trigger_limera1n_exploit(client); } else if (!strcmp(cmd, "/execute")) { char* filename = strtok(NULL, " "); debug("Executing script %s\n", filename); @@ -374,7 +374,7 @@ int main(int argc, char* argv[]) { break; } } - error = irecv_send_exploit(client); + error = irecv_trigger_limera1n_exploit(client); debug("%s\n", irecv_strerror(error)); break; |