Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- cadre
- 리눅스
- Linux
- windows
- goaccess
- 솔라리스
- http
- PORT
- rm -rf
- rm
- iptables
- Kernel
- apachetop
- rsync
- DNS
- PERL
- CPU
- ext4
- pid
- Cache
- Disk
- Bash
- 좌절교육
- Performance
- ext3
- 칭찬교육
- 디스크
- 쇼펜의상속자 #킨텍스메가쇼 #섬유향수탈취제
- Python
- Hack
Archives
- Today
- Total
목록CHECK (1)
Ben's
port check python script
#!/usr/bin/python # # 08/07/20 system team nhko # from httplib import HTTP import urllib import httplib def error(msg) : params = urllib.urlencode({'pass': 'xxxx', 'mesg': '10.10.10.2'':'+msg}) headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"} conn = httplib.HTTPConnection("sms.nhko.com:80") conn.request("POST", "/cgi-bin/sms.pl", params, headers) print conn..
리눅스/python
2013. 1. 21. 15:43