Example #1
0
function call_my_egg($glob, $i)
{
    aff_client("Fork resussit !");
    $glob['time_to_fork'][$i]['done'] = 1;
    $to_send = "./client.php -n " . $glob['equipe'] . " -p " . $glob['port'] . " -h " . $glob['host'];
    exec($to_send . " > /dev/null &");
    echo yellow('
           :::::::::: ::::::::  :::::::::  :::    ::: :::::::::: :::::::::
          :+:       :+:    :+: :+:    :+: :+:   :+:  :+:        :+:    :+:
         +:+       +:+    +:+ +:+    +:+ +:+  +:+   +:+        +:+    +:+
        :#::+::#  +#+    +:+ +#++:++#:  +#++:++    +#++:++#   +#+    +:+
       +#+       +#+    +#+ +#+    +#+ +#+  +#+   +#+        +#+    +#+
      #+#       #+#    #+# #+#    #+# #+#   #+#  #+#        #+#    #+#
     ###        ########  ###    ### ###    ### ########## #########
');
    return $glob;
}
Example #2
0
function aff_debug($str)
{
    //  printf("%s", yellow($str."\n"));
    echo yellow($str . "\n");
    return TRUE;
}
Example #3
0
function test($str)
{
    echo yellow("-->" . $str . "<--\n");
}
Example #4
0
function lvl_en_cour()
{
    echo yellow("\tElevation en cours...\n                __\n             __/_ \\__\n            / ___\\ \\ \\\n            \\/ /  \\/ /\n            / /\\__/_/\\\n            \\_\\ \\____/\n               \\__/\n\n");
}