Skip to content

Commit 7ea4533

Browse files
committed
StringConcealing
1 parent a06a9c0 commit 7ea4533

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/plugin/jsconfuser.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -1210,8 +1210,11 @@ const deStringConcealing = {
12101210
}
12111211
safeDeleteNode(obj.array_name, obj.array_path)
12121212
safeDeleteNode(obj.cache_name, obj.cache_path)
1213-
safeDeleteNode(obj.b2s_name, obj.b2s_path)
1214-
safeDeleteNode(obj.a2s_name, obj.a2s_path)
1213+
// a2s and b2s are pairs
1214+
if (safeDeleteNode(obj.b2s_name, obj.b2s_path)) {
1215+
obj.a2s_path.remove()
1216+
obj.a2s_path.scope.crawl()
1217+
}
12151218
},
12161219
}
12171220

0 commit comments

Comments
 (0)