A web server running as a honeypot handling any requests.
NAME:
U2semi - A honeypot working as a HTTP server
USAGE:
U2semi [global options] command [command options] [arguments...]
COMMANDS:
server, s Start HTTP server
version, v Show version
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help (default: false)
You can add some items on response header like below.
web:
headers:
- key: Server
value: Apache/2.4.2 (Unix) PHP/4.2.2
web:
contents:
/greet:
body: 'Hello world'
/ping:
body: '{"message":"pong"}'
This setting is given priority over json above.
web:
content_directory: ./content/ # directory path which has files to return as response
directory_listing_template: ./template/directory_listing.html # html template for directory listing