Skip to content

Commit

Permalink
shell hunt update
Browse files Browse the repository at this point in the history
  • Loading branch information
theflakes committed Aug 11, 2023
1 parent 1193e15 commit f14c233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hunts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ pub fn found_shell(pdt: &str, file: &str, text: &str, flag: &str) -> Result<bool
lazy_static! {
static ref SHELL: Regex = Regex::new(r#"(?mix)
(:?.*
(?:[|\s'"><&\\]|^)(?:(?:b?a|t?c|fi|[ak])?sh)(?:[|\s'"><&]|$)
(?:[|\s'"><&\\]|^)(?:(?:b?a|t?c|fi|[akz])?sh)(?:[|\s'"><&]|$)
.*)
"#).expect("Invalid Regex");
}
Expand Down

0 comments on commit f14c233

Please sign in to comment.