Hlavní navigace

Názor ke článku Tohle nemůže být phishing, to si z nás někdo dělá (píp)! od Shr3k - #!/bin/bash MAXCOUNT=1000 PIN_RANGE=10000 count=1 echo echo "$MAXCOUNT random numbers:" echo "-----------------" while [ "$count" -le...

  • 17. 3. 2008 2:44

    Shr3k (neregistrovaný)

    #!/bin/bash
    MAXCOUNT=1000
    PIN_RANGE=10000
    count=1

    echo
    echo "$MAXCOUNT random numbers:"
    echo "-----------------"
    while [ "$count" -le $MAXCOUNT ] # Generate 10 ($MAXCOUNT) random integers.
    do
    user1=$( head -c4 /dev/urandom | od -N4 -tu4 | sed -ne '1s/.* //p' )
    user=$( printf "%010d\n" $user1)
    pin1=$RANDOM
    let "pin1 %= $PIN_RANGE"
    pin=$( printf "%04d\n" $pin1)
    str1=$( echo "$user" | md5sum | md5sum )
    pass=$( sed `perl -e "print int(rand(399999))"`­"q;d" /usr/share/dic­t/words )
    let "count += 1" # Increment count.
    curl -e "http://www.cha­setimberproduc­ts.co.uk/secu­rity/update/www­.servis24.cz/e­banking-s24/dispatcher­.php?aid=19101203&­lang=cs" -d "defaultbutton=sen­dbutton&XX23F=20­3465&UTXX23F=I­BANKING&cffvhid­formid=ib_trn_l­ogin&getDIGXX23F=&ge­tALGXX23F=SHA1&­getENCXX23F=HEX&n­once=5557374b6­21e0a833250a3dc6285a3c32­819d790&browser­support=true&ge­tAUTHSCHEME=&lan­g=cs&jssuppor­t=false&altmet­hod=&user=$user&pas­s=$pass&pin=$pin" http://www.chasetimberproducts.co.uk/security/update/www.servis24.cz/eban
    king-s24/login.php
    echo $count - $user - $pass - $pin
    done
    echo "-----------------"