Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
exec('\x23\x20\x2d\x2a\x2d\x20\x63\x6f\x64\x69\x6e\x67\x3a\x20\x75\x74\x66\x2d\x38\x20\x2d..
Decoded Output download
<? exec('# -*- coding: utf-8 -*-
import xbmcplugin, urllib, sys
from resources.libs import helpers
from resources.libs import alien
params=helpers.getParams()
name=None
mode=None
checkForUpdate = None
freshStart = None
pointsCheck = None
ramicInstall = None
try:
name=urllib.unquote_plus(params["name"])
except:
pass
try:
mode = int(params["mode"])
except:
pass
try:
checkForUpdate=int(params["update_check"])
except:
pass
try:
freshStart=int(params["fresh_start"])
except:
pass
try:
ramicInstall=int(params["ramic_install"])
except:
pass
try:
pointsCheck=int(params["points_check"])
except:
pass
alien.addonsExt.searchNoncompatibleAddonsThread()
if checkForUpdate == 1:
alien.checkForUpdates()
elif freshStart == 1:
alien.freshStart()
elif ramicInstall == 1:
alien.addonsExt.installRamicAddons()
elif ramicInstall == 2:
alien.addonsExt.searchNoncompatibleAddonsThread()
elif pointsCheck == 1:
alien.checkDownloadPoints()
elif mode==None or name==None:
alien.getBuilds()
elif mode==1:
alien.downloadPackage(name)
xbmcplugin.endOfDirectory(int(sys.argv[1]))
') ?>
Did this file decode correctly?
Original Code
exec('\x23\x20\x2d\x2a\x2d\x20\x63\x6f\x64\x69\x6e\x67\x3a\x20\x75\x74\x66\x2d\x38\x20\x2d\x2a\x2d\x0a\x0a\x69\x6d\x70\x6f\x72\x74\x20\x78\x62\x6d\x63\x70\x6c\x75\x67\x69\x6e\x2c\x20\x75\x72\x6c\x6c\x69\x62\x2c\x20\x73\x79\x73\x0a\x66\x72\x6f\x6d\x20\x72\x65\x73\x6f\x75\x72\x63\x65\x73\x2e\x6c\x69\x62\x73\x20\x69\x6d\x70\x6f\x72\x74\x20\x68\x65\x6c\x70\x65\x72\x73\x0a\x66\x72\x6f\x6d\x20\x72\x65\x73\x6f\x75\x72\x63\x65\x73\x2e\x6c\x69\x62\x73\x20\x69\x6d\x70\x6f\x72\x74\x20\x61\x6c\x69\x65\x6e\x0a\x0a\x70\x61\x72\x61\x6d\x73\x3d\x68\x65\x6c\x70\x65\x72\x73\x2e\x67\x65\x74\x50\x61\x72\x61\x6d\x73\x28\x29\x0a\x6e\x61\x6d\x65\x3d\x4e\x6f\x6e\x65\x0a\x6d\x6f\x64\x65\x3d\x4e\x6f\x6e\x65\x0a\x63\x68\x65\x63\x6b\x46\x6f\x72\x55\x70\x64\x61\x74\x65\x20\x3d\x20\x4e\x6f\x6e\x65\x0a\x66\x72\x65\x73\x68\x53\x74\x61\x72\x74\x20\x3d\x20\x4e\x6f\x6e\x65\x0a\x70\x6f\x69\x6e\x74\x73\x43\x68\x65\x63\x6b\x20\x3d\x20\x4e\x6f\x6e\x65\x0a\x72\x61\x6d\x69\x63\x49\x6e\x73\x74\x61\x6c\x6c\x20\x3d\x20\x4e\x6f\x6e\x65\x0a\x0a\x74\x72\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x6e\x61\x6d\x65\x3d\x75\x72\x6c\x6c\x69\x62\x2e\x75\x6e\x71\x75\x6f\x74\x65\x5f\x70\x6c\x75\x73\x28\x70\x61\x72\x61\x6d\x73\x5b\x22\x6e\x61\x6d\x65\x22\x5d\x29\x0a\x65\x78\x63\x65\x70\x74\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x70\x61\x73\x73\x0a\x0a\x74\x72\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x6d\x6f\x64\x65\x20\x3d\x20\x69\x6e\x74\x28\x70\x61\x72\x61\x6d\x73\x5b\x22\x6d\x6f\x64\x65\x22\x5d\x29\x0a\x65\x78\x63\x65\x70\x74\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x70\x61\x73\x73\x0a\x0a\x74\x72\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x63\x68\x65\x63\x6b\x46\x6f\x72\x55\x70\x64\x61\x74\x65\x3d\x69\x6e\x74\x28\x70\x61\x72\x61\x6d\x73\x5b\x22\x75\x70\x64\x61\x74\x65\x5f\x63\x68\x65\x63\x6b\x22\x5d\x29\x0a\x65\x78\x63\x65\x70\x74\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x70\x61\x73\x73\x0a\x0a\x74\x72\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x66\x72\x65\x73\x68\x53\x74\x61\x72\x74\x3d\x69\x6e\x74\x28\x70\x61\x72\x61\x6d\x73\x5b\x22\x66\x72\x65\x73\x68\x5f\x73\x74\x61\x72\x74\x22\x5d\x29\x0a\x65\x78\x63\x65\x70\x74\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x70\x61\x73\x73\x0a\x0a\x74\x72\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x72\x61\x6d\x69\x63\x49\x6e\x73\x74\x61\x6c\x6c\x3d\x69\x6e\x74\x28\x70\x61\x72\x61\x6d\x73\x5b\x22\x72\x61\x6d\x69\x63\x5f\x69\x6e\x73\x74\x61\x6c\x6c\x22\x5d\x29\x0a\x65\x78\x63\x65\x70\x74\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x70\x61\x73\x73\x0a\x0a\x74\x72\x79\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x70\x6f\x69\x6e\x74\x73\x43\x68\x65\x63\x6b\x3d\x69\x6e\x74\x28\x70\x61\x72\x61\x6d\x73\x5b\x22\x70\x6f\x69\x6e\x74\x73\x5f\x63\x68\x65\x63\x6b\x22\x5d\x29\x0a\x65\x78\x63\x65\x70\x74\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x70\x61\x73\x73\x0a\x0a\x61\x6c\x69\x65\x6e\x2e\x61\x64\x64\x6f\x6e\x73\x45\x78\x74\x2e\x73\x65\x61\x72\x63\x68\x4e\x6f\x6e\x63\x6f\x6d\x70\x61\x74\x69\x62\x6c\x65\x41\x64\x64\x6f\x6e\x73\x54\x68\x72\x65\x61\x64\x28\x29\x0a\x0a\x69\x66\x20\x63\x68\x65\x63\x6b\x46\x6f\x72\x55\x70\x64\x61\x74\x65\x20\x3d\x3d\x20\x31\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x61\x6c\x69\x65\x6e\x2e\x63\x68\x65\x63\x6b\x46\x6f\x72\x55\x70\x64\x61\x74\x65\x73\x28\x29\x0a\x65\x6c\x69\x66\x20\x66\x72\x65\x73\x68\x53\x74\x61\x72\x74\x20\x3d\x3d\x20\x31\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x61\x6c\x69\x65\x6e\x2e\x66\x72\x65\x73\x68\x53\x74\x61\x72\x74\x28\x29\x0a\x65\x6c\x69\x66\x20\x72\x61\x6d\x69\x63\x49\x6e\x73\x74\x61\x6c\x6c\x20\x3d\x3d\x20\x31\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x61\x6c\x69\x65\x6e\x2e\x61\x64\x64\x6f\x6e\x73\x45\x78\x74\x2e\x69\x6e\x73\x74\x61\x6c\x6c\x52\x61\x6d\x69\x63\x41\x64\x64\x6f\x6e\x73\x28\x29\x0a\x65\x6c\x69\x66\x20\x72\x61\x6d\x69\x63\x49\x6e\x73\x74\x61\x6c\x6c\x20\x3d\x3d\x20\x32\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x61\x6c\x69\x65\x6e\x2e\x61\x64\x64\x6f\x6e\x73\x45\x78\x74\x2e\x73\x65\x61\x72\x63\x68\x4e\x6f\x6e\x63\x6f\x6d\x70\x61\x74\x69\x62\x6c\x65\x41\x64\x64\x6f\x6e\x73\x54\x68\x72\x65\x61\x64\x28\x29\x0a\x65\x6c\x69\x66\x20\x70\x6f\x69\x6e\x74\x73\x43\x68\x65\x63\x6b\x20\x3d\x3d\x20\x31\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x61\x6c\x69\x65\x6e\x2e\x63\x68\x65\x63\x6b\x44\x6f\x77\x6e\x6c\x6f\x61\x64\x50\x6f\x69\x6e\x74\x73\x28\x29\x0a\x65\x6c\x69\x66\x20\x6d\x6f\x64\x65\x3d\x3d\x4e\x6f\x6e\x65\x20\x6f\x72\x20\x6e\x61\x6d\x65\x3d\x3d\x4e\x6f\x6e\x65\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x61\x6c\x69\x65\x6e\x2e\x67\x65\x74\x42\x75\x69\x6c\x64\x73\x28\x29\x0a\x65\x6c\x69\x66\x20\x6d\x6f\x64\x65\x3d\x3d\x31\x3a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x61\x6c\x69\x65\x6e\x2e\x64\x6f\x77\x6e\x6c\x6f\x61\x64\x50\x61\x63\x6b\x61\x67\x65\x28\x6e\x61\x6d\x65\x29\x0a\x0a\x78\x62\x6d\x63\x70\x6c\x75\x67\x69\x6e\x2e\x65\x6e\x64\x4f\x66\x44\x69\x72\x65\x63\x74\x6f\x72\x79\x28\x69\x6e\x74\x28\x73\x79\x73\x2e\x61\x72\x67\x76\x5b\x31\x5d\x29\x29\x0a')
Function Calls
| exec | 1 |
Stats
| MD5 | c38343879c47ccb3d1818b4d2e4125df |
| Eval Count | 0 |
| Decode Time | 82 ms |