From 4ae96eba70b57410d6b6f8c998a1b084441230aa Mon Sep 17 00:00:00 2001 From: wh1t3p1g Date: Sun, 15 Oct 2023 00:13:58 +0800 Subject: [PATCH] add dump function --- .gitignore | 1 + cli/src/main/java/ysomap/cli/Console.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 444e7f9..63c5a5b 100755 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ *.ser *Test.java /lib/ +dumped.yso diff --git a/cli/src/main/java/ysomap/cli/Console.java b/cli/src/main/java/ysomap/cli/Console.java index cf17cdf..c85b7c3 100644 --- a/cli/src/main/java/ysomap/cli/Console.java +++ b/cli/src/main/java/ysomap/cli/Console.java @@ -544,6 +544,8 @@ public void help() { "session {c|i} recover to a session or create a new session\n" + "sessions print current running exploit sessions\n" + "stop stop current session\n" + + "dump dump current session's parameters\n" + + "script /path/to/yso load a yso script\n" + "kill {uuid|all} kill sessions, like 'kill uuid' or 'kill all'\n" + "exit exit ysomap\n"; System.out.println(usage);