summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/irecovery.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/irecovery.c b/tools/irecovery.c
index 439920d..280e79d 100644
--- a/tools/irecovery.c
+++ b/tools/irecovery.c
@@ -58,7 +58,7 @@ int postcommand_cb(irecv_client_t client, const irecv_event_t* event);
58static void shell_usage() { 58static void shell_usage() {
59 printf("Usage:\n"); 59 printf("Usage:\n");
60 printf(" /upload FILE\t\tsend FILE to device\n"); 60 printf(" /upload FILE\t\tsend FILE to device\n");
61 printf(" /exploit [FILE]\trun limera1in exploit and send optional payload from FILE\n"); 61 printf(" /limera1in [FILE]\trun limera1in exploit and send optional payload from FILE\n");
62 printf(" /deviceinfo\t\tprint device information (ECID, IMEI, etc.)\n"); 62 printf(" /deviceinfo\t\tprint device information (ECID, IMEI, etc.)\n");
63 printf(" /help\t\t\tshow this help\n"); 63 printf(" /help\t\t\tshow this help\n");
64 printf(" /exit\t\t\texit interactive shell\n"); 64 printf(" /exit\t\t\texit interactive shell\n");
@@ -161,9 +161,9 @@ static void parse_command(irecv_client_t client, unsigned char* command, unsigne
161 printf("MODE: %s\n", mode_to_str(mode)); 161 printf("MODE: %s\n", mode_to_str(mode));
162 } 162 }
163 163
164 } else if (!strcmp(cmd, "/exploit")) { 164 } else if (!strcmp(cmd, "/limera1in")) {
165 char* filename = strtok(NULL, " "); 165 char* filename = strtok(NULL, " ");
166 debug("Sending exploit %s\n", filename); 166 debug("Sending limera1in payload %s\n", filename);
167 if (filename != NULL) { 167 if (filename != NULL) {
168 irecv_send_file(client, filename, 0); 168 irecv_send_file(client, filename, 0);
169 } 169 }