Commit Graph
48 Commits
Author SHA1 Message Date
Timofey Kachalov 4ee4b219e5 Add prettier (#1339) 2025-12-04 00:09:10 +04:00
Timofey Kachalov 64edd44d68 Revert 5683e75 (#1332) 2025-11-30 00:39:32 +04:00
Alex 54cbdf6d27 Add target 'service-worker' (#1134) 2023-09-05 13:26:01 +04:00
Timofey Kachalov e8e92c601d debugProtectionInteraval option now accepts value in milliseconds instead of boolean value (#1063) 2022-02-14 19:06:05 +03:00
Timofey Kachalov 77f64bf5df Fixed wrong generation of code that has statements after ReturnStatment when simplify option is enabled 2022-02-06 21:10:16 +03:00
sanex ec1c90a27f Renamed options 2021-10-17 15:25:29 +03:00
sanex 73fcb350a2 Updated CHANGELOG.md. Fixed tests. 2021-08-01 23:22:06 +03:00
sanex c364415a13 Updated logic for random string array function position 2021-08-01 22:00:23 +03:00
sanex c4abec8c2a Added additional self defending mechanisms. Updated tests 2021-08-01 16:58:04 +03:00
sanex 7920538a51 Updated self defending helper. Removed no-eval self-defending helper 2021-07-26 11:07:13 +03:00
sanex 8a872dca9f Updated self defending template #3 2021-07-23 19:21:38 +03:00
sanex b5738de0b9 Updated self defending template 2021-07-22 21:05:45 +03:00
sanex 6c05aae2ae Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/959 2021-07-22 17:58:54 +03:00
sanex 5683e75a91 Improved stringArray calls wrapper templates 2021-06-17 19:38:22 +03:00
sanex 616ae59d75 domainDest => domainLockRedirectUrl option rename 2021-06-11 10:38:23 +03:00
Erik Dubbelboer 8a81043dd3 Add domainDest option 2021-06-10 16:09:44 +02:00
sanex f3c4be22bf Renamed obfuscatedCode => obfuscationResult variables 2021-05-30 14:38:20 +03:00
sanex bee043cef3 Identifier names cache option prototype #2. Added readme. 2021-05-30 01:01:59 +03:00
sanex 4f9df91320 stringArray calls wrappers now inserted as FunctionDeclaration nodes at random indexes 2021-04-10 23:28:12 +03:00
sanex 04be75e27b Removed padding characters from all base64 encoded strings.
Removed RegExp that trims padding characters from `base64` encoded strings from `atob` code helper to prevent mutation of `RegExp.$1` value during calls to the `stringArray`. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/829
2021-01-01 16:47:44 +03:00
sanex 3f5b2c6811 Added tests for StringArrayRotateFunction transformer, code helper, and template 2020-12-29 17:17:26 +03:00
sanex 3b8af4b29a String array improvement: fixed bugs 2020-12-28 21:39:54 +03:00
sanex 4f33c76da1 New option: stringArrayIndexShift enables additional index shift for all string array calls 2020-11-14 10:15:42 +03:00
sanex d86ee4213c New option stringArrayWrappersType allows to select a type of the wrappers that are appending by the stringArrayWrappersCount option 2020-09-15 11:09:22 +03:00
sanex 4c5028c095 Fixed tests of stringArrayIntermediateVariablesCount option 2020-09-10 13:18:27 +03:00
sanex e80937d108 Changed option name: stringArrayIntermediateCalls -> stringArrayIntermediateVariablesCount 2020-09-07 11:12:18 +03:00
sanex 1b656d7386 New option: stringArrayIntermediateCalls sets the passed amount of intermediate variables for the string array 2020-09-07 10:05:31 +03:00
sanex 017ade47db Fixed order of StringArrayCallsWrapper code helpers, added tests 2020-08-31 09:41:15 +03:00
Timofey Kachalov 42ff66849e Mixed string array encoding prototype (#727)
`stringArrayEncoding` option now accepts an array of encodings. Each string will be randomly encoded with passed encoding.
2020-08-30 21:10:46 +03:00
sanex aca6b0bd11 Added tests for a valid bind call of console.log methods of ConsoleOutputDisableTemplate 2020-08-14 00:12:54 +03:00
sanex 4f28bee90f Renamed ConsoleOutputDisable template 2020-08-11 20:08:47 +03:00
sanex3339 af0649bb56 Improved disableConsoleOutput template. https://github.com/javascript-obfuscator/javascript-obfuscator/issues/691 2020-08-04 10:36:13 +03:00
sanex3339 27a9e18a46 Added additional test for domainLock template 2020-07-26 20:38:14 +03:00
sanex3339 2f04b379c9 domainLock option patterns with leading dot character (.example.com) now cover root domains (example.com) in addition to all sub-domains (sub.example.com) 2020-07-26 13:09:59 +03:00
sanex3339 c6887464c4 Fixed wrong source-map: 'inline' encoding after 1.3.0 2020-07-10 16:31:12 +03:00
sanex3339 7eb25bb403 Improvements of stringArrayEncoding: base64 and rc4 2020-07-02 10:13:57 +03:00
Timofey Kachalovandsanex3339 7135b09f28 Added correct self-defending code for target: 'browser-no-eval' (#617)
https://github.com/javascript-obfuscator/javascript-obfuscator/issues/610

Co-authored-by: sanex3339 <yarabotayuvyandex3339>
2020-05-31 21:55:04 +03:00
sanex3339 6d03a2bacf Added prefixes to the generated global identifiers of the added code 2020-03-04 09:57:38 +03:00
sanex3339 a5139779f9 Changed evaluationWorker helper 2020-02-19 10:12:39 +03:00
sanex3339 5e61885f93 Now obfuscator runtime test runs only on node 12+ 2020-02-19 02:11:37 +03:00
sanex3339 8cea97434d Added console.log to the test file to debug error on travis.ci 2020-02-18 22:38:06 +03:00
sanex3339 b2f6549552 Attempt to fix done() called multiple times error on node 10 #3 2020-02-17 08:55:40 +03:00
sanex3339 e900171c84 Attempt to fix done() called multiple times error on node 10 #2 2020-02-17 08:53:37 +03:00
sanex3339 65c41c2778 Attempt to fix done() called multiple times error on node 10 2020-02-17 02:39:45 +03:00
sanex3339 e3f8291657 Improved new self defending code 2020-02-17 00:43:27 +03:00
sanex3339 499c2b1a33 Fixed string array name preserving inside string array helpers 2020-02-16 23:39:39 +03:00
sanex3339 a2e9c05ce8 Fixed errors related to identifiers. Changed self defending helper 2020-02-16 14:41:32 +03:00
sanex3339 51523c0d5c Refactoring of custom nodes: split on custom nodes and custom code helpers 2020-02-15 16:36:48 +03:00