Tous les codes sources "Mindfuck"page 6
JavaScript
7 November, 2013 à 10:38
#84
var a = 123;
var c = 456;
Appel(a, c);
function Appel(a, b) {
if(typeof(c) == 'undefined')
{
c = b;
}
Suite(a, b);
}
PHP
9 July, 2013 à 10:28
#25
if ($ODIR = opendir($rep))
{
while (($file = readdir($ODIR)) !== false)
{
$ar=preg_split("/\./",$file,-1,PREG_SPLIT_NO_EMPTY);
if(count($ar)==2 && $ar["1"]=="jpg")
{
$gauche=$ar[0];
$res=preg_split("/-/",$gauche,-1,PREG_SPLIT_NO_EMPTY);
$cpt=count($res);
if($cpt==1 || $cpt==2)
{
$int=$res[0];
if(is_numeric($int))
{
$requete="select * from TABLE where (ETAT=".OK." or ETAT=".AUTRE.") AND CLEF".chaineSqlWhere($int);
$result=database_exec($requete);
if($result===false)
{
//echo $int." Ã supprimer : $requete\n";
//ob_flush();
}
}
}
}
}
}