diff options
Diffstat (limited to 'tools/irecovery.c')
| -rw-r--r-- | tools/irecovery.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/irecovery.c b/tools/irecovery.c index 280e79d..39945d5 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); | |||
| 58 | static void shell_usage() { | 58 | static 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(" /limera1in [FILE]\trun limera1in exploit and send optional payload from FILE\n"); | 61 | printf(" /limera1n [FILE]\trun limera1n 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, "/limera1in")) { | 164 | } else if (!strcmp(cmd, "/limera1n")) { |
| 165 | char* filename = strtok(NULL, " "); | 165 | char* filename = strtok(NULL, " "); |
| 166 | debug("Sending limera1in payload %s\n", filename); | 166 | debug("Sending limera1n 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 | } |
| @@ -329,7 +329,7 @@ static void print_usage(int argc, char **argv) { | |||
| 329 | printf(" -c CMD\trun CMD on device\n"); | 329 | printf(" -c CMD\trun CMD on device\n"); |
| 330 | printf(" -m\t\tprint current device mode\n"); | 330 | printf(" -m\t\tprint current device mode\n"); |
| 331 | printf(" -f FILE\tsend file to device\n"); | 331 | printf(" -f FILE\tsend file to device\n"); |
| 332 | printf(" -k FILE\tsend limera1in usb exploit payload from FILE\n"); | 332 | printf(" -k FILE\tsend limera1n usb exploit payload from FILE\n"); |
| 333 | printf(" -r\t\treset client\n"); | 333 | printf(" -r\t\treset client\n"); |
| 334 | printf(" -n\t\treboot device into normal mode (exit recovery loop)\n"); | 334 | printf(" -n\t\treboot device into normal mode (exit recovery loop)\n"); |
| 335 | printf(" -e FILE\texecutes recovery script from FILE\n"); | 335 | printf(" -e FILE\texecutes recovery script from FILE\n"); |
