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 $FLAG=$_ENV["DYN_FLAG"]; #Kermit_The_Square; $ipAddress=2130741248; $port_1=4124..

Decoded Output download

<?php  
$FLAG=$_ENV["DYN_FLAG"]; #Kermit_The_Square; 
$ipAddress=2130741248; 
$port_1=41248; 
$port_0=intval($_GET['p']??$port_1); 
 
if($port_0==$port_1){ 
    die(highlight_file(__FILE__, true)); 
}; 
 
$socket_0=socket_create(2,2,0); 
$socket_1=socket_create(2,2,0); 
 
socket_bind($socket_0, $ipAddress, $port_1) or die('port already used'); 
socket_sendto   ($socket_1, $FLAG,strlen($FLAG),0,$ipAddress, $port_0); 
socket_recvfrom ($socket_0, $BUFF,strlen($FLAG), 0, $ipAddress, $port_1); 
die($BUFF); 
 ?>

Did this file decode correctly?

Original Code

<?php 
$FLAG=$_ENV["DYN_FLAG"]; #Kermit_The_Square;
$ipAddress=2130741248;
$port_1=41248;
$port_0=intval($_GET['p']??$port_1);

if($port_0==$port_1){
    die(highlight_file(__FILE__, true));
};

$socket_0=socket_create(2,2,0);
$socket_1=socket_create(2,2,0);

socket_bind($socket_0, $ipAddress, $port_1) or die('port already used');
socket_sendto   ($socket_1, $FLAG,strlen($FLAG),0,$ipAddress, $port_0);
socket_recvfrom ($socket_0, $BUFF,strlen($FLAG), 0, $ipAddress, $port_1);
die($BUFF);

Function Calls

None

Variables

None

Stats

MD5 4bb6c79215d982f83e3998136996643b
Eval Count 0
Decode Time 58 ms