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 | 31 |
Tags
- Linux
- iptables
- rm
- Disk
- DNS
- cadre
- ext3
- 좌절교육
- 솔라리스
- rsync
- Python
- 쇼펜의상속자 #킨텍스메가쇼 #섬유향수탈취제
- CPU
- ext4
- Cache
- goaccess
- PERL
- PORT
- http
- Bash
- pid
- Kernel
- Hack
- apachetop
- Performance
- windows
- 리눅스
- 칭찬교육
- rm -rf
- 디스크
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