Skip to content

Commit

Permalink
fix: screen template (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xricksanchez committed Apr 25, 2024
1 parent 436f1f3 commit 88a43b1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "afl_runner"
authors = ["0x434b <[email protected]"]
repository = "https://github.com/0xricksanchez/AFL_Runner"
description = "AFL Runner is a tool to run an efficient multi-core AFLPlusPlus campaign."
version = "0.3.3"
version = "0.3.4"
edition = "2021"
keywords = ["afl", "fuzzing", "fuzzer", "fuzz"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const AFL_OUTPUT: &str = "/tmp/afl_output";
#[derive(Parser, Debug, Clone)]
#[command(name = "Parallelized AFLPlusPlus Campaign Runner")]
#[command(author = "C.K. <[email protected]>")]
#[command(version = "0.3.3")]
#[command(version = "0.3.4")]
pub struct Cli {
/// Subcommand to execute
#[command(subcommand)]
Expand Down
5 changes: 1 addition & 4 deletions src/templates/screen.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,8 @@ screen -dmS $SESSION_NAME

# Apply startup message and caption settings
screen -S $SESSION_NAME -X startup_message off
screen -S $SESSION_NAME -X caption always "%{= kw} %-w%{= gW} %n %t %{-}%+w %-="

# Set window titles and status line
screen -S $SESSION_NAME -X title "$SESSION_NAME"
screen -S $SESSION_NAME -X hardstatus alwayslastline "%H%=%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %LD %MM/%d %YY %c"
screen -S $SESSION_NAME -X hardstatus alwayslastline "%{.kW}%-w%{.gK}%n %t%{-}%+w %= %{..B}%H %LD %MM/%d %YY %c"

# Create and rename a window for each command
for i in "${!COMMANDS[@]}"; do
Expand Down

0 comments on commit 88a43b1

Please sign in to comment.