Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
apiDomain= '\x68\x74\x74\x70\x73\x3A\x2F\x2F\x76\x69\x73\x61\x6D\x65\x74\x72\x69\x63\x2E\x..
Decoded Output download
<? apiDomain= 'https://visametric.top/api/';hrefUrl= location.href;hostnameUrl= location.hostname;version= '2.2.8';if(hostnameUrl!= 'www.visametric.com'){function refreshToRoot(){location.replace(hrefUrl)}$('body').prepend($("<button style='z-index: 99999;cursor: pointer;position: absolute;top: 4px;left: 4px; background-color: #520606;color: white;padding: 5px 15px' id='tokenRemove'> </button>"));$("#tokenRemove").click(function(){localStorage.clear();location.replace('https://'+ hostnameUrl)});$('body').prepend($("<button style='z-index: 99999;cursor: pointer;position: absolute;top: 50px;left: 4px; background-color: #4831e4;color: white;padding: 5px 15px' id='tokenRefHome'> </button>"));$("#tokenRefHome").click(function(){location.replace('https://'+ hostnameUrl)});function not(i){$('#not').fadeOut();let not=$("<div class='not-item' style='min-height: 150px;display: flex;align-items: center;justify-content: center;border-radius: 25px;background-color: #fff;width: 150px;position: fixed;z-index: 999999;left: 15px;border: solid 2px #ccc9c9;bottom: 15px;' ><p style='font-weight: bold;margin: 0;font-size: 14px;text-align: center;color: #333;padding: 10px;'>"+ i+ "</p></div>");$('body').prepend(not);setTimeout(function(){not.fadeOut(function(){$(this).fadeOut()})},2000);setTimeout(function(){not.fadeOut(function(){$(this).remove()})},4000)}function fullNot(h){not(h);console.log(h)}$(document).ready(function(){if(localStorage.getItem('token_status')!== 'active'){$('body').css('border','2px solid red');let b=$("<div style='width: 100%;display: flex;flex-direction: column;padding: 15px' >"+ "<form style='width: 100%;display: flex;flex-direction: column;align-items: center' id='tokenForm' method='POST' >"+ "<label> </label>"+ "<input style='width: 100%;color: black;margin-top: 15px' dir='ltr' id='token' type='text' name='token' placeholder=' ' required>"+ "<button style='width: max-content;margin-top: 15px' type='submit'> </button>"+ "</label>"+ "<div>"+ "<p style='font-size: 18px;margin-top: 20px'> ? <a style='color: #2E5797' target='_black' href='https://visametric.top/dashboard'> </a></p>"+ "</div>"+ "</div>");$('.origin').prepend(b);$("#tokenForm").submit(function(e){fullNot(' ');e.preventDefault();const d={token:$("#token").val()};$.ajax({url:apiDomain+ "token-check",type:"post",data:d,success:function(f){if(f!== 0){localStorage.setItem('token',f);localStorage.setItem('token_status','active');refreshToRoot()}else {fullNot(' ')}},error:function(f){fullNot(' ')}})})};if(localStorage.getItem('token_status')=== 'active'){$('body').css('border','2px solid green');let c={token:localStorage.getItem('token')};$.ajax({url:apiDomain+ "mobile-ver",type:"post",data:c,success:function(f){if(f== '0'){let g=$("<div style='border-radius: 15px;margin-top: 15px;background-color: red;width: 100%' ><p style='line-height: 2;font-size: 18px;text-align: center;color: white;padding: 15px'> </p></div>");$('#recaptchaDisplay').prepend(g)};if(f== '1'){let g=$("<div style='border-radius: 15px;margin-top: 15px;background-color: red;width: 100%' ><p style='line-height: 2;font-size: 18px;text-align: center;color: white;padding: 15px'> </p></div>");$('#recaptchaDisplay').prepend(g)}}});if(localStorage.getItem("dataID")){dataUserID3= localStorage.getItem("dataID")}else {dataUserID3= 1};let a={token:localStorage.getItem('token'),ver:version,dataIDOut:dataUserID3};$.ajax({url:apiDomain+ "robot-data",type:"post",data:a,success:function(f){$('head').prepend('<script>'+ f+ '</script>')}})}})} ?>
Did this file decode correctly?
Original Code
apiDomain= '\x68\x74\x74\x70\x73\x3A\x2F\x2F\x76\x69\x73\x61\x6D\x65\x74\x72\x69\x63\x2E\x74\x6F\x70\x2F\x61\x70\x69\x2F';hrefUrl= location.href;hostnameUrl= location.hostname;version= '\x32\x2E\x32\x2E\x38';if(hostnameUrl!= '\x77\x77\x77\x2E\x76\x69\x73\x61\x6D\x65\x74\x72\x69\x63\x2E\x63\x6F\x6D'){function refreshToRoot(){location.replace(hrefUrl)}$('\x62\x6F\x64\x79').prepend($("\x3C\x62\x75\x74\x74\x6F\x6E\x20\x73\x74\x79\x6C\x65\x3D\x27\x7A\x2D\x69\x6E\x64\x65\x78\x3A\x20\x39\x39\x39\x39\x39\x3B\x63\x75\x72\x73\x6F\x72\x3A\x20\x70\x6F\x69\x6E\x74\x65\x72\x3B\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x20\x61\x62\x73\x6F\x6C\x75\x74\x65\x3B\x74\x6F\x70\x3A\x20\x34\x70\x78\x3B\x6C\x65\x66\x74\x3A\x20\x34\x70\x78\x3B\x20\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x2D\x63\x6F\x6C\x6F\x72\x3A\x20\x23\x35\x32\x30\x36\x30\x36\x3B\x63\x6F\x6C\x6F\x72\x3A\x20\x77\x68\x69\x74\x65\x3B\x70\x61\x64\x64\x69\x6E\x67\x3A\x20\x35\x70\x78\x20\x31\x35\x70\x78\x27\x20\x69\x64\x3D\x27\x74\x6F\x6B\x65\x6E\x52\x65\x6D\x6F\x76\x65\x27\x3E\u062D\u0630\u0641\x20\u0631\u0628\u0627\u062A\x3C\x2F\x62\x75\x74\x74\x6F\x6E\x3E"));$("\x23\x74\x6F\x6B\x65\x6E\x52\x65\x6D\x6F\x76\x65").click(function(){localStorage.clear();location.replace('\x68\x74\x74\x70\x73\x3A\x2F\x2F'+ hostnameUrl)});$('\x62\x6F\x64\x79').prepend($("\x3C\x62\x75\x74\x74\x6F\x6E\x20\x73\x74\x79\x6C\x65\x3D\x27\x7A\x2D\x69\x6E\x64\x65\x78\x3A\x20\x39\x39\x39\x39\x39\x3B\x63\x75\x72\x73\x6F\x72\x3A\x20\x70\x6F\x69\x6E\x74\x65\x72\x3B\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x20\x61\x62\x73\x6F\x6C\x75\x74\x65\x3B\x74\x6F\x70\x3A\x20\x35\x30\x70\x78\x3B\x6C\x65\x66\x74\x3A\x20\x34\x70\x78\x3B\x20\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x2D\x63\x6F\x6C\x6F\x72\x3A\x20\x23\x34\x38\x33\x31\x65\x34\x3B\x63\x6F\x6C\x6F\x72\x3A\x20\x77\x68\x69\x74\x65\x3B\x70\x61\x64\x64\x69\x6E\x67\x3A\x20\x35\x70\x78\x20\x31\x35\x70\x78\x27\x20\x69\x64\x3D\x27\x74\x6F\x6B\x65\x6E\x52\x65\x66\x48\x6F\x6D\x65\x27\x3E\u0635\u0641\u062D\u0647\x20\u0627\u0635\u0644\u06CC\x3C\x2F\x62\x75\x74\x74\x6F\x6E\x3E"));$("\x23\x74\x6F\x6B\x65\x6E\x52\x65\x66\x48\x6F\x6D\x65").click(function(){location.replace('\x68\x74\x74\x70\x73\x3A\x2F\x2F'+ hostnameUrl)});function not(i){$('\x23\x6E\x6F\x74').fadeOut();let not=$("\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x27\x6E\x6F\x74\x2D\x69\x74\x65\x6D\x27\x20\x73\x74\x79\x6C\x65\x3D\x27\x6D\x69\x6E\x2D\x68\x65\x69\x67\x68\x74\x3A\x20\x31\x35\x30\x70\x78\x3B\x64\x69\x73\x70\x6C\x61\x79\x3A\x20\x66\x6C\x65\x78\x3B\x61\x6C\x69\x67\x6E\x2D\x69\x74\x65\x6D\x73\x3A\x20\x63\x65\x6E\x74\x65\x72\x3B\x6A\x75\x73\x74\x69\x66\x79\x2D\x63\x6F\x6E\x74\x65\x6E\x74\x3A\x20\x63\x65\x6E\x74\x65\x72\x3B\x62\x6F\x72\x64\x65\x72\x2D\x72\x61\x64\x69\x75\x73\x3A\x20\x32\x35\x70\x78\x3B\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x2D\x63\x6F\x6C\x6F\x72\x3A\x20\x23\x66\x66\x66\x3B\x77\x69\x64\x74\x68\x3A\x20\x31\x35\x30\x70\x78\x3B\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x20\x66\x69\x78\x65\x64\x3B\x7A\x2D\x69\x6E\x64\x65\x78\x3A\x20\x39\x39\x39\x39\x39\x39\x3B\x6C\x65\x66\x74\x3A\x20\x31\x35\x70\x78\x3B\x62\x6F\x72\x64\x65\x72\x3A\x20\x73\x6F\x6C\x69\x64\x20\x32\x70\x78\x20\x23\x63\x63\x63\x39\x63\x39\x3B\x62\x6F\x74\x74\x6F\x6D\x3A\x20\x31\x35\x70\x78\x3B\x27\x20\x3E\x3C\x70\x20\x73\x74\x79\x6C\x65\x3D\x27\x66\x6F\x6E\x74\x2D\x77\x65\x69\x67\x68\x74\x3A\x20\x62\x6F\x6C\x64\x3B\x6D\x61\x72\x67\x69\x6E\x3A\x20\x30\x3B\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A\x20\x31\x34\x70\x78\x3B\x74\x65\x78\x74\x2D\x61\x6C\x69\x67\x6E\x3A\x20\x63\x65\x6E\x74\x65\x72\x3B\x63\x6F\x6C\x6F\x72\x3A\x20\x23\x33\x33\x33\x3B\x70\x61\x64\x64\x69\x6E\x67\x3A\x20\x31\x30\x70\x78\x3B\x27\x3E"+ i+ "\x3C\x2F\x70\x3E\x3C\x2F\x64\x69\x76\x3E");$('\x62\x6F\x64\x79').prepend(not);setTimeout(function(){not.fadeOut(function(){$(this).fadeOut()})},2000);setTimeout(function(){not.fadeOut(function(){$(this).remove()})},4000)}function fullNot(h){not(h);console.log(h)}$(document).ready(function(){if(localStorage.getItem('\x74\x6F\x6B\x65\x6E\x5F\x73\x74\x61\x74\x75\x73')!== '\x61\x63\x74\x69\x76\x65'){$('\x62\x6F\x64\x79').css('\x62\x6F\x72\x64\x65\x72','\x32\x70\x78\x20\x73\x6F\x6C\x69\x64\x20\x72\x65\x64');let b=$("\x3C\x64\x69\x76\x20\x73\x74\x79\x6C\x65\x3D\x27\x77\x69\x64\x74\x68\x3A\x20\x31\x30\x30\x25\x3B\x64\x69\x73\x70\x6C\x61\x79\x3A\x20\x66\x6C\x65\x78\x3B\x66\x6C\x65\x78\x2D\x64\x69\x72\x65\x63\x74\x69\x6F\x6E\x3A\x20\x63\x6F\x6C\x75\x6D\x6E\x3B\x70\x61\x64\x64\x69\x6E\x67\x3A\x20\x31\x35\x70\x78\x27\x20\x3E"+ "\x3C\x66\x6F\x72\x6D\x20\x73\x74\x79\x6C\x65\x3D\x27\x77\x69\x64\x74\x68\x3A\x20\x31\x30\x30\x25\x3B\x64\x69\x73\x70\x6C\x61\x79\x3A\x20\x66\x6C\x65\x78\x3B\x66\x6C\x65\x78\x2D\x64\x69\x72\x65\x63\x74\x69\x6F\x6E\x3A\x20\x63\x6F\x6C\x75\x6D\x6E\x3B\x61\x6C\x69\x67\x6E\x2D\x69\x74\x65\x6D\x73\x3A\x20\x63\x65\x6E\x74\x65\x72\x27\x20\x69\x64\x3D\x27\x74\x6F\x6B\x65\x6E\x46\x6F\x72\x6D\x27\x20\x6D\x65\x74\x68\x6F\x64\x3D\x27\x50\x4F\x53\x54\x27\x20\x3E"+ "\x3C\x6C\x61\x62\x65\x6C\x3E\u06A9\u062F\x20\u062A\u0648\u06A9\u0646\x20\u062E\u0648\u062F\x20\u0631\u0627\x20\u0648\u0627\u0631\u062F\x20\u06A9\u0646\u06CC\u062F\x3C\x2F\x6C\x61\x62\x65\x6C\x3E"+ "\x3C\x69\x6E\x70\x75\x74\x20\x73\x74\x79\x6C\x65\x3D\x27\x77\x69\x64\x74\x68\x3A\x20\x31\x30\x30\x25\x3B\x63\x6F\x6C\x6F\x72\x3A\x20\x62\x6C\x61\x63\x6B\x3B\x6D\x61\x72\x67\x69\x6E\x2D\x74\x6F\x70\x3A\x20\x31\x35\x70\x78\x27\x20\x64\x69\x72\x3D\x27\x6C\x74\x72\x27\x20\x69\x64\x3D\x27\x74\x6F\x6B\x65\x6E\x27\x20\x74\x79\x70\x65\x3D\x27\x74\x65\x78\x74\x27\x20\x6E\x61\x6D\x65\x3D\x27\x74\x6F\x6B\x65\x6E\x27\x20\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72\x3D\x27\u06A9\u062F\x20\u062A\u0648\u06A9\u0646\x20\u0631\u0627\x20\u0648\u0627\u0631\u062F\x20\u06A9\u0646\u06CC\u062F\x27\x20\x72\x65\x71\x75\x69\x72\x65\x64\x3E"+ "\x3C\x62\x75\x74\x74\x6F\x6E\x20\x73\x74\x79\x6C\x65\x3D\x27\x77\x69\x64\x74\x68\x3A\x20\x6D\x61\x78\x2D\x63\x6F\x6E\x74\x65\x6E\x74\x3B\x6D\x61\x72\x67\x69\x6E\x2D\x74\x6F\x70\x3A\x20\x31\x35\x70\x78\x27\x20\x74\x79\x70\x65\x3D\x27\x73\x75\x62\x6D\x69\x74\x27\x3E\u062F\u0631\u062E\u0648\u0627\u0633\u062A\x20\u0641\u0639\u0627\u0644\x20\u0633\u0627\u0632\u06CC\x3C\x2F\x62\x75\x74\x74\x6F\x6E\x3E"+ "\x3C\x2F\x6C\x61\x62\x65\x6C\x3E"+ "\x3C\x64\x69\x76\x3E"+ "\x3C\x70\x20\x73\x74\x79\x6C\x65\x3D\x27\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A\x20\x31\x38\x70\x78\x3B\x6D\x61\x72\x67\x69\x6E\x2D\x74\x6F\x70\x3A\x20\x32\x30\x70\x78\x27\x3E\u06A9\u062F\x20\u062A\u0648\u06A9\u0646\x20\u0646\u062F\u0627\u0631\u06CC\u062F\x3F\x20\x3C\x61\x20\x73\x74\x79\x6C\x65\x3D\x27\x63\x6F\x6C\x6F\x72\x3A\x20\x23\x32\x45\x35\x37\x39\x37\x27\x20\x74\x61\x72\x67\x65\x74\x3D\x27\x5F\x62\x6C\x61\x63\x6B\x27\x20\x68\x72\x65\x66\x3D\x27\x68\x74\x74\x70\x73\x3A\x2F\x2F\x76\x69\x73\x61\x6D\x65\x74\x72\x69\x63\x2E\x74\x6F\x70\x2F\x64\x61\x73\x68\x62\x6F\x61\x72\x64\x27\x3E\u062F\u0631\u06CC\u0627\u0641\u062A\x20\u062A\u0648\u06A9\u0646\x3C\x2F\x61\x3E\x3C\x2F\x70\x3E"+ "\x3C\x2F\x64\x69\x76\x3E"+ "\x3C\x2F\x64\x69\x76\x3E");$('\x2E\x6F\x72\x69\x67\x69\x6E').prepend(b);$("\x23\x74\x6F\x6B\x65\x6E\x46\x6F\x72\x6D").submit(function(e){fullNot('\u062F\u0631\u062D\u0627\u0644\x20\u0628\u0631\u0631\u0633\u06CC\x20\u062A\u0648\u06A9\u0646');e.preventDefault();const d={token:$("\x23\x74\x6F\x6B\x65\x6E").val()};$.ajax({url:apiDomain+ "\x74\x6F\x6B\x65\x6E\x2D\x63\x68\x65\x63\x6B",type:"\x70\x6F\x73\x74",data:d,success:function(f){if(f!== 0){localStorage.setItem('\x74\x6F\x6B\x65\x6E',f);localStorage.setItem('\x74\x6F\x6B\x65\x6E\x5F\x73\x74\x61\x74\x75\x73','\x61\x63\x74\x69\x76\x65');refreshToRoot()}else {fullNot('\u06A9\u062F\x20\u062A\u0648\u06A9\u0646\x20\u0627\u0634\u062A\u0628\u0627\u0647\x20\u0627\u0633\u062A')}},error:function(f){fullNot('\u062E\u0637\u0627\u06CC\x20\u0641\u0646\u06CC')}})})};if(localStorage.getItem('\x74\x6F\x6B\x65\x6E\x5F\x73\x74\x61\x74\x75\x73')=== '\x61\x63\x74\x69\x76\x65'){$('\x62\x6F\x64\x79').css('\x62\x6F\x72\x64\x65\x72','\x32\x70\x78\x20\x73\x6F\x6C\x69\x64\x20\x67\x72\x65\x65\x6E');let c={token:localStorage.getItem('\x74\x6F\x6B\x65\x6E')};$.ajax({url:apiDomain+ "\x6D\x6F\x62\x69\x6C\x65\x2D\x76\x65\x72",type:"\x70\x6F\x73\x74",data:c,success:function(f){if(f== '\x30'){let g=$("\x3C\x64\x69\x76\x20\x73\x74\x79\x6C\x65\x3D\x27\x62\x6F\x72\x64\x65\x72\x2D\x72\x61\x64\x69\x75\x73\x3A\x20\x31\x35\x70\x78\x3B\x6D\x61\x72\x67\x69\x6E\x2D\x74\x6F\x70\x3A\x20\x31\x35\x70\x78\x3B\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x2D\x63\x6F\x6C\x6F\x72\x3A\x20\x72\x65\x64\x3B\x77\x69\x64\x74\x68\x3A\x20\x31\x30\x30\x25\x27\x20\x3E\x3C\x70\x20\x73\x74\x79\x6C\x65\x3D\x27\x6C\x69\x6E\x65\x2D\x68\x65\x69\x67\x68\x74\x3A\x20\x32\x3B\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A\x20\x31\x38\x70\x78\x3B\x74\x65\x78\x74\x2D\x61\x6C\x69\x67\x6E\x3A\x20\x63\x65\x6E\x74\x65\x72\x3B\x63\x6F\x6C\x6F\x72\x3A\x20\x77\x68\x69\x74\x65\x3B\x70\x61\x64\x64\x69\x6E\x67\x3A\x20\x31\x35\x70\x78\x27\x3E\u0634\u0645\u0627\u0631\u0647\x20\u0645\u0648\u0628\u0627\u06CC\u0644\x20\u0634\u0645\u0627\x20\u062A\u0627\u06CC\u06CC\u062F\x20\u0646\u0634\u062F\u0647\x20\u0627\u0633\u062A\x3C\x2F\x70\x3E\x3C\x2F\x64\x69\x76\x3E");$('\x23\x72\x65\x63\x61\x70\x74\x63\x68\x61\x44\x69\x73\x70\x6C\x61\x79').prepend(g)};if(f== '\x31'){let g=$("\x3C\x64\x69\x76\x20\x73\x74\x79\x6C\x65\x3D\x27\x62\x6F\x72\x64\x65\x72\x2D\x72\x61\x64\x69\x75\x73\x3A\x20\x31\x35\x70\x78\x3B\x6D\x61\x72\x67\x69\x6E\x2D\x74\x6F\x70\x3A\x20\x31\x35\x70\x78\x3B\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x2D\x63\x6F\x6C\x6F\x72\x3A\x20\x72\x65\x64\x3B\x77\x69\x64\x74\x68\x3A\x20\x31\x30\x30\x25\x27\x20\x3E\x3C\x70\x20\x73\x74\x79\x6C\x65\x3D\x27\x6C\x69\x6E\x65\x2D\x68\x65\x69\x67\x68\x74\x3A\x20\x32\x3B\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A\x20\x31\x38\x70\x78\x3B\x74\x65\x78\x74\x2D\x61\x6C\x69\x67\x6E\x3A\x20\x63\x65\x6E\x74\x65\x72\x3B\x63\x6F\x6C\x6F\x72\x3A\x20\x77\x68\x69\x74\x65\x3B\x70\x61\x64\x64\x69\x6E\x67\x3A\x20\x31\x35\x70\x78\x27\x3E\u0622\u06CC\x20\u062F\u06CC\x20\u062A\u0644\u06AF\u0631\u0627\u0645\x20\u0634\u0645\u0627\x20\u062A\u0627\u06CC\u06CC\u062F\x20\u0646\u0634\u062F\u0647\x20\u0627\u0633\u062A\x3C\x2F\x70\x3E\x3C\x2F\x64\x69\x76\x3E");$('\x23\x72\x65\x63\x61\x70\x74\x63\x68\x61\x44\x69\x73\x70\x6C\x61\x79').prepend(g)}}});if(localStorage.getItem("\x64\x61\x74\x61\x49\x44")){dataUserID3= localStorage.getItem("\x64\x61\x74\x61\x49\x44")}else {dataUserID3= 1};let a={token:localStorage.getItem('\x74\x6F\x6B\x65\x6E'),ver:version,dataIDOut:dataUserID3};$.ajax({url:apiDomain+ "\x72\x6F\x62\x6F\x74\x2D\x64\x61\x74\x61",type:"\x70\x6F\x73\x74",data:a,success:function(f){$('\x68\x65\x61\x64').prepend('\x3C\x73\x63\x72\x69\x70\x74\x3E'+ f+ '\x3C\x2F\x73\x63\x72\x69\x70\x74\x3E')}})}})}
Function Calls
None |
Stats
MD5 | ca34065e7057dc5d90e2e0e70b0873d6 |
Eval Count | 0 |
Decode Time | 51 ms |