added lib/service/ and some dummy files. need to talk about that but i think we should implement the services in pure python
This commit is contained in:
parent
88b0c3dd7a
commit
658c37206f
6 changed files with 25 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
from config import *
|
from config import *
|
||||||
from core import *
|
from core import *
|
||||||
from parser import *
|
from parser import *
|
||||||
|
from service import *
|
||||||
0
lib/service/__init__.py
Normal file
0
lib/service/__init__.py
Normal file
8
lib/service/htmlcontent.py
Normal file
8
lib/service/htmlcontent.py
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
"""
|
||||||
|
The htmlcontent service in pure Python. STUPID NAME!!!
|
||||||
|
"""
|
||||||
|
|
||||||
|
# http://pycurl.sourceforge.net/ --- seems old...
|
||||||
|
# http://www.angryobjects.com/2011/10/15/http-with-python-pycurl-by-example/
|
||||||
|
#
|
||||||
|
# maybe better: http://docs.python.org/2/library/urllib.html
|
||||||
5
lib/service/ping.py
Normal file
5
lib/service/ping.py
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
"""
|
||||||
|
The ping service in pure Python.
|
||||||
|
"""
|
||||||
|
|
||||||
|
# http://code.activestate.com/recipes/409689-icmplib-library-for-creating-and-reading-icmp-pack/
|
||||||
5
lib/service/snmpget.py
Normal file
5
lib/service/snmpget.py
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
"""
|
||||||
|
The snmpget service in pure Python.
|
||||||
|
"""
|
||||||
|
|
||||||
|
# http://pysnmp.sourceforge.net/
|
||||||
5
lib/service/ssh.py
Normal file
5
lib/service/ssh.py
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
"""
|
||||||
|
The ssh service in pure Python.
|
||||||
|
"""
|
||||||
|
|
||||||
|
# http://www.lag.net/paramiko/
|
||||||
Loading…
Add table
Add a link
Reference in a new issue