ayebmehdi2 / HTTP-Honeypot

This tool is a HTTP server in Python which logs HackerIP and all the tracing he does combinations into a Logfile then a database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTP-Honeypot

This tool is a HTTP server in Python which logs HackerIP and all the tracing he does into a Logfile then a database.

#Requirements

  • Python (2.7 or 3.0)
  • Apache2
  • Mysql-server

#Installation

  • Clone the repository. git clone https://github.com/anouarbensaad/HTTP-Honeypot.git and switch into the directory cd HTTP-Honeypot

#Configuration DATABASE

  • Run mysql with root user sudo mysql -u root
  • Create the database isetsohoney CREATE DATABASE isetsohoney;
  • add the privileges to rootGRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'isetso';
  • create table log with this fieldsCREATE TABLE log (id int NOT NULL PRIMARY KEY, date datetime, iphacker varchar(255), uri varchar(255));

#Running

  • run server with command : python HTTP_Honeypot_Server.py
  • Starting Server ON 999, Username : root , Password : toor

#Test

  • Scan The Server Banner with Nmap nmap -sV --script=banner 192.168.1.1 -p999
  • Open http://192.168.1.1:999 `

About

This tool is a HTTP server in Python which logs HackerIP and all the tracing he does combinations into a Logfile then a database.


Languages

Language:Python 74.9%Language:HTML 13.5%Language:JavaScript 11.6%