Added readme and license

This commit is contained in:
Sebastian Gehaxelt committed 2015-01-04 12:37:44 +01:00
1 parent cd5d416419
commit 326d1affff
2 files changed
+39

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
The MIT License
Copyright (c) 2015 internetwache.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
+30
View File
@@ -0,0 +1,30 @@
SSH-Honeypot
==============
This tool is a simple SSH server in Python which logs all username/password combinations into a logfile.
#Requirements
* ssh-keygen
* python (2.7 or 3.0)
* python-setuptools
* (iptables)
#Installation
* You need to install the ```paramiko``` module. (e.g. ```sudo easy_install paramiko```)
* Clone the repository. ```git clone https://github.com/internetwache/SSH-Honeypot.git``` and switch into the directory ```cd SSH-Honeypot```
* Generate the keypair: ```ssh-keygen -t rsa -f server.key```
#Configuration
* To change the ssh port, edit ```SSH_PORT = 2222```
* To change the logfile name, edit ```LOGFILE = 'logins.txt'```
You should use iptables to redirect the SSH traffic from port 22 to 2222 instead of running the script with root privileges.
```/sbin/iptables -A PREROUTING -t nat -p tcp --dport 22 -j REDIRECT --to-port 2222```
#License
This piece of software is lincensed under MIT. See LICENSE.md for more information