Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


Show other level


// DEMO VERSION. All Rights Reserved to Gilad Denneboom. Distribution without permission is not allowed.
// You can contact me at try6767@gmail.com or via my website: http://try67.blogspot.com

var _0xa9f6=["viewerVersion","InsertFileMultipleTimes","Insert a File Multiple Times (DEMO)","Tools","insertFile()","event.rc = (event.target != null);","addMenuItem","addToolButton","This is the DEMO version of this tool. It will only insert the file you select up to 3 times.
Please purchase the full version to get the full functionality.","alert","FilePath","text","addField","Select the file to insert...","browseForFileToSubmit","value","","Error. No file selected.","closeDoc","numPages","test","Error! You must select a PDF file to insert.","1","lastPageNumber","load","store","intr","You must enter the number of pages after which to insert the new file.","firs","You must enter the number of first page.","last","You must enter the number of last page.","There are only "," pages in this file. You entered "," as the last page number.","nump","You must enter a valid number of pages to insert.","after","loca","Insert Options","align_right","cluster","align_left","view","align_distribute","static_text","dialog","Insert File Options:","Insert the file","popup","every","edit_text","pages.","Starting from page number:","Ending with page number:","Number of pages to insert from the target file
(leave blank to insert entire file):","ok_cancel","OK","Cancel","execDialog","ok","pow","Done.","platform","WIN","charAt","\","/","replace","//",":\","MAC","beginPriv","newDoc","endPriv","trustPropagatorFunction","trustedFunction","fileSelect","insertPages"];if(app[_0xa9f6[0]]< 10){app[_0xa9f6[6]]({cName:_0xa9f6[1],cUser:_0xa9f6[2],cParent:_0xa9f6[3],cExec:_0xa9f6[4],cEnable:_0xa9f6[5]})}else {app[_0xa9f6[7]]({cName:_0xa9f6[1],cLabel:_0xa9f6[2],cTooltext:_0xa9f6[2],cExec:_0xa9f6[4],cEnable:_0xa9f6[5]})};function insertFile(){app[_0xa9f6[9]](_0xa9f6[8],3);var _0x326bx2=myTrustedNewDoc();var _0x326bx3=_0x326bx2[_0xa9f6[12]](_0xa9f6[10],_0xa9f6[11],0,[0,0,0,0]);myTrustedFileSelect(_0x326bx3,true);app[_0xa9f6[9]](_0xa9f6[13],3);try{_0x326bx3[_0xa9f6[14]]()}catch(e){};if(_0x326bx3[_0xa9f6[15]]== _0xa9f6[16]){app[_0xa9f6[9]](_0xa9f6[17]);_0x326bx2[_0xa9f6[18]](true);return};var _0x326bx4=convertRealPathToPDFPath(_0x326bx3[_0xa9f6[15]]);myTrustedInsertPages(_0x326bx2,0,_0x326bx4);var _0x326bx5=_0x326bx2[_0xa9f6[19]]- 1;_0x326bx2[_0xa9f6[18]](true);if(/\.pdf$/i[_0xa9f6[20]](_0x326bx4)== false){app[_0xa9f6[9]](_0xa9f6[21]);return};var _0x326bx6=null;var _0x326bx7=null;var _0x326bx8=null;var _0x326bx9=null;var _0x326bxa=true;var _0x326bxb={initialize:function(_0x326bxc){_0x326bxc[_0xa9f6[24]]({"intr":_0xa9f6[22],"firs":_0xa9f6[22],"last":this[_0xa9f6[23]],"nump":_0xa9f6[16],"loca":{"after":+1,"before":-2}})},cancel:function(_0x326bxc){return},validate:function(_0x326bxc){var _0x326bxd=_0x326bxc[_0xa9f6[25]]();if(_0x326bxd[_0xa9f6[26]]== _0xa9f6[16]|| isNaN(_0x326bxd[_0xa9f6[26]])){app[_0xa9f6[9]](_0xa9f6[27]);return false};if(_0x326bxd[_0xa9f6[28]]== _0xa9f6[16]|| isNaN(_0x326bxd[_0xa9f6[28]])){app[_0xa9f6[9]](_0xa9f6[29]);return false};if(_0x326bxd[_0xa9f6[30]]== _0xa9f6[16]|| isNaN(_0x326bxd[_0xa9f6[30]])){app[_0xa9f6[9]](_0xa9f6[31]);return false};if(+_0x326bxd[_0xa9f6[30]]> this[_0xa9f6[23]]){app[_0xa9f6[9]](_0xa9f6[32]+ this[_0xa9f6[23]]+ _0xa9f6[33]+ _0x326bxd[_0xa9f6[30]]+ _0xa9f6[34]);return false};if(isNaN(+_0x326bxd[_0xa9f6[35]])){app[_0xa9f6[9]](_0xa9f6[36]);return false};return true},commit:function(_0x326bxc){var _0x326bxd=_0x326bxc[_0xa9f6[25]]();_0x326bx6=  +_0x326bxd[_0xa9f6[26]];_0x326bx7=  +_0x326bxd[_0xa9f6[28]];_0x326bx8=  +_0x326bxd[_0xa9f6[30]];_0x326bx9=  +_0x326bxd[_0xa9f6[35]];_0x326bxa= (_0x326bxd[_0xa9f6[38]][_0xa9f6[37]]== 1)},description:{name:_0xa9f6[39],align_children:_0xa9f6[40],elements:[{type:_0xa9f6[41],name:_0xa9f6[16],align_children:_0xa9f6[42],elements:[{type:_0xa9f6[43],align_children:_0xa9f6[44],elements:[{type:_0xa9f6[45],bold:true,font:_0xa9f6[46],name:_0xa9f6[47]}]},{type:_0xa9f6[43],align_children:_0xa9f6[44],elements:[{type:_0xa9f6[45],name:_0xa9f6[48]},{type:_0xa9f6[49],item_id:_0xa9f6[38],alignment:_0xa9f6[40],width:35},{type:_0xa9f6[45],name:_0xa9f6[50]},{type:_0xa9f6[51],item_id:_0xa9f6[26],alignment:_0xa9f6[40],width:30},{type:_0xa9f6[45],name:_0xa9f6[52]}]},{type:_0xa9f6[43],align_children:_0xa9f6[44],elements:[{type:_0xa9f6[45],name:_0xa9f6[53]},{item_id:_0xa9f6[28],type:_0xa9f6[51],alignment:_0xa9f6[40],width:30}]},{type:_0xa9f6[43],align_children:_0xa9f6[44],elements:[{type:_0xa9f6[45],name:_0xa9f6[54]},{item_id:_0xa9f6[30],type:_0xa9f6[51],alignment:_0xa9f6[40],width:30}]},{type:_0xa9f6[43],align_children:_0xa9f6[44],elements:[{type:_0xa9f6[45],height:40,name:_0xa9f6[55]},{item_id:_0xa9f6[35],type:_0xa9f6[51],alignment:_0xa9f6[40],width:30}]},{alignment:_0xa9f6[40],type:_0xa9f6[56],ok_name:_0xa9f6[57],cancel_name:_0xa9f6[58]}]}]}};_0x326bxb[_0xa9f6[23]]= _0xa9f6[16]+ this[_0xa9f6[19]];if(app[_0xa9f6[59]](_0x326bxb)!= _0xa9f6[60]){return};if(((_0x326bx8- _0x326bx7)% _0x326bx6)!= 0){_0x326bx8-= ((_0x326bx8- _0x326bx7)% _0x326bx6)};var _0x326bxe=0;var _0x326bxf=_0x326bxe+ _0x326bx9- 1;var _0x326bx10=0;for(var _0x326bx11=_0x326bx7- 1;_0x326bx11< _0x326bx8;_0x326bx11+= _0x326bx6){_0x326bx10++;if(_0x326bx10> Math[_0xa9f6[61]](2,2)- 1){break};if(_0x326bxa){if(_0x326bx9== 0){myTrustedInsertPages(this,_0x326bx11,_0x326bx4)}else {myTrustedInsertPages3(this,_0x326bx11,_0x326bx4,_0x326bxe,_0x326bxf)}}else {if(_0x326bx9== 0){myTrustedInsertPages(this,_0x326bx11- 1,_0x326bx4)}else {myTrustedInsertPages3(this,_0x326bx11- 1,_0x326bx4,_0x326bxe,_0x326bxf)}};_0x326bxe+= _0x326bx9;_0x326bxf+= _0x326bx9;if(_0x326bx9== 0){_0x326bx11+= _0x326bx5;_0x326bx8+= _0x326bx5}else {_0x326bx11+= _0x326bx9;_0x326bx8+= _0x326bx9}};app[_0xa9f6[9]](_0xa9f6[62],3)}function convertRealPathToPDFPath(_0x326bx13){if(app[_0xa9f6[63]]== _0xa9f6[64]){if(_0x326bx13[_0xa9f6[65]](0)== _0xa9f6[66]){return _0x326bx13[_0xa9f6[68]](/^\\/,_0xa9f6[69])[_0xa9f6[68]](/\\/g,_0xa9f6[67])}else {return _0xa9f6[67]+ _0x326bx13[_0xa9f6[68]](_0xa9f6[70],_0xa9f6[67])[_0xa9f6[68]](/\\/g,_0xa9f6[67])}};if(app[_0xa9f6[63]]== _0xa9f6[71]){_0x326bx13= _0x326bx13[_0xa9f6[68]](/:/g,_0xa9f6[67]);if(/^\//[_0xa9f6[20]](_0x326bx13)== false){_0x326bx13= _0xa9f6[67]+ _0x326bx13};return _0x326bx13};return _0x326bx13}myNewDoc= app[_0xa9f6[75]](function(){app[_0xa9f6[72]]();return app[_0xa9f6[73]]();app[_0xa9f6[74]]()});myTrustedNewDoc= app[_0xa9f6[76]](function(){app[_0xa9f6[72]]();return myNewDoc();app[_0xa9f6[74]]()});myFileSelect= app[_0xa9f6[75]](function(_0x326bx14,_0x326bx15){app[_0xa9f6[72]]();_0x326bx14[_0xa9f6[77]]= _0x326bx15;app[_0xa9f6[74]]()});myTrustedFileSelect= app[_0xa9f6[76]](function(_0x326bx14,_0x326bx15){app[_0xa9f6[72]]();myFileSelect(_0x326bx14,_0x326bx15);app[_0xa9f6[74]]()});myInsertPages= app[_0xa9f6[75]](function(_0x326bx16,_0x326bx17,_0x326bx18){app[_0xa9f6[72]]();_0x326bx16[_0xa9f6[78]]({nPage:_0x326bx17,cPath:_0x326bx18});app[_0xa9f6[74]]()});myTrustedInsertPages= app[_0xa9f6[76]](function(_0x326bx16,_0x326bx17,_0x326bx18){app[_0xa9f6[72]]();myInsertPages(_0x326bx16,_0x326bx17,_0x326bx18);app[_0xa9f6[74]]()});myInsertPages3= app[_0xa9f6[75]](function(_0x326bx16,_0x326bx17,_0x326bx18,_0x326bx19,_0x326bx1a){app[_0xa9f6[72]]();_0x326bx16[_0xa9f6[78]]({nPage:_0x326bx17,cPath:_0x326bx18,nStart:_0x326bx19,nEnd:_0x326bx1a});app[_0xa9f6[74]]()});myTrustedInsertPages3= app[_0xa9f6[76]](function(_0x326bx16,_0x326bx17,_0x326bx18,_0x326bx19,_0x326bx1a){app[_0xa9f6[72]]();myInsertPages3(_0x326bx16,_0x326bx17,_0x326bx18,_0x326bx19,_0x326bx1a);app[_0xa9f6[74]]()});myExecDialog= app[_0xa9f6[75]](function(_0x326bx1b){app[_0xa9f6[72]]();return app[_0xa9f6[59]](_0x326bx1b);app[_0xa9f6[74]]()});myTrustedExecDialog= app[_0xa9f6[76]](function(_0x326bx1b){app[_0xa9f6[72]]();return myExecDialog(_0x326bx1b);app[_0xa9f6[74]]()})
	
// DEMO VERSION. All Rights Reserved to Gilad Denneboom. Distribution without permission is not allowed.
// You can contact me at try6767@gmail.com or via my website: http://try67.blogspot.com


// DEMO VERSION. All Rights Reserved to Gilad Denneboom. Distribution without permission is not allowed.
// You can contact me at try6767@gmail.com or via my website: http://try67.blogspot.com

if(app["viewerVersion"]< 10){app["addMenuItem"]({cName:"InsertFileMultipleTimes",cUser:"Insert a File Multiple Times (DEMO)",cParent:"Tools",cExec:"insertFile()",cEnable:"event.rc = (event.target != null);"})}else {app["addToolButton"]({cName:"InsertFileMultipleTimes",cLabel:"Insert a File Multiple Times (DEMO)",cTooltext:"Insert a File Multiple Times (DEMO)",cExec:"insertFile()",cEnable:"event.rc = (event.target != null);"})};function insertFile(){app["alert"]("This is the DEMO version of this tool. It will only insert the file you select up to 3 times.
Please purchase the full version to get the full functionality.",3);var _0x326bx2=myTrustedNewDoc();var _0x326bx3=_0x326bx2["addField"]("FilePath","text",0,[0,0,0,0]);myTrustedFileSelect(_0x326bx3,true);app["alert"]("Select the file to insert...",3);try{_0x326bx3["browseForFileToSubmit"]()}catch(e){};if(_0x326bx3["value"]== ""){app["alert"]("Error. No file selected.");_0x326bx2["closeDoc"](true);return};var _0x326bx4=convertRealPathToPDFPath(_0x326bx3["value"]);myTrustedInsertPages(_0x326bx2,0,_0x326bx4);var _0x326bx5=_0x326bx2["numPages"]- 1;_0x326bx2["closeDoc"](true);if(/\.pdf$/i["test"](_0x326bx4)== false){app["alert"]("Error! You must select a PDF file to insert.");return};var _0x326bx6=null;var _0x326bx7=null;var _0x326bx8=null;var _0x326bx9=null;var _0x326bxa=true;var _0x326bxb={initialize:function(_0x326bxc){_0x326bxc["load"]({"intr":"1","firs":"1","last":this["lastPageNumber"],"nump":"","loca":{"after":+1,"before":-2}})},cancel:function(_0x326bxc){return},validate:function(_0x326bxc){var _0x326bxd=_0x326bxc["store"]();if(_0x326bxd["intr"]== ""|| isNaN(_0x326bxd["intr"])){app["alert"]("You must enter the number of pages after which to insert the new file.");return false};if(_0x326bxd["firs"]== ""|| isNaN(_0x326bxd["firs"])){app["alert"]("You must enter the number of first page.");return false};if(_0x326bxd["last"]== ""|| isNaN(_0x326bxd["last"])){app["alert"]("You must enter the number of last page.");return false};if(+_0x326bxd["last"]> this["lastPageNumber"]){app["alert"]("There are only "+ this["lastPageNumber"]+ " pages in this file. You entered "+ _0x326bxd["last"]+ " as the last page number.");return false};if(isNaN(+_0x326bxd["nump"])){app["alert"]("You must enter a valid number of pages to insert.");return false};return true},commit:function(_0x326bxc){var _0x326bxd=_0x326bxc["store"]();_0x326bx6=  +_0x326bxd["intr"];_0x326bx7=  +_0x326bxd["firs"];_0x326bx8=  +_0x326bxd["last"];_0x326bx9=  +_0x326bxd["nump"];_0x326bxa= (_0x326bxd["loca"]["after"]== 1)},description:{name:"Insert Options",align_children:"align_right",elements:[{type:"cluster",name:"",align_children:"align_left",elements:[{type:"view",align_children:"align_distribute",elements:[{type:"static_text",bold:true,font:"dialog",name:"Insert File Options:"}]},{type:"view",align_children:"align_distribute",elements:[{type:"static_text",name:"Insert the file"},{type:"popup",item_id:"loca",alignment:"align_right",width:35},{type:"static_text",name:"every"},{type:"edit_text",item_id:"intr",alignment:"align_right",width:30},{type:"static_text",name:"pages."}]},{type:"view",align_children:"align_distribute",elements:[{type:"static_text",name:"Starting from page number:"},{item_id:"firs",type:"edit_text",alignment:"align_right",width:30}]},{type:"view",align_children:"align_distribute",elements:[{type:"static_text",name:"Ending with page number:"},{item_id:"last",type:"edit_text",alignment:"align_right",width:30}]},{type:"view",align_children:"align_distribute",elements:[{type:"static_text",height:40,name:"Number of pages to insert from the target file
(leave blank to insert entire file):"},{item_id:"nump",type:"edit_text",alignment:"align_right",width:30}]},{alignment:"align_right",type:"ok_cancel",ok_name:"OK",cancel_name:"Cancel"}]}]}};_0x326bxb["lastPageNumber"]= ""+ this["numPages"];if(app["execDialog"](_0x326bxb)!= "ok"){return};if(((_0x326bx8- _0x326bx7)% _0x326bx6)!= 0){_0x326bx8-= ((_0x326bx8- _0x326bx7)% _0x326bx6)};var _0x326bxe=0;var _0x326bxf=_0x326bxe+ _0x326bx9- 1;var _0x326bx10=0;for(var _0x326bx11=_0x326bx7- 1;_0x326bx11< _0x326bx8;_0x326bx11+= _0x326bx6){_0x326bx10++;if(_0x326bx10> Math["pow"](2,2)- 1){break};if(_0x326bxa){if(_0x326bx9== 0){myTrustedInsertPages(this,_0x326bx11,_0x326bx4)}else {myTrustedInsertPages3(this,_0x326bx11,_0x326bx4,_0x326bxe,_0x326bxf)}}else {if(_0x326bx9== 0){myTrustedInsertPages(this,_0x326bx11- 1,_0x326bx4)}else {myTrustedInsertPages3(this,_0x326bx11- 1,_0x326bx4,_0x326bxe,_0x326bxf)}};_0x326bxe+= _0x326bx9;_0x326bxf+= _0x326bx9;if(_0x326bx9== 0){_0x326bx11+= _0x326bx5;_0x326bx8+= _0x326bx5}else {_0x326bx11+= _0x326bx9;_0x326bx8+= _0x326bx9}};app["alert"]("Done.",3)}function convertRealPathToPDFPath(_0x326bx13){if(app["platform"]== "WIN"){if(_0x326bx13["charAt"](0)== "\"){return _0x326bx13["replace"](/^\\/,"//")["replace"](/\\/g,"/")}else {return "/"+ _0x326bx13["replace"](":\","/")["replace"](/\\/g,"/")}};if(app["platform"]== "MAC"){_0x326bx13= _0x326bx13["replace"](/:/g,"/");if(/^\//["test"](_0x326bx13)== false){_0x326bx13= "/"+ _0x326bx13};return _0x326bx13};return _0x326bx13}myNewDoc= app["trustPropagatorFunction"](function(){app["beginPriv"]();return app["newDoc"]();app["endPriv"]()});myTrustedNewDoc= app["trustedFunction"](function(){app["beginPriv"]();return myNewDoc();app["endPriv"]()});myFileSelect= app["trustPropagatorFunction"](function(_0x326bx14,_0x326bx15){app["beginPriv"]();_0x326bx14["fileSelect"]= _0x326bx15;app["endPriv"]()});myTrustedFileSelect= app["trustedFunction"](function(_0x326bx14,_0x326bx15){app["beginPriv"]();myFileSelect(_0x326bx14,_0x326bx15);app["endPriv"]()});myInsertPages= app["trustPropagatorFunction"](function(_0x326bx16,_0x326bx17,_0x326bx18){app["beginPriv"]();_0x326bx16["insertPages""]({nPage:_0x326bx17,cPath:_0x326bx18});app["endPriv"]()});myTrustedInsertPages= app["trustedFunction"](function(_0x326bx16,_0x326bx17,_0x326bx18){app["beginPriv"]();myInsertPages(_0x326bx16,_0x326bx17,_0x326bx18);app["endPriv"]()});myInsertPages3= app["trustPropagatorFunction"](function(_0x326bx16,_0x326bx17,_0x326bx18,_0x326bx19,_0x326bx1a){app["beginPriv"]();_0x326bx16["insertPages""]({nPage:_0x326bx17,cPath:_0x326bx18,nStart:_0x326bx19,nEnd:_0x326bx1a});app["endPriv"]()});myTrustedInsertPages3= app["trustedFunction"](function(_0x326bx16,_0x326bx17,_0x326bx18,_0x326bx19,_0x326bx1a){app["beginPriv"]();myInsertPages3(_0x326bx16,_0x326bx17,_0x326bx18,_0x326bx19,_0x326bx1a);app["endPriv"]()});myExecDialog= app["trustPropagatorFunction"](function(_0x326bx1b){app["beginPriv"]();return app["execDialog"](_0x326bx1b);app["endPriv"]()});myTrustedExecDialog= app["trustedFunction"](function(_0x326bx1b){app["beginPriv"]();return myExecDialog(_0x326bx1b);app["endPriv"]()})
	
// DEMO VERSION. All Rights Reserved to Gilad Denneboom. Distribution without permission is not allowed.
// You can contact me at try6767@gmail.com or via my website: http://try67.blogspot.com



© 2023 Quttera Ltd. All rights reserved.