diff --git a/lib/__init__.py b/lib/__init__.py index e82f103..c79d660 100644 --- a/lib/__init__.py +++ b/lib/__init__.py @@ -1,3 +1,4 @@ from config import * from core import * -from parser import * \ No newline at end of file +from parser import * +from service import * \ No newline at end of file diff --git a/lib/service/__init__.py b/lib/service/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/lib/service/htmlcontent.py b/lib/service/htmlcontent.py new file mode 100644 index 0000000..2b3ce39 --- /dev/null +++ b/lib/service/htmlcontent.py @@ -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 \ No newline at end of file diff --git a/lib/service/ping.py b/lib/service/ping.py new file mode 100644 index 0000000..7cc0b51 --- /dev/null +++ b/lib/service/ping.py @@ -0,0 +1,5 @@ +""" +The ping service in pure Python. +""" + +# http://code.activestate.com/recipes/409689-icmplib-library-for-creating-and-reading-icmp-pack/ \ No newline at end of file diff --git a/lib/service/snmpget.py b/lib/service/snmpget.py new file mode 100644 index 0000000..c36c477 --- /dev/null +++ b/lib/service/snmpget.py @@ -0,0 +1,5 @@ +""" +The snmpget service in pure Python. +""" + +# http://pysnmp.sourceforge.net/ \ No newline at end of file diff --git a/lib/service/ssh.py b/lib/service/ssh.py new file mode 100644 index 0000000..123c460 --- /dev/null +++ b/lib/service/ssh.py @@ -0,0 +1,5 @@ +""" +The ssh service in pure Python. +""" + +# http://www.lag.net/paramiko/ \ No newline at end of file