Commit Graph

26 Commits

Author SHA1 Message Date
Patrick Di Fazio
4a1d1cf7be added random SQL errors, random server errors, XSS baits 2026-01-03 17:16:37 +01:00
Patrick Di Fazio
5f8bb73546 added random SQL errors, random server errors, XSS baits 2026-01-03 17:14:58 +01:00
Patrick Di Fazio
bf73bc7e2c Update README with demo and dashboard information
Removed old sections and reorganized demo and dashboard links.
2025-12-30 00:59:36 +01:00
Patrick Di Fazio
5ba02d3d0c Update README.md 2025-12-30 00:59:31 +01:00
Patrick Di Fazio
5a808c330c Update README.md 2025-12-30 00:59:15 +01:00
Patrick Di Fazio
0b1e9537d2 Added demo 2025-12-30 00:59:15 +01:00
Patrick Di Fazio
852a15976f Added demo 2025-12-30 00:59:15 +01:00
Patrick Di Fazio
828f04261f Added POST log and dashboard for used credentials 2025-12-30 00:59:15 +01:00
Phillip Tarrant
d13ceb4888 Added test script to show the server header 2025-12-30 00:59:15 +01:00
Phillip Tarrant
1486dfc913 Add configurable HTTP Server header for deception
Add SERVER_HEADER environment variable to customize the HTTP Server
  response header, defaulting to Apache/2.2.22 (Ubuntu). This allows the
  honeypot to masquerade as different web servers to attract attackers.

  - Add server_header field to Config dataclass
  - Override version_string() in Handler to return configured header
  - Update documentation and all deployment configs
2025-12-30 00:59:15 +01:00
Phillip Tarrant
7916932ea7 Add rotating file logging system with app and access loggers
Implement a centralized logging singleton using Python's built-in
  logging module with RotatingFileHandler. Replaces all print()
  statements with structured logging.

  - Create LoggerManager singleton in src/logger.py
  - Add two loggers: app (krawl.log) and access (access.log)
  - Configure 1MB file rotation with 5 backups
  - Output to both files and stdout for container compatibility
  - Update handler.py, server.py, wordlists.py to use new loggers

  Benefits over print():
  - Persistent logs survive restarts for forensic analysis
  - Automatic rotation prevents unbounded disk growth
  - Separate access/app logs for easier analysis and SIEM integration
  - Consistent timestamps and log levels across all messages
  - Configurable verbosity without code changes
2025-12-26 08:23:38 -06:00
Patrick Di Fazio
749ffaff8e Update ToDo.md 2025-12-25 22:43:08 +01:00
Patrick Di Fazio
5a8a41d2af Merge pull request #2 from BlessedRebuS/ptarrant/main
Ptarrant/main
2025-12-25 21:31:49 +01:00
Patrick Di Fazio
26273fdf4e unified style and added error handling 2025-12-25 21:26:13 +01:00
Phillip Tarrant
47a49b03be updating templates to have dedicated wordpress login page, updated phpmyadmin page to be more correct 2025-12-25 13:35:42 -06:00
Phillip Tarrant
9128d2759f Merge branch 'feat/attack-classificiation' 2025-12-24 10:25:23 -06:00
Phillip Tarrant
72f7293995 added attack classification, added attack types to stats and dashboard, also added a tiny curl script to simulate attacks for testing purposes 2025-12-24 10:25:00 -06:00
Phillip Tarrant
fc72f9fb69 moved majority of html into dedicated files and created a loader for the templates to separate code from html 2025-12-24 09:36:00 -06:00
Patrick Di Fazio
5b4568771b Add Star History section to README
Added a Star History section with an image to README.
2025-12-24 11:51:52 +01:00
Patrick Di Fazio
fce9a149df added todo 2025-12-24 01:20:55 +01:00
BlessedRebuS
404f808460 Modified README.md 2025-12-15 21:07:18 +01:00
BlessedRebuS
f86597c509 Modified README.md 2025-12-15 21:03:47 +01:00
BlessedRebuS
e887491f20 Modified README.md and added logo 2025-12-15 21:00:08 +01:00
BlessedRebuS
5f4d22199d Updated README.md 2025-12-15 14:07:11 +01:00
BlessedRebuS
076b2de584 First commit 2025-12-14 19:08:01 +01:00
Patrick Di Fazio
5e46841858 Initial commit 2025-12-10 16:58:21 +01:00