| 
									
										
										
										
											2022-10-14 14:55:28 +00:00
										 |  |  | [deception] | 
					
						
							|  |  |  |   # Used as "Server" HTTP header. Note that reverse proxies may hide this. | 
					
						
							|  |  |  |   server_name = "nginx" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-02 22:12:47 +00:00
										 |  |  | [http] | 
					
						
							| 
									
										
										
										
											2022-10-14 14:55:28 +00:00
										 |  |  |   # TCP Listener (default) | 
					
						
							| 
									
										
										
										
											2021-07-02 22:12:47 +00:00
										 |  |  |   bind_addr = "0.0.0.0" | 
					
						
							|  |  |  |   bind_port = "8080" | 
					
						
							| 
									
										
										
										
											2022-10-14 14:55:28 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-05 18:50:35 +00:00
										 |  |  |   # header name containing clients real IP, for reverse proxy deployments | 
					
						
							|  |  |  |   real_ip_header = 'X-Real-IP' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-14 14:55:28 +00:00
										 |  |  |   # this contains a list of blacklisted useragent strings. (case sensitive) | 
					
						
							|  |  |  |   # clients with useragents containing any of these strings will receive "Not found" for any requests. | 
					
						
							|  |  |  |   uagent_string_blacklist = ["Cloudflare-Traffic-Manager", "curl"] | 
					
						
							| 
									
										
										
										
											2021-11-01 13:36:44 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |   # Unix Socket Listener (will override default) | 
					
						
							| 
									
										
										
										
											2022-10-14 14:55:28 +00:00
										 |  |  |   unix_socket_path = "/var/run/hellpot" | 
					
						
							|  |  |  |   unix_socket_permissions = "0666" | 
					
						
							| 
									
										
										
										
											2021-11-01 13:36:44 +00:00
										 |  |  |   use_unix_socket = false | 
					
						
							| 
									
										
										
										
											2022-10-14 14:55:28 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |   [http.router] | 
					
						
							|  |  |  |     # Toggling this to true will cause all GET requests to match. Forces makerobots = false. | 
					
						
							|  |  |  |     catchall = true | 
					
						
							|  |  |  |     # Toggling this to false will prevent creation of robots.txt handler. | 
					
						
							|  |  |  |     makerobots = true | 
					
						
							|  |  |  |     # Handlers will be created for these paths, as well as robots.txt entries. Only valid if catchall = false. | 
					
						
							| 
									
										
										
										
											2024-03-05 18:50:35 +00:00
										 |  |  |     paths = [ | 
					
						
							|  |  |  |       "wp-json/omapp/v1/support",  | 
					
						
							|  |  |  |       "wp-login.php",  | 
					
						
							|  |  |  |       "wp-login", | 
					
						
							|  |  |  |       "admin", | 
					
						
							|  |  |  |       "admin.php", | 
					
						
							|  |  |  |       "admin/login.php", | 
					
						
							|  |  |  |       "admin/login", | 
					
						
							|  |  |  |       "admin.asp", | 
					
						
							|  |  |  |       "admin.aspx", | 
					
						
							|  |  |  |       "wp-admin", | 
					
						
							|  |  |  |       "login", | 
					
						
							|  |  |  |       "xmlrpc.php", | 
					
						
							|  |  |  |       ".env", | 
					
						
							|  |  |  |       "config.php", | 
					
						
							|  |  |  |       "config.yaml", | 
					
						
							|  |  |  |       "config.json", | 
					
						
							|  |  |  |       "db.php", | 
					
						
							|  |  |  |       "db.yaml", | 
					
						
							|  |  |  |       "db.json", | 
					
						
							|  |  |  |       "admin.yaml", | 
					
						
							|  |  |  |       "admin.json", | 
					
						
							|  |  |  |       "user.yaml", | 
					
						
							|  |  |  |       "user.json", | 
					
						
							|  |  |  |       "site.yaml", | 
					
						
							|  |  |  |       "site.json", | 
					
						
							|  |  |  |       "mysql.php", | 
					
						
							|  |  |  |       "mysql.yaml", | 
					
						
							|  |  |  |       "mysql.json", | 
					
						
							|  |  |  |       "mongodb.php", | 
					
						
							|  |  |  |       "mongodb.yaml", | 
					
						
							|  |  |  |       "mongodb.json", | 
					
						
							|  |  |  |       "sql.php", | 
					
						
							|  |  |  |       "sql.yaml", | 
					
						
							|  |  |  |       "sql.json", | 
					
						
							|  |  |  |       "install.php", | 
					
						
							|  |  |  |       "setup.php", | 
					
						
							|  |  |  |       "main.php", | 
					
						
							|  |  |  |       "test.php", | 
					
						
							|  |  |  |       "README.md", | 
					
						
							|  |  |  |       "LICENSE", | 
					
						
							|  |  |  |       ".git", | 
					
						
							|  |  |  |       ".htaccess", | 
					
						
							|  |  |  |       ".htpasswd", | 
					
						
							|  |  |  |       "server-status", | 
					
						
							|  |  |  |       "phpinfo.php", | 
					
						
							|  |  |  |       "info.php", | 
					
						
							|  |  |  |       "env", | 
					
						
							|  |  |  |       "config/", | 
					
						
							|  |  |  |       "admin/config/", | 
					
						
							|  |  |  |       "admin.php/config/", | 
					
						
							|  |  |  |       "admin.asp/config/", | 
					
						
							|  |  |  |       "admin.aspx/config/", | 
					
						
							|  |  |  |       "phpmyadmin", | 
					
						
							|  |  |  |       "pma", | 
					
						
							|  |  |  |       "dbadmin", | 
					
						
							|  |  |  |       "mysql", | 
					
						
							|  |  |  |       "myadmin", | 
					
						
							|  |  |  |       "phpmyadmin2" | 
					
						
							|  |  |  |     ] | 
					
						
							|  |  |  |      | 
					
						
							| 
									
										
										
										
											2021-07-02 22:12:47 +00:00
										 |  |  | [logger] | 
					
						
							| 
									
										
										
										
											2022-10-14 14:55:28 +00:00
										 |  |  |   # verbose (-v) | 
					
						
							| 
									
										
										
										
											2021-07-02 22:12:47 +00:00
										 |  |  |   debug = true | 
					
						
							| 
									
										
										
										
											2022-10-14 14:55:28 +00:00
										 |  |  |   # extra verbose (-vv) | 
					
						
							|  |  |  |   trace = false | 
					
						
							| 
									
										
										
										
											2024-03-05 18:50:35 +00:00
										 |  |  |   # JSON log files will be stored in the below directory. | 
					
						
							| 
									
										
										
										
											2022-10-14 14:55:28 +00:00
										 |  |  |   directory = "/var/log/hellpot/" | 
					
						
							|  |  |  |   # disable all color in console output. when using Windows this will default to true. | 
					
						
							|  |  |  |   nocolor = true  | 
					
						
							|  |  |  |   # toggles the use of the current date as the names for new log files. | 
					
						
							| 
									
										
										
										
											2021-11-01 13:36:44 +00:00
										 |  |  |   use_date_filename = false | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [performance] | 
					
						
							|  |  |  |   # max_workers is only valid if restrict_concurrency is true | 
					
						
							|  |  |  |   max_workers = 256 | 
					
						
							| 
									
										
										
										
											2022-10-14 14:55:28 +00:00
										 |  |  |   restrict_concurrency = false |