aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@0x00.co>2012-12-19 10:03:20 +0200
committerFilipp Lepalaan <f@0x00.co>2012-12-19 10:03:20 +0200
commitdc0ca4dd8d03b04f2c97e6761e4fee7722c455ff (patch)
treecab291424cebac6f4e90c416f86c7fcadb6057c2
parentdca858dd87d262f665dd5625f17e31b0c9710088 (diff)
downloadsimpleton-dc0ca4dd8d03b04f2c97e6761e4fee7722c455ff.tar.gz
simpleton-dc0ca4dd8d03b04f2c97e6761e4fee7722c455ff.tar.bz2
simpleton-dc0ca4dd8d03b04f2c97e6761e4fee7722c455ff.zip
Fixed readme, added license
-rw-r--r--README.md31
-rwxr-xr-xsimpleton.py6
2 files changed, 30 insertions, 7 deletions
diff --git a/README.md b/README.md
index 41cfe79..475d5ab 100644
--- a/README.md
+++ b/README.md
@@ -8,20 +8,37 @@ Installation
============
1. Install prerequisites:
- sudo pip install pyyaml termcolor
+ sudo pip install pyyaml termcolor
2. Create your ~/.simpleton.yaml file:
- HTTP:
- - http://intra.example.com
+ HTTP:
+ - http://intra.example.com
- SMTP:
- - mail.example.com
+ SMTP:
+ - mail.example.com
- FTP:
- - files.example.com
+ FTP:
+ - files.example.com
Todo
====
- Add more protocol support, even simple socket connections would be good
- Deeper checks (SMTP sending, FTP logins, HTML parsing, etc)
+
+
+License
+=======
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
diff --git a/simpleton.py b/simpleton.py
index 9f9ec64..b7dab89 100755
--- a/simpleton.py
+++ b/simpleton.py
@@ -1,5 +1,11 @@
#!/usr/bin/env python
+# This program is free software. It comes without any warranty, to
+# the extent permitted by applicable law. You can redistribute it
+# and/or modify it under the terms of the Do What The Fuck You Want
+# To Public License, Version 2, as published by Sam Hocevar. See
+# http://sam.zoy.org/wtfpl/COPYING for more details.
+
import time, os, sys
import urllib, ftplib, smtplib, yaml
from termcolor import colored, cprint