This commit is contained in:
Kazuminn
2020-10-03 17:58:43 +09:00
parent 5071aa0783
commit fb4ee59dee

View File

@@ -121,7 +121,7 @@ fn check_obfu(string: &str) -> std::string::String {
if percent < minpercent as usize {
obfutext.push_str("Possible command obfuscation: only ");
re = Regex::new(r"{0:P0}").unwrap();
re = Regex::new(r"\{0:P0}").unwrap();
let percent = &percent.to_string();
if let Some(_caps) = re.captures(percent) {
if let Some(_data) = _caps.get(0) {