mirror of
https://github.com/Teach2Breach/Tempest
synced 2026-06-08 12:38:56 +00:00
temp bug workaround
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
|
||||
Conduit is a Terminal User Interface (TUI) application that allows you to connect to an Anvil server, build implants (imps), issue tasks, and retrieve data from connected imps. This tool provides a user-friendly interface for managing and interacting with Anvil implants.
|
||||
|
||||
##### Known Issues
|
||||
|
||||
- As of 10.07.2024, there is an issue with the TUI not properly updating on some terminals when the window is resized. A temp workaround is to press F1 on your keyboard which will clear the terminal and refresh the TUI. I'm still working on a fix for this. See devlog and issue #10 for more details.
|
||||
|
||||
##### Features
|
||||
|
||||
- Connect to Anvil server securely
|
||||
|
||||
@@ -860,6 +860,13 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
||||
KeyCode::Backspace => {
|
||||
app.command_text.pop();
|
||||
},
|
||||
KeyCode::F(1) => {
|
||||
// Force refresh logic
|
||||
imp_info.clear();
|
||||
// Re-fetch all data from the server
|
||||
terminal.clear()?;
|
||||
terminal.draw(|f| draw_dashboard(f, f.size(), &imp_info, &mut app))?;
|
||||
},
|
||||
KeyCode::PageDown => {
|
||||
if app.imp_scroll_position < imp_info.len().saturating_sub(1) {
|
||||
app.imp_scroll_position += 1;
|
||||
@@ -945,10 +952,12 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
terminal.draw(|f| draw_dashboard(f, f.size(), &imp_info, &mut app))?;
|
||||
},
|
||||
Some(info) = rx.recv() => {
|
||||
imp_info = info;
|
||||
//terminal.clear()?;
|
||||
terminal.draw(|f| draw_dashboard(f, f.size(), &imp_info, &mut app))?;
|
||||
},
|
||||
// Listen for UI refresh signals
|
||||
@@ -956,6 +965,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
||||
//println!("Received message from ui_refresh_rx");
|
||||
|
||||
app.add_output(new_output); // Update the command_output with new data
|
||||
|
||||
terminal.draw(|f| draw_dashboard(f, f.size(), &imp_info, &mut app))?;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#### 10.07.2024
|
||||
- found a bug in conduit that was causing display issues upon terminal resize. I'm still working on a fix for it, but as a temp workaround I've added a keycode (F1) to perform a manual clear and refresh which fixes the immediate issue. see issue #10 for more details.
|
||||
|
||||
#### 10.07.2024
|
||||
- added a config file to the conduit client. this allows the server port to be configurable.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user