{"action":"closed","issue":{"url":"https://api.github.com/repos/javascript-obfuscator/javascript-obfuscator/issues/207","repository_url":"https://api.github.com/repos/javascript-obfuscator/javascript-obfuscator","labels_url":"https://api.github.com/repos/javascript-obfuscator/javascript-obfuscator/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/javascript-obfuscator/javascript-obfuscator/issues/207/comments","events_url":"https://api.github.com/repos/javascript-obfuscator/javascript-obfuscator/issues/207/events","html_url":"https://github.com/javascript-obfuscator/javascript-obfuscator/issues/207","id":300534368,"number":207,"title":"ReferenceError: _0xXXXX is not defined","user":{"login":"1-Imperialdramon-1","id":36854734,"avatar_url":"https://avatars2.githubusercontent.com/u/36854734?v=4","gravatar_id":"","url":"https://api.github.com/users/1-Imperialdramon-1","html_url":"https://github.com/1-Imperialdramon-1","followers_url":"https://api.github.com/users/1-Imperialdramon-1/followers","following_url":"https://api.github.com/users/1-Imperialdramon-1/following{/other_user}","gists_url":"https://api.github.com/users/1-Imperialdramon-1/gists{/gist_id}","starred_url":"https://api.github.com/users/1-Imperialdramon-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1-Imperialdramon-1/subscriptions","organizations_url":"https://api.github.com/users/1-Imperialdramon-1/orgs","repos_url":"https://api.github.com/users/1-Imperialdramon-1/repos","events_url":"https://api.github.com/users/1-Imperialdramon-1/events{/privacy}","received_events_url":"https://api.github.com/users/1-Imperialdramon-1/received_events","type":"User","site_admin":false},"labels":[{"id":613589502,"url":"https://api.github.com/repos/javascript-obfuscator/javascript-obfuscator/labels/need%20more%20info","name":"need more info","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":34,"created_at":"2018-02-27T08:30:27Z","updated_at":"2018-03-22T18:14:33Z","closed_at":"2018-03-22T18:14:33Z","author_association":"NONE","body":"Hi, \r\n\r\nI'm using javascript-obfuscator 0.14.3 (inside of webpack-obfuscator, also with the same version), and I'm getting this error:\r\n\r\n![imagen](https://user-images.githubusercontent.com/36854734/36717849-f7777c1a-1b9f-11e8-9ffd-71d0936b6916.png)\r\n\r\nReferenceError: _0xXXXX is not defined, where \"XXXX\" changes for each execution.\r\n\r\nI tried using:\r\n```\r\ndeadCodeInjection: false\r\nmangle: false\r\n```\r\n\r\nand the problem still occurs.\r\n\r\nMy configuration now is:\r\n\r\n    selfDefending: false,\r\n    stringArrayEncoding: true,\r\n    stringArrayThreshold: 1,\r\n    deadCodeInjection: false,\r\n    mangle: false\r\n\r\nThis is the part of obfuscated source code that throws error:\r\n\r\n`(function _0x3b6d2d(_0x593bc4){function _0x527df2(_0x4fad58){if(_0x943f83[_0x4fad58])return _0x943f83[_0x4fad58][_0x51e3('0x0')];var _0x290f37=_0x943f83[_0x4fad58]={'i':_0x4fad58,'l':!0x1,'exports':{}};return _0x593bc4[_0x4fad58][_0x51e3('0x1')](_0x290f37[_0x51e3('0x0')],_0x290f37,_0x290f37[_0x51e3('0x0')],_0x527df2),_0x290f37['l']=!0x0,_0x290f37[_0x51e3('0x0')];}var _0x943f83={};_0x527df2['m']=_0x593bc4,_0x527df2['c']=_0x943f83,_0x527df2['i']=function(_0x5e867c){return _0x5e867c;},_0x527df2['d']=function(_0x44d323,_0x48348f,_0x4f60fd){_0x527df2['o'](_0x44d323,_0x48348f)||Object[_0x51e3('0x2')](_0x44d323,_0x48348f,{'configurable':!0x1,'enumerable':!0x0,'get':_0x4f60fd});},_0x527df2['n']=function(_0xef5a1d){var _0x943f83=_0xef5a1d&&_0xef5a1d[_0x51e3('0x3')]?function(){return _0xef5a1d[_0x51e3('0x4')];}:function(){return _0xef5a1d;};return _0x527df2['d'](_0x943f83,'a',_0x943f83),_0x943f83;},_0x527df2['o']=function(_0x43b982,_0x1a5087){return Object[_0x51e3('0x5')][_0x51e3('0x6')][_0x51e3('0x1')](_0x43b982,_0x1a5087);},_0x527df2['p']='/',_0x527df2['oe']=function(_0x5bf88f){throw console[_0x51e3('0xd2')](_0x5bf88f),_0x5bf88f;};var _0x1fba40=_0x527df2(_0x527df2['s']=10);return _0x1fba40[_0x51e3('0x4')]||_0x1fba40;})({10: function (_0x26b38e,_0x462b99,_0x2e596b){'use strict';Object[_0x51e3('0x2')](_0x462b99,_0x51e3('0x3'),{'value':!0x0});var _0x4a2765=_0x2e596b(0x7),_0x35214f=_0x2e596b(0x1),_0x424a11=_0x2e596b(0x0),_0x5e8075=_0x2e596b(0x5),_0x4c2cc3=_0x2e596b['n'](_0x5e8075),_0x8bb5aa=function(_0x18d860){var _0x462b99=new _0x4c2cc3['a']();_0x462b99[_0x51e3('0xecf')]=function(_0x4257d4){for(var _0x2e596b=arguments[_0x51e3('0xa')],_0x4b3ad4=Array(_0x2e596b>0x1?_0x2e596b-0x1:0x0),_0x2237a8=0x1;_0x2237a8<_0x2e596b;_0x2237a8++)_0x4b3ad4[_0x2237a8-0x1]=arguments[_0x2237a8];_0x462b99[_0x51e3('0x1d')][_0x51e3('0x11')](_0x462b99,[_0x4257d4,_0x4257d4][_0x51e3('0xb')](_0x4b3ad4));},_0x462b99[_0x51e3('0x1a')]=function(_0x2a5dfc){for(var _0x2e596b=arguments[_0x51e3('0xa')],_0x3279d9=Array(_0x2e596b>0x1?_0x2e596b-0x1:0x0),_0x4dcfda=0x1;_0x4dcfda<_0x2e596b;_0x4dcfda++)_0x3279d9[_0x4dcfda-0x1]=arguments[_0x4dcfda];_0x462b99[_0x51e3('0x1b')][_0x51e3('0x11')](_0x462b99,[_0x2a5dfc][_0x51e3('0xb')](_0x3279d9));};var _0x2e596b=function(_0x47afc3,_0x7069a3){_0x18d860[_0x51e3('0xb23')]({'event':_0x47afc3,'data':_0x7069a3});};_0x18d860[_0x51e3('0x97d')](_0x51e3('0x1149'),function(_0x1c7ed0){_0x18d860[_0x51e3('0xfd2')]=_0x1c7ed0;}),_0x18d860[_0x51e3('0x97d')](_0x51e3('0xeb'),function(_0x109a81){var _0x4c7c9b=_0x109a81[_0x51e3('0xb8a')];switch(_0x4c7c9b[_0x51e3('0x13ff')]){case _0x51e3('0x1149'):_0x18d860[_0x51e3('0xfd2')]=_0x4c7c9b[_0x51e3('0xfd2')];break;case _0x51e3('0x33'):var _0x5ee0e9=JSON[_0x51e3('0x49')](_0x4c7c9b[_0x51e3('0xec2')]);_0x18d860[_0x51e3('0x100c')]=new _0x4a2765['a'](_0x462b99,_0x4c7c9b[_0x51e3('0xf60')],_0x5ee0e9,_0x4c7c9b[_0x51e3('0x970')],_0x18d860[_0x51e3('0xfd2')]);try{Object(_0x424a11['a'])(!0x0===_0x5ee0e9[_0x51e3('0xa87')]);}catch(_0x464bfa){console[_0x51e3('0xa8b')](_0x51e3('0x154e'));}_0x2e596b(_0x51e3('0x33'),null);break;case _0x51e3('0x1011'):_0x18d860[_0x51e3('0x100c')][_0x51e3('0xe')](_0x4c7c9b[_0x51e3('0xb8a')],_0x4c7c9b[_0x51e3('0xf53')],_0x4c7c9b[_0x51e3('0xfcd')],_0x4c7c9b[_0x51e3('0xf20')],_0x4c7c9b[_0x51e3('0xf21')],_0x4c7c9b[_0x51e3('0x154f')],_0x4c7c9b[_0x51e3('0x1550')],_0x4c7c9b[_0x51e3('0x1551')],_0x4c7c9b[_0x51e3('0xf72')],_0x4c7c9b[_0x51e3('0x976')],_0x4c7c9b[_0x51e3('0x1552')],_0x4c7c9b[_0x51e3('0x1553')]);}}),_0x462b99['on'](_0x35214f['a'][_0x51e3('0x100f')],_0x2e596b),_0x462b99['on'](_0x35214f['a'][_0x51e3('0xf1f')],_0x2e596b),_0x462b99['on'](_0x35214f['a'][_0x51e3('0xfde')],_0x2e596b),_0x462b99['on'](_0x35214f['a'][_0x51e3('0xa8')],_0x2e596b),_0x462b99['on'](_0x35214f['a'][_0x51e3('0x100a')],_0x2e596b),_0x462b99['on'](_0x35214f['a'][_0x51e3('0x100b')],_0x2e596b),_0x462b99['on'](_0x35214f['a'][_0x51e3('0xf39')],_0x2e596b),_0x462b99['on'](_0x35214f['a'][_0x51e3('0xff7')],function(_0x1f293f,_0x5568c3){var _0x5000d2=[],_0x17b1ae={'event':_0x1f293f,'data':_0x5568c3};_0x5568c3[_0x51e3('0x114f')]&&(_0x17b1ae[_0x51e3('0x114f')]=_0x5568c3[_0x51e3('0x114f')][_0x51e3('0xec0')],_0x5000d2[_0x51e3('0xe')](_0x5568c3[_0x51e3('0x114f')][_0x51e3('0xec0')]),delete _0x5568c3[_0x51e3('0x114f')]),_0x5568c3[_0x51e3('0x1150')]&&(_0x17b1ae[_0x51e3('0x1150')]=_0x5568c3[_0x51e3('0x1150')][_0x51e3('0xec0')],_0x5000d2[_0x51e3('0xe')](_0x5568c3[_0x51e3('0x1150')][_0x51e3('0xec0')]),delete _0x5568c3[_0x51e3('0x1150')]),_0x18d860[_0x51e3('0xb23')](_0x17b1ae,_0x5000d2);});};_0x462b99[_0x51e3('0x4')]=_0x8bb5aa;}})(self);`\r\n\r\nDo you know why this happens? How could we debug this?\r\nThanks in advance for your help."}}
{"actor":{"display_login":"sanex3339"}}