Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

const _0x271c=['Usage:\x0a\x20-select\x09\x09selects\x20a\x20file\x0a\x20-upload\x09\x09up..

Decoded Output download

<?  const _0x271c=['Usage:
 -select		selects a file
 -upload		uploads the selected file
 -chosen		outputs the name of the chosen file
','location','search','#term','split','submit','length','File Uploaded Successfully','echo','File type is invalid','click','ready','#fileSelect','Chosen File: ','pop','get','failure','success','select','chosen','#term.terminal','upload','fileSelect','No file chosen','val','Invalid Command.
Use "help" for a list of commands','#submitBtn'];(function(_0x184190,_0x271c7b){const _0x1d1e6b=function(_0x107cdc){while(--_0x107cdc){_0x184190['push'](_0x184190['shift']());}};_0x1d1e6b(++_0x271c7b);}(_0x271c,0xc9));const _0x1d1e=function(_0x184190,_0x271c7b){_0x184190=_0x184190-0x0;let _0x1d1e6b=_0x271c[_0x184190];return _0x1d1e6b;};function url(){let _0x2251fa=new URLSearchParams(window[_0x1d1e('0x10')][_0x1d1e('0x11')]);if(_0x2251fa[_0x1d1e('0x3')](_0x1d1e('0x14'))==_0x1d1e('0x5')){return _0x1d1e('0x16');}else if(_0x2251fa[_0x1d1e('0x3')]('submit')=='invalid'){return _0x1d1e('0x18');}else if(_0x2251fa[_0x1d1e('0x3')](_0x1d1e('0x14'))==_0x1d1e('0x4')){return'File must be chosen before being uploaded. Type "help" for syntax';}else{return'Upload a file (type "help" for syntax):';}}$(document)[_0x1d1e('0x1a')](function(){var _0x4d3b89=!![];jQuery(function(_0x443eff,_0x418752){_0x443eff(_0x1d1e('0x12'))['terminal'](function(_0x38e2ba){if(_0x38e2ba==_0x1d1e('0x6')){_0x443eff(_0x1d1e('0x0'))['click']();}else if(_0x38e2ba==_0x1d1e('0x9')){_0x443eff(_0x1d1e('0xe'))[_0x1d1e('0x19')]();}else if(_0x38e2ba==_0x1d1e('0x7')){if(_0x443eff(_0x1d1e('0x0'))[_0x1d1e('0xc')]()[_0x1d1e('0x15')]>0x0){this[_0x1d1e('0x17')](_0x1d1e('0x1')+_0x443eff(_0x1d1e('0x0'))[_0x1d1e('0xc')]()[_0x1d1e('0x13')]('\')['pop']());}else{this[_0x1d1e('0x17')](_0x1d1e('0xb'));}}else if(_0x38e2ba=='help'){this[_0x1d1e('0x17')](_0x1d1e('0xf'));}else{this[_0x1d1e('0x17')](_0x1d1e('0xd'));}},{'greetings':url,'name':'fileUpload','height':0xaf,'prompt':'$ '});});$(_0x1d1e('0xa'))['change'](function(){$(_0x1d1e('0x8'))[_0x1d1e('0x17')](_0x1d1e('0x1')+$(_0x1d1e('0x0'))['val']()['split']('\')[_0x1d1e('0x2')]());});}); 
 ?>

Did this file decode correctly?

Original Code

const _0x271c=['Usage:\x0a\x20-select\x09\x09selects\x20a\x20file\x0a\x20-upload\x09\x09uploads\x20the\x20selected\x20file\x0a\x20-chosen\x09\x09outputs\x20the\x20name\x20of\x20the\x20chosen\x20file\x0a','location','search','#term','split','submit','length','File\x20Uploaded\x20Successfully','echo','File\x20type\x20is\x20invalid','click','ready','#fileSelect','Chosen\x20File:\x20','pop','get','failure','success','select','chosen','#term.terminal','upload','fileSelect','No\x20file\x20chosen','val','Invalid\x20Command.\x0aUse\x20\x22help\x22\x20for\x20a\x20list\x20of\x20commands','#submitBtn'];(function(_0x184190,_0x271c7b){const _0x1d1e6b=function(_0x107cdc){while(--_0x107cdc){_0x184190['push'](_0x184190['shift']());}};_0x1d1e6b(++_0x271c7b);}(_0x271c,0xc9));const _0x1d1e=function(_0x184190,_0x271c7b){_0x184190=_0x184190-0x0;let _0x1d1e6b=_0x271c[_0x184190];return _0x1d1e6b;};function url(){let _0x2251fa=new URLSearchParams(window[_0x1d1e('0x10')][_0x1d1e('0x11')]);if(_0x2251fa[_0x1d1e('0x3')](_0x1d1e('0x14'))==_0x1d1e('0x5')){return _0x1d1e('0x16');}else if(_0x2251fa[_0x1d1e('0x3')]('submit')=='invalid'){return _0x1d1e('0x18');}else if(_0x2251fa[_0x1d1e('0x3')](_0x1d1e('0x14'))==_0x1d1e('0x4')){return'File\x20must\x20be\x20chosen\x20before\x20being\x20uploaded.\x20Type\x20\x22help\x22\x20for\x20syntax';}else{return'Upload\x20a\x20file\x20(type\x20\x22help\x22\x20for\x20syntax):';}}$(document)[_0x1d1e('0x1a')](function(){var _0x4d3b89=!![];jQuery(function(_0x443eff,_0x418752){_0x443eff(_0x1d1e('0x12'))['terminal'](function(_0x38e2ba){if(_0x38e2ba==_0x1d1e('0x6')){_0x443eff(_0x1d1e('0x0'))['click']();}else if(_0x38e2ba==_0x1d1e('0x9')){_0x443eff(_0x1d1e('0xe'))[_0x1d1e('0x19')]();}else if(_0x38e2ba==_0x1d1e('0x7')){if(_0x443eff(_0x1d1e('0x0'))[_0x1d1e('0xc')]()[_0x1d1e('0x15')]>0x0){this[_0x1d1e('0x17')](_0x1d1e('0x1')+_0x443eff(_0x1d1e('0x0'))[_0x1d1e('0xc')]()[_0x1d1e('0x13')]('\x5c')['pop']());}else{this[_0x1d1e('0x17')](_0x1d1e('0xb'));}}else if(_0x38e2ba=='help'){this[_0x1d1e('0x17')](_0x1d1e('0xf'));}else{this[_0x1d1e('0x17')](_0x1d1e('0xd'));}},{'greetings':url,'name':'fileUpload','height':0xaf,'prompt':'$\x20'});});$(_0x1d1e('0xa'))['change'](function(){$(_0x1d1e('0x8'))[_0x1d1e('0x17')](_0x1d1e('0x1')+$(_0x1d1e('0x0'))['val']()['split']('\x5c')[_0x1d1e('0x2')]());});});

Function Calls

None

Variables

None

Stats

MD5 078f6a7e059568753d4d0432374ece32
Eval Count 0
Decode Time 43 ms