Linux下挂FireBird BBS脚本

  以小百合为例,很简单的一个脚本:)

#!/bin/sh
echo -n “username:”
read lilyuser
echo -n “password:”
read lilypass
(echo “${lilyuser}”; sleep 1; echo “${lilypass}”; sleep 1; echo; sleep 1; echo; sleep 1; echo; sleep 1; echo; sleep 1; echo; sleep 1; echo; sleep 1; echo; sleep 1; echo; sleep 1; echo; sleep 1; echo; sleep 1; echo -n “q”; sleep 1; echo -n “q”; sleep 1; echo -n “q”; sleep 1; echo “i”; sleep 1; echo “a”; while true; do echo -n “a”; sleep 180; done) | telnet lilybbs.net &

One thought on “Linux下挂FireBird BBS脚本 Add Yours?

  • anyway, i modified your script to allow multiple logins, and here it goes:

    #————————————-
    #!/bin/bash
    lilyuser=’mirth’
    lilypass=mypass

    bbslogin1()
    {
    while true;
    do
    i=1
    (
    echo “${lilyuser}”;
    echo “${lilypass}”;
    sleep 1;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo -n “q\nq\nq\nq\nq\n”;
    sleep 1; echo “e”;
    sleep 1; echo “I”;
    sleep 1; echo “L”;
    while [ “$i” -le 10 ]
    do
    echo “”;
    sleep 180;
    ((i=i+1))
    done
    echo “${lilypass}”;
    sleep 1; echo -n “e”;
    sleep 1; echo;
    sleep 1; echo -n “g”;
    sleep 1; echo;
    sleep 1; echo;
    ) | telnet bbs.nju.edu.cn
    done &
    }

    bbslogin2()
    {
    while true;
    do
    j=1
    (
    echo “${lilyuser}”;
    echo “${lilypass}”;
    sleep 1;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo -n “q\nq\nq\nq\nq\n”;
    sleep 1; echo “e”;
    sleep 1; echo “I”;
    sleep 1; echo “L”;
    while [ “$j” -le 10 ]
    do
    echo “”;
    sleep 180;
    ((j=j+1))
    done
    echo “${lilypass}”;
    sleep 1; echo -n “e”;
    sleep 1; echo;
    sleep 1; echo -n “g”;
    sleep 1; echo;
    sleep 1; echo;
    ) | telnet bbs.nju.edu.cn
    done &
    }

    bbslogin3()
    {
    while true;
    do
    k=1
    (
    echo “${lilyuser}”;
    echo “${lilypass}”;
    sleep 1;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo “”;
    sleep 1; echo -n “q\nq\nq\nq\nq\n”;
    sleep 1; echo “e”;
    sleep 1; echo “I”;
    sleep 1; echo “L”;
    while [ “$k” -le 10 ]
    do
    echo “”;
    sleep 180;
    ((k=k+1))
    done
    echo “${lilypass}”;
    sleep 1; echo -n “e”;
    sleep 1; echo;
    sleep 1; echo -n “g”;
    sleep 1; echo;
    sleep 1; echo;
    ) | telnet bbs.nju.edu.cn
    done &
    }

    bbslogin1
    sleep 8;
    bbslogin2
    sleep 16;
    bbslogin3
    #————————————-

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据