updated some libraries, and fixed a bug with the victim code where it
wouldn't log in.
This commit is contained in:
1 parent
aff72fc275
commit
a6e50020ca
8 files changed
+598
-400
No files matched your search
@@ -595,6 +595,30 @@ pub fn run_tui(
|
||||
let (action, data) =
|
||||
action.split_once("|").unwrap();
|
||||
match action.trim() {
|
||||
"HOSTNAMES" => {
|
||||
let _ = tx_clone.send(
|
||||
ToolMessage::Output((
|
||||
0,
|
||||
"Hostnames recieved:"
|
||||
.to_string(),
|
||||
)),
|
||||
);
|
||||
data.split(",")
|
||||
.into_iter()
|
||||
.for_each(|h| {
|
||||
let _ = tx_clone.send(
|
||||
ToolMessage::Output((
|
||||
0,
|
||||
h.to_string(),
|
||||
)),
|
||||
);
|
||||
locked_server
|
||||
.hostnames
|
||||
.push(
|
||||
h.to_string(),
|
||||
);
|
||||
});
|
||||
}
|
||||
"OUTPUT" => {
|
||||
let _ = tx_clone.send(
|
||||
ToolMessage::Output((
|
||||
|
||||
Reference in new issue
Block a user