summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-09-27 13:10:28 +0200
committerGravatar Martin Szulecki2013-09-27 13:10:28 +0200
commit2894a05900be6db27ab2d3a6c9496c3d6e45253b (patch)
tree9bdeaffce0d1990dc920383998db8f38f93e397f
parenta228aeedb3c4655fbb3deb46a03f960c9f1778db (diff)
downloadlibirecovery-2894a05900be6db27ab2d3a6c9496c3d6e45253b.tar.gz
libirecovery-2894a05900be6db27ab2d3a6c9496c3d6e45253b.tar.bz2
irecovery: Rename /exploit into more accurate /limera1in command
-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);
static void shell_usage() {
printf("Usage:\n");
printf(" /upload FILE\t\tsend FILE to device\n");
- printf(" /exploit [FILE]\trun limera1in exploit and send optional payload from FILE\n");
+ printf(" /limera1in [FILE]\trun limera1in exploit and send optional payload from FILE\n");
printf(" /deviceinfo\t\tprint device information (ECID, IMEI, etc.)\n");
printf(" /help\t\t\tshow this help\n");
printf(" /exit\t\t\texit interactive shell\n");
@@ -161,9 +161,9 @@ static void parse_command(irecv_client_t client, unsigned char* command, unsigne
printf("MODE: %s\n", mode_to_str(mode));
}
- } else if (!strcmp(cmd, "/exploit")) {
+ } else if (!strcmp(cmd, "/limera1in")) {
char* filename = strtok(NULL, " ");
- debug("Sending exploit %s\n", filename);
+ debug("Sending limera1in payload %s\n", filename);
if (filename != NULL) {
irecv_send_file(client, filename, 0);
}