摘要: 登录pop3检查邮件数量#!/bin/bashmailserver=pop3.test.comuser='username'password='pass'exec 9<>/dev/tcp/$mailserver/110read -r temp <&9 echo "$temp"echo "user $user" >&9read -r temp <&9 echo "$temp"echo "pass $password" >&am 阅读全文
posted @ 2013-06-01 16:10 sunsweet 阅读(457) 评论(0) 推荐(0) 编辑
摘要: During the process of learning websockets, wanted to try out the handshake mechanism using a simple server cooked using netcat/bash script. The script just reads the request message, parses the key, forms the SHA1/base64 response key and sends the response.Tested it with chromium. Attached are the c 阅读全文
posted @ 2013-06-01 11:26 sunsweet 阅读(542) 评论(0) 推荐(0) 编辑