212 Commits
Author SHA1 Message Date
sanex 4f9df91320 stringArray calls wrappers now inserted as FunctionDeclaration nodes at random indexes 2021-04-10 23:28:12 +03:00
sanex 0acb91ca60 renamePropertiesAutoExclude option changed by renamePropertiesMode option 2021-03-07 12:16:38 +03:00
sanex 3c379999a7 Added renamePropertiesAutoExclude option 2021-02-14 23:17:46 +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 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 6ed3d4e3ed Version update to 2.10.0 2020-12-29 11:13:42 +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 b2aee6cb6c Ignore object expressions as body of arrow function expression when transformObjectKeys option is enabled 2020-11-19 07:45:41 +03:00
sanex 8c788b90ba Updated StringArrayScopeCallsWrapperTransformer tests 2020-11-16 17:02:32 +03:00
sanex c0cd04d2bf Added stringArrayWrappersParametersMaxCount option 2020-11-15 23:14:30 +03:00
sanex 4079b42fbd WIP: added random string array scope calls wrappers parameters 2020-11-15 22:15:37 +03:00
sanex 381582f6f3 Extracted string array index type logic to a StringArrayIndexNode classes 2020-11-15 13:20:16 +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 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 0c33e737a5 Fixed missing rename of object pattern properties in some cases
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/781
2020-10-17 00:50:39 +03:00
sanex 34b1619ee6 Refactoring of unicodeEscapeSequence logic 2020-09-25 17:37:18 +03:00
sanex 4c1bae0527 unicodeEscapeSequence logic moved to the EscapeSequenceTransformer 2020-09-24 11:01:23 +03:00
sanex a5d7f7418c forceTransformedStrings option 2020-09-24 00:39:07 +03:00
sanex 423a616cd7 Added example for stringArrayWrappersType option 2020-09-17 20:30:10 +03:00
sanex 0094e7cfbc Add force convert of unicode control characters to the unicode escape sequence
Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues
2020-09-17 18:46:45 +03:00
sanex 835581db64 Shifted indexes of string array wrappers #4: fixed wrappers calls and added tests 2020-09-17 09:28:17 +03:00
sanex 559e3a440a WIP: shifted indexes of string array wrappers #1 2020-09-16 18:14:56 +03:00
sanex 4d4a99148b Merge branch 'master' into string-array-wrappers-type-option
# Conflicts:
#	CHANGELOG.md
#	dist/index.browser.js
#	dist/index.cli.js
#	dist/index.js
#	package.json
#	src/node-transformers/string-array-transformers/StringArrayScopeCallsWrapperTransformer.ts
2020-09-15 20:56:59 +03:00
sanex 4c1a949fd3 Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/745 2020-09-15 16:49:18 +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 9a6db37fdf Updated eslint 2020-09-13 12:27:05 +03:00
sanex b152e7bd09 Fixed order of the appended string array scope wrappers 2020-09-12 14:16:19 +03:00
sanex 09e89f8fe6 Fixed stringArrayWrappersCount behaviour with arrow function scope without statements 2020-09-12 13:59:07 +03:00
sanex 5a833d1057 Improved update of previous mangled character 2020-09-12 10:15:13 +03:00
sanex 9b5eba5363 Fixed stringArrayCallsWrapper option with mangled names generator 2020-09-12 00:05:47 +03:00
sanex 3d6f98c127 Enable stringArrayWrappersCount and stringArrayWrappersChainedCalls options by default 2020-09-11 11:04:23 +03:00
sanex f43b138e8a New option stringArrayWrappersChainedCalls. Renamed option stringArrayIntermediateVariablesCount on stringArrayWrappersCount 2020-09-11 00:28:32 +03:00
sanex e87565bd9e Changed stringArrayIntermediateVariablesCount option description 2020-09-10 21:03:44 +03:00
sanex 4c5028c095 Fixed tests of stringArrayIntermediateVariablesCount option 2020-09-10 13:18:27 +03:00
sanex 5bbbc901d4 stringArrayIntermediateVariablesCount option rework 2020-09-10 11:40:13 +03:00
sanex 84432e87e8 Improved stringArrayIntermediateVariablesCount option with function intermediate calls 2020-09-10 10:43:14 +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 c46f31d665 Added more tests for emoji support of splitStrings option 2020-09-02 09:54:46 +03:00
sanex 340b7283be Dependencies update. Added Test for emoji split with splitStrings option 2020-09-02 09:38:03 +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 9c04ededc7 Reorganized transformers structure and order 2020-08-23 09:27:35 +03:00
sanex 0f2f0c2c34 Improved rename of deadCodeInjection dead code identifiers. Fixed https://github.com/javascript-obfuscator/javascript-obfuscator/issues/708 2020-08-18 13:57:53 +03:00
sanex3339 574a4854ad Added TaggedTemplateLiteral obfuscation. https://github.com/javascript-obfuscator/javascript-obfuscator/issues/696 2020-08-06 22:32:07 +03:00
sanex3339 86d599fc07 Fixed test:dev test 2020-08-06 11:03:53 +03:00
sanex3339 88d0cbfc99 estraverse and escodegen update 2020-08-06 09:18:38 +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 7ce5f964d6 Improved ObjectPatternPropertiesTransformer logic. Added tests. 2020-07-31 17:58:20 +03:00