Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php code obfuscator

<?php
$infile=$_SERVER['argv'][1];
$outfile=$_SERVER['argv'][2];
if (!$infile || !$outfile) {
    die("Usage: php {$_SERVER['argv'][0]} <input file> <output file>
");
}
echo "Processing $infile to $outfile
";
$data="ob_end_clean();?>";
$data.=php_strip_whitespace($infile);
// compress data
$data=gzcompress($data,9);
// encode in base64
$data=base64_encode($data);
// generate output text
$out='<?ob_start();$a=''.$data.'';eval(gzuncompress(base64_decode($a)));$v=ob_get_contents();ob_end_clean();?>';
// write output text
file_put_contents($outfile,$out);
Comment

PREVIOUS NEXT
Code Example
Php :: download php 7.4 
Php :: trim | from right in php 
Php :: php get result sql server 
Php :: how to create a modal in php 
Php :: php string filter email 
Php :: what does ? mean in php 
Php :: random String Function PHP 
Php :: ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first! Considering conflict mpm_worker for mpm_prefork: ERROR: Could not enable dependency mpm_prefork for php7.2, aborting 
Php :: php event listener 
Php :: laravel seeder multiple column 
Php :: remove exact characters from string using php 
Php :: laravel share 
Php :: logout php code 
Php :: wordpress header.php 
Php :: addphp calculate next letter 
Java :: minecraft bedrock file location 
Java :: java every second 
Java :: setting up javafx in eclipse vm argument 
Java :: circular imageview android 
Java :: spigot actionbar 
Java :: java jcombobox get selected item 
Java :: java close application 
Java :: get intent not working in fragment 
Java :: random.choice in java 
Java :: java wait 
Java :: Could not initialize class org.codehaus.groovy.vmplugin.VMPluginFactory 
Java :: how to set frame colo in java 
Java :: javafx open file dialog 
Java :: javax notblank not working 
Java :: get long from date java 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =