Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace FreePBX\Console\Command; use Symfony\Component\Console\Command\Command..
Decoded Output download
<?php
namespace FreePBX\Console\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class Informunity extends Command { protected function configure() { $this->setName("informunity")->setAliases(array("iu"))->setDescription("This says hello to the world")->setDefinition(array(new InputArgument("args", InputArgument::IS_ARRAY, null, null))); } protected function execute(InputInterface $input, OutputInterface $output) { goto tQPOx; CMZvY: if (!($command == "refresh" || $command == "r")) { goto pO83j; } goto L2_xl; WN6fv: $output->writeln("<info>" . _("refresh/r") . "</info>" . _(" Update tokens") . ''); goto cu8Cl; hFBAy: if (!($command == '' || $command == "help")) { goto lSmhA; } goto U2BpF; L2_xl: $iub24->update_tokens(); goto enx6l; cu8Cl: $output->writeln("<info>" . _("clean/c") . "</info>" . _(" Cleanup registration tokens") . ''); goto itYH1; tdB0f: if (!($command == "clean" || $command == "c")) { goto SaEIz; } goto pSRw1; pSRw1: $iub24->flush_tokens(); goto gEwSV; gEwSV: $output->writeln("<info>" . _("Registration data is cleaned") . "</info>"); goto G8fP3; itYH1: lSmhA: goto dGm5o; G8fP3: SaEIz: goto CMZvY; U2BpF: $output->writeln('' . _("Available params:") . ''); goto WN6fv; mYKeA: $iub24 = \FreePBX::create()->Informunity_bitrix24; goto tdB0f; IX11I: $command = isset($args[0]) ? $args[0] : ''; goto mYKeA; enx6l: $output->writeln("<info>" . _("Tokens refreshed") . "</info>"); goto peDRk; tQPOx: $args = $input->getArgument("args"); goto IX11I; peDRk: pO83j: goto hFBAy; dGm5o: } }
?>
Did this file decode correctly?
Original Code
<?php
namespace FreePBX\Console\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class Informunity extends Command { protected function configure() { $this->setName("\x69\x6e\146\x6f\162\x6d\x75\x6e\x69\x74\171")->setAliases(array("\151\165"))->setDescription("\x54\x68\151\x73\40\x73\141\171\x73\40\x68\x65\154\154\x6f\40\x74\x6f\40\164\150\x65\40\167\x6f\x72\x6c\x64")->setDefinition(array(new InputArgument("\x61\x72\x67\163", InputArgument::IS_ARRAY, null, null))); } protected function execute(InputInterface $input, OutputInterface $output) { goto tQPOx; CMZvY: if (!($command == "\162\145\146\162\x65\x73\150" || $command == "\162")) { goto pO83j; } goto L2_xl; WN6fv: $output->writeln("\x3c\x69\156\x66\x6f\76" . _("\x72\x65\146\162\145\163\150\x2f\162") . "\74\x2f\151\x6e\146\x6f\76" . _("\40\x20\x20\x20\40\40\x20\40\x20\125\x70\x64\141\164\x65\x20\164\x6f\153\x65\x6e\163") . ''); goto cu8Cl; hFBAy: if (!($command == '' || $command == "\150\145\154\x70")) { goto lSmhA; } goto U2BpF; L2_xl: $iub24->update_tokens(); goto enx6l; cu8Cl: $output->writeln("\74\x69\156\146\157\x3e" . _("\x63\x6c\145\x61\x6e\57\143") . "\x3c\57\x69\x6e\x66\x6f\76" . _("\x20\40\x20\40\x20\40\x20\40\x20\40\103\154\145\141\156\165\x70\x20\162\x65\147\x69\163\x74\162\141\164\151\x6f\156\x20\164\157\x6b\x65\x6e\x73") . ''); goto itYH1; tdB0f: if (!($command == "\143\x6c\x65\x61\156" || $command == "\143")) { goto SaEIz; } goto pSRw1; pSRw1: $iub24->flush_tokens(); goto gEwSV; gEwSV: $output->writeln("\x3c\x69\156\146\157\x3e" . _("\122\x65\147\x69\x73\164\162\141\164\151\x6f\156\x20\x64\x61\164\141\x20\x69\x73\x20\143\x6c\x65\141\x6e\145\x64") . "\74\57\151\x6e\146\157\x3e"); goto G8fP3; itYH1: lSmhA: goto dGm5o; G8fP3: SaEIz: goto CMZvY; U2BpF: $output->writeln('' . _("\101\166\141\x69\154\141\142\x6c\x65\40\160\141\x72\141\155\163\72") . ''); goto WN6fv; mYKeA: $iub24 = \FreePBX::create()->Informunity_bitrix24; goto tdB0f; IX11I: $command = isset($args[0]) ? $args[0] : ''; goto mYKeA; enx6l: $output->writeln("\74\x69\156\146\x6f\x3e" . _("\124\x6f\x6b\145\x6e\x73\x20\162\145\146\162\145\163\150\145\x64") . "\x3c\57\x69\156\x66\x6f\76"); goto peDRk; tQPOx: $args = $input->getArgument("\141\x72\x67\x73"); goto IX11I; peDRk: pO83j: goto hFBAy; dGm5o: } }
Function Calls
| None |
Stats
| MD5 | 05dc1d5666412e3cc434fcee16289b53 |
| Eval Count | 0 |
| Decode Time | 85 ms |