Created
May 23, 2017 06:30
-
-
Save hrchu/d983604a85106a843d5f9eb8bb90c81a to your computer and use it in GitHub Desktop.
Emulate cksh.twbbs.org
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -e "\033[H\033[mbbs.cksh.tp.edu.tw ⊙ 濟城歲月 ⊙ 203.64.138.4 [CKSHBBS Ver.1225]" | |
echo -e "\033[65D歡迎光臨【\033[1;33;46m 濟城歲月 \033[m】。系統負載:0.00 0.01 0.00 [負載正常]" | |
echo -e "\033[60D" | |
echo -e "\033[8D\033[1;34m └──┘ ─ │ ├── ┌──────┐\033[m" | |
echo -e "\033[77D\033[1;34m └─┘└─┬─┬─┘ ┌──┼─┐ ─┴─┴─── │ │\033[m" | |
echo -e "\033[77D\033[1;36m └┐└┬┘┌┘ │ │ │ ┌───┼─┼┐ │ │\033[m" | |
echo -e "\033[79D\033[1m └─┘┌┴┐│┌┴┐ └┼┘├─┐└┐ │└┬┘│ ├──────┤\033[m" | |
echo -e "\033[85D\033[1m │ │││ │ │ │ │ │┐ │┌│┌└─┐ │ │\033[m" | |
echo -e "\033[86D\033[1;36m ├────┤ │ │ │┌┼┘ ││││ │┐ ├──────┤\033[m" | |
echo -e "\033[77D\033[1;34m ├────┤ └┴┘│ │┘│ ││││┌─┼┘ │ │\033[m" | |
echo -e "\033[79D\033[1;34m └─┘ ┘ ┘ ┘ ┘ └┘ ┘┌┴┘ └┘ ┘ ┘\033[m" | |
echo -e "\033[78D" | |
echo -e "\033[1m > \033[m >\033[1;30m> > \033[m>\033[1m>\033[m>\033[1;30m>\033[m \033[1m>\033[m> \033[1;33m台北市立成功高級中學 濟城歲月BBS \033[30m> \033[37m> >\033[m>>\033[1;30m>\033[m> > \033[1;30m>> \033[37m>\033[m" | |
echo -e "\033[163D\033[30m ▕\033[m" | |
echo -e "\033[19D\033[1;31m \033[41m ──│┌─│──│ ┌─┘││ ─│ ──│┌─│ ││ \033[m" | |
echo -e "\033[78D\033[1;31m \033[41m ┌─┘│ │──│ ┌─│─┌┘ │ ──│┌─│ ─┌┘ \033[m" | |
echo -e "\033[78D\033[1;31m \033[41m ──┘──┘──┘ ┘ ──┘ ┘ ┘ ──┘──┘──┘ ┘ ┘ \033[m" | |
echo -e "\033[78D\033[1;30m [by xboy]\033[m" | |
echo -e "\033[96D" | |
echo -e "\033[8D參觀用帳號:guest,申請新帳號:new。目前線上人數 [57/512] 人。" | |
echo -e "\033[62D請輸入代號:\033[30;47m \033[m" | |
echo -e "\033[13D" | |
echo -e "\033[3A" | |
sleep 15; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 23 -j REDIRECT --to-port 2323 | |
ncat -l 23 -m 15 --send-only -t -e "./ckshBBS.sh" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ncat --version
Ncat version 5.00 ( http://nmap.org/ncat )