Commit Graph
321 Commits
Author SHA1 Message Date
sanex a1dc2df04f stringArrayWrappersType: 'function' now generates different indexes between each wrapper inside the same lexical scope 2021-07-16 02:47:32 +03:00
sanex 3a71c78304 * stringArrayWrappersType: 'function' now appends FunctionDeclaration functions instead of FunctionExpression functions. This allows to append these wrappers at random positions inside each scope 2021-07-15 21:24:44 +03:00
sanex fdd03c15c5 To increase performance and prevent possible runtime errors transformObjectKeys option now completely ignores objects with NewExpression nodes 2021-07-15 11:44:08 +03:00
sanex d62bf3d377 To increase performance and prevent possible runtime errors transformObjectKeys option now completely ignores objects with CallExpression nodes 2021-07-15 10:52:44 +03:00
sanex f7c5215e30 Improved stringArray calls wrapper decode code 2021-06-20 10:10:49 +03:00
sanex 5683e75a91 Improved stringArray calls wrapper templates 2021-06-17 19:38:22 +03:00
sanex 899456f553 Dead code injection unwrap stage now runs before string array transformers 2021-06-16 09:43:56 +03:00
sanex d46fb7bce1 Updated CHANGELOG.md 2021-06-13 11:42:15 +03:00
sanex 3cf94b7152 Fixed invalid behaviour of transformObjectKeys option when object values contains this references 2021-06-13 11:23:31 +03:00
sanex 616ae59d75 domainDest => domainLockRedirectUrl option rename 2021-06-11 10:38:23 +03:00
sanex ada04e5106 Updated domainLock option description 2021-06-11 09:54:47 +03:00
sanex eaf005cb09 Added improved domainDest option validation 2021-06-10 23:52:52 +03:00
sanex da40474079 Some minor fixes for domainDest option description. Added normalisation. Version update. 2021-06-10 20:43:49 +03:00
sanex 9b3b1644ce Slightly simplified validation of identifier names cache. Updated README.md 2021-05-31 15:10:34 +03:00
sanex bee043cef3 Identifier names cache option prototype #2. Added readme. 2021-05-30 01:01:59 +03:00
sanex a13c764fc6 Fixed invalid code generation for start/middle rest arguments when controlFlowFlattenig option is enabled
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/920
2021-05-23 11:06:04 +03:00
sanex c827d230ce Added support of node@16 and dropped support of node@10 2021-04-24 12:09:14 +03:00
sanex 4f9df91320 stringArray calls wrappers now inserted as FunctionDeclaration nodes at random indexes 2021-04-10 23:28:12 +03:00
sanex 0926c13029 Added ability to specify the path to the input file after specifying the obfuscator options
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/904
2021-04-07 19:37:26 +03:00
sanex 0acb91ca60 renamePropertiesAutoExclude option changed by renamePropertiesMode option 2021-03-07 12:16:38 +03:00
sanex 6abd6c2194 Fixed CVE-2019-18413
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/880
2021-02-28 20:56:39 +03:00
sanex 72a89a1357 Added support of top-level await
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/884
2021-02-28 19:23:45 +03:00
sanex dd328b3c22 Fixed invalid code generation for rest arguments when controlFlowFlattening option is enabled
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/887
2021-02-28 18:14:11 +03:00
sanex 61d98966b1 Fixed invalid behaviour of numbersToExpressions option for float numbers
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/882
2021-02-23 23:47:31 +03:00
sanex 1847bcc5ac Fixed simplify option regression after 2.10.2
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/864
2021-01-20 09:20:48 +03:00
sanex 73953b37c0 Fixed CHANGELOG.md grammar mistake 2021-01-19 10:00:10 +03:00
sanex 5289dcc834 Fixed behaviour of simplify options when node with a single-statement body is inside simplified IfStatement node
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/860
2021-01-17 19:53:16 +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 b71b39f5e7 Merge branch 'master' into rotate-string-array-improvements
# Conflicts:
#	CHANGELOG.md
#	dist/index.browser.js
#	dist/index.cli.js
#	dist/index.js
#	package.json
2020-12-30 00:42:26 +03:00
sanex 2927fa0ab8 Preventing move of "use strict"; directive during obfuscation 2020-12-29 23:29:16 +03:00
sanex 3b8af4b29a String array improvement: fixed bugs 2020-12-28 21:39:54 +03:00
sanex cec4b3525a Sync with master 2020-12-28 10:56:13 +03:00
sanex 935d57a349 Fixed runtime errors in large obfuscated code when both rc4 and base64 encodings are enabled 2020-12-28 00:37:14 +03:00
sanex efac711ce4 Improved rotateStringArray option WIP 2020-12-27 14:14:50 +03:00
sanex a118112095 Removed obfuscation-event-emitter to allow more flexible append of node inside custom code helper groups. 2020-12-25 11:00:11 +03:00
sanex ab4508de14 Fixed missing prefix of root identifiers added by stringArrayWrappersCount option when identifiersPrefix option is set 2020-11-23 12:22:05 +03:00
sanex 576c50e755 Fixed wrong name of obfuscated files when input directory path is the . symbol
https://github.com/javascript-obfuscator/javascript-obfuscator/issues/816
2020-11-20 10:21:11 +03:00
sanex b2aee6cb6c Ignore object expressions as body of arrow function expression when transformObjectKeys option is enabled 2020-11-19 07:45:41 +03:00
sanex c7cc68bedb Fixed wrong stringArrayWrappersParametersMaxCount CLI option name 2020-11-16 23:54:25 +03:00
sanex c0cd04d2bf Added stringArrayWrappersParametersMaxCount option 2020-11-15 23:14:30 +03:00
sanex ed7fbc5bef New option: stringArrayIndexesType accepts an array of types of string array call indexes 2020-11-15 12:05:34 +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 8e55d19ebb Fixed incorrect rename of the identifiers of the added helpers in some rare cases
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/804
2020-11-10 01:05:21 +03:00
sanex 532fd8654c Updated CHANGELOG.md 2020-11-07 12:08:44 +03:00
sanex 8ae8e0b50b New option ignoreRequireImports prevents obfuscation of require imports 2020-11-07 11:49:48 +03:00
sanex 8db868db1c Version 2.7.1. Updated @javascript-obfuscator/escodegen to 2.1.1. 2020-11-04 22:24:44 +03:00
sanex 98bf2e6256 Switched form escodegen to @javascript-obfuscator/escodegen
Added tests for some es11/es12 features
2020-11-04 21:01:59 +03:00
sanex e8517bf770 Added ignoring of all object members previous to SpreadElement when transformObjectKeys option is enabled
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/797
2020-11-03 11:15:19 +03:00
sanex 229c99f68c Added ExportSpecifierTransformer. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/791 2020-10-28 00:30:40 +03:00
sanex 294653a800 Enabled travis build under node.js@15 2020-10-21 10:22:35 +03:00