예제 #1
0
if($argv[1]=="--mysql"){echo "\n".mysql_server()."\n".mysql_mgmt()."\n". mysql_replica();exit;}
if($argv[1]=="--openldap"){echo "\n".openldap();;exit;}
if($argv[1]=="--saslauthd"){echo "\n".saslauthd();;exit;}
if($argv[1]=="--sysloger"){echo "\n".syslogger();;exit;}
if($argv[1]=="--squid-tail"){echo "\n".squid_tail();;exit;}
if($argv[1]=="--amavis"){echo "\n".amavis();exit;}
if($argv[1]=="--amavis-milter"){echo"\n". amavis_milter();exit;}
if($argv[1]=="--boa"){echo"\n". boa();exit;}
if($argv[1]=="--lighttpd"){echo"\n". lighttpd();exit;}
if($argv[1]=="--fcron"){echo"\n". fcron1()."\n".fcron2(); exit;}
if($argv[1]=="--clamav"){echo"\n". clamd()."\n".clamscan()."\n".clammilter()."\n".freshclam(); exit;}
if($argv[1]=="--retranslator"){echo"\n". retranslator_httpd(); exit;}
if($argv[1]=="--spamassassin"){echo spamassassin_milter()."\n".spamassassin();exit;}
if($argv[1]=="--postfix"){echo "\n".postfix();exit;}
if($argv[1]=="--postfix-logger"){echo "\n".postfix_logger();exit;}
if($argv[1]=="--mailman"){echo "\n".mailman();exit;}
if($argv[1]=="--kas3"){echo "\n".kas3_milter()."\n".kas3_ap(); exit;}
if($argv[1]=="--samba"){echo "\n".smbd()."\n".nmbd()."\n".winbindd()."\n".scanned_only()."\n"; exit;}
if($argv[1]=="--roundcube"){echo "\n".roundcube();exit;}
if($argv[1]=="--cups"){echo "\n".cups();exit;}
if($argv[1]=="--apache-groupware"){echo "\n".apache_groupware();exit;}
if($argv[1]=="--gdm"){echo "\n".gdm();exit;}
if($argv[1]=="--console-kit"){echo "\n".consolekit();exit;}
if($argv[1]=="--xfce"){echo "\n".xfce();exit;}
if($argv[1]=="--vmtools"){echo "\n".vmtools();exit;}
if($argv[1]=="--hamachi"){echo "\n".hamachi();exit;}
if($argv[1]=="--artica-notifier"){echo "\n".artica_notifier();exit;}
if($argv[1]=="--dhcpd"){echo "\n".dhcpd_server();exit;}
if($argv[1]=="--pure-ftpd"){echo "\n".pure_ftpd();exit;}
if($argv[1]=="--mldonkey"){echo "\n".mldonkey();exit;}
if($argv[1]=="--policydw"){echo "\n".policyd_weight();exit;}
예제 #2
0
 if ($argv[1] == "--lighttpd-all") {
     echo lighttpd() . "\n";
     echo framework();
     die;
 }
 if ($argv[1] == "--arkeia") {
     echo arkwsd() . "\n";
     echo arkeiad();
     die;
 }
 if ($argv[1] == "--haproxy") {
     echo haproxy();
     die;
 }
 if ($argv[1] == "--mailman") {
     echo mailman();
     die;
 }
 if ($argv[1] == "--mimedefang") {
     echo mimedefang() . "\n" . mimedefangmx();
     die;
 }
 if ($argv[1] == "--mailarchiver") {
     echo mailarchiver();
     die;
 }
 if ($argv[1] == "--articadb") {
     echo articadb();
     die;
 }
 if ($argv[1] == "--maillog") {
예제 #3
0
    exit;
}
if ($argv[1] == "--spamassassin") {
    echo spamassassin_milter() . "\n" . spamassassin();
    exit;
}
if ($argv[1] == "--postfix") {
    echo "\n" . postfix();
    exit;
}
if ($argv[1] == "--postfix-logger") {
    echo "\n" . postfix_logger();
    exit;
}
if ($argv[1] == "--mailman") {
    echo "\n" . mailman();
    exit;
}
if ($argv[1] == "--kas3") {
    echo "\n" . kas3_milter() . "\n" . kas3_ap();
    exit;
}
if ($argv[1] == "--samba") {
    echo "\n" . smbd() . "\n" . nmbd() . "\n" . winbindd() . "\n" . scanned_only() . "\n";
    exit;
}
if ($argv[1] == "--roundcube") {
    echo "\n" . roundcube();
    exit;
}
if ($argv[1] == "--cups") {
예제 #4
0
<?php

include '../config.php';
include 'functions.php';
$sh_users = $shdb->query('SELECT * FROM users where iss2o<>1 LIMIT 0, 100');
$sh_users = $shdb->get();
foreach ($sh_users as $user) {
    $randpass = rand_string(5);
    $email = $user['email'];
    $username = $user['username'];
    $password = hash('sha256', $salt . $randpass);
    $joinStamp = $user['reg_date'];
    $activityStamp = $user['lastlogin_date'];
    $accountType = '290365aadde35a97f11207ca7e4279cc';
    $joinIp = $user['reg_ip'];
    $fullname = $user['fullname'];
    $ow_users_tpl = $ow_prefix . 'base_user';
    $ow_question_tpl = $ow_prefix . 'base_question_data';
    $owdb->query("INSERT INTO {$ow_users_tpl} (email,username,password,joinStamp,activityStamp,accountType,emailVerify,joinIp) VALUES ('{$email}','{$username}','{$password}','{$joinStamp}','{$activityStamp}','{$accountType}','1','{$joinIp}')");
    $ow_uid = $owdb->id();
    $owdb->query("INSERT INTO {$ow_question_tpl} (questionName,userId,textValue) VALUES ('realname','{$ow_uid}','{$fullname}')");
    mailman($email, $randpass);
    $shdb->query("UPDATE users SET iss2o='1' WHERE email='{$email}'");
}
header('Location: ../convert.php?state=1');