diff options
| author | 2013-09-27 13:10:28 +0200 | |
|---|---|---|
| committer | 2013-09-27 13:10:28 +0200 | |
| commit | 2894a05900be6db27ab2d3a6c9496c3d6e45253b (patch) | |
| tree | 9bdeaffce0d1990dc920383998db8f38f93e397f | |
| parent | a228aeedb3c4655fbb3deb46a03f960c9f1778db (diff) | |
| download | libirecovery-2894a05900be6db27ab2d3a6c9496c3d6e45253b.tar.gz libirecovery-2894a05900be6db27ab2d3a6c9496c3d6e45253b.tar.bz2 | |
irecovery: Rename /exploit into more accurate /limera1in command
| -rw-r--r-- | tools/irecovery.c | 6 |
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); | |||
| 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(" /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 | } |
