Skip to content

regeciovad/honeypot

Repository files navigation

FTP/SSH Honeypot
Created by Dominika Regeciova, xregec00
ISA course project, 2015/2016

Description:
   The simulation of the real FTP and SSH server, which is collecting information
   about users logging activity.

Usage: ./fakesrv -m mode -a address -p port -l logfile
                 [-r rsakey] [-c max_clients] [-t max_attempts]

Required arguments:
   -m mode       Mode name (ftp or ssh)
   -a address    IPv4 or IPv6 address
   -p port       Port number
   -l logfile    Logfile

Optional arguments:
   -r rsakey     Private RSA key, REQUIRED in ssh mode
   -c number     Maximal number of connected users (default 10)
   -t number     Maximal number of login tries (default 3) in ssh mode

Generation of rsa key:
   ssh-keygen -t rsa -f my.key

Examples of use:
   -ftp:         ./fakesrv -m ftp -a 127.0.0.1 -p 2345 -l logfile
   -ssh:         ./fakesrv -m ssh -a 127.0.0.1 -p 23456 -l logfile -r ~/my.key -t 2

Files:
   README
   manual.pdf
   Makefile
   fakesrv.cpp
   fakesrv.hpp
   logging.cpp
   logging.hpp
   ftp.cpp
   ftp.hpp
   ssh.cpp
   ssh.hpp

About

The school project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published