README Faker2.py
A Python based, threaded tool which for connections on a specified port. Upon connection, it logs the connection attempt, sleeps for a given time, then closes the connection. This is an upgrade to the original Faker.py script.
Copyright:
Copyright (c) 2005, George Bobeck
Download:
Available for download at http://www.cs.luc.edu/projects/comp412/dredd/downloads/
Usage::
# python faker2.py <port>
OR :
# chmod 0700 faker2.py # ./faker2.py <port>
Advantages Over Faker.py:
Faker2.py is multithreaded, and therefore can handle more than one connection at a time.
Configurables:
delay - The ammount of time the program will delay the offender in seconds. By default, delay = 90
=====
conn_msg - conn_msg is a string which is sent to the offender upon connection. By default, the conn_msg is "Go Away, Lamer!", however this can be easily changed.
=====
log - log is used to select logging methods. You can log to syslog, console, file, bell, none, or any combination of those five. The default value of log is:
log = ('console', 'file', 'bell')
=====
filedir - Specifies which directory a log file will be created in. Log files are (if under 1024) named <service>-faked.log or (if over 1024) <port>-faked.log and are in plain ascii format. By default, filedir = "/root"