fix: adjust deobf helper object name regex
This commit is contained in:
parent
d8e3841fb6
commit
57628d1392
2 changed files with 2 additions and 6 deletions
|
|
@ -152,7 +152,7 @@ fn get_sig_fn(player_js: &str) -> Result<String, DeobfError> {
|
|||
+ ";";
|
||||
|
||||
static HELPER_OBJECT_NAME_REGEX: Lazy<Regex> =
|
||||
Lazy::new(|| Regex::new(r#";([A-Za-z0-9_\$]{2})\...\("#).unwrap());
|
||||
Lazy::new(|| Regex::new(r#";([A-Za-z0-9_\$]{2,3})\...\("#).unwrap());
|
||||
let helper_object_name = HELPER_OBJECT_NAME_REGEX
|
||||
.captures(&deobfuscate_function)
|
||||
.ok_or(DeobfError::Extraction("helper object name"))?
|
||||
|
|
|
|||
Reference in a new issue