| IP | +Country | +Events | +Sessions | +Tool Family | +Threat Score | +Last Seen | +
|---|---|---|---|---|---|---|
| + + {a.ip} + + | ++ {a.geo.country_code} + {a.geo.city ? ` \u2014 ${a.geo.city}` : ''} + | +{a.total_events} | +{a.total_sessions} | +{a.tool_family || '\u2014'} | +{a.threat_score} | +{new Date(a.last_seen).toLocaleString()} | +
| Time | +Service | +Type | +Source IP | +Port | +Session | +
|---|---|---|---|---|---|
| {new Date(ev.timestamp).toLocaleString()} | +
+ |
+ {ev.event_type} | +{ev.source_ip} | +{ev.dest_port} | +{ev.session_id.slice(0, 8)} | +
| Type | +Value | +Confidence | +Sightings | +Source | +First Seen | +Last Seen | +
|---|---|---|---|---|---|---|
| {ioc.type} | +{ioc.value} | +{ioc.confidence}% | +{ioc.sight_count} | +{ioc.source} | ++ {new Date(ioc.first_seen).toLocaleDateString()} + | ++ {new Date(ioc.last_seen).toLocaleDateString()} + | +
| ID | +Service | +Source IP | +Username | +Commands | +Threat | +Started | +Duration | +
|---|---|---|---|---|---|---|---|
| + + {s.id.slice(0, 8)} + + | +
+ |
+ {s.source_ip} | +{s.username || '\u2014'} | +{s.command_count} | +{s.threat_score} | +{new Date(s.started_at).toLocaleString()} | ++ {duration !== null ? `${duration}s` : 'active'} + | +
This site is currently under maintenance. Please check back later.
+ +` + +func handleDefault( + w http.ResponseWriter, r *http.Request, +) { + if r.URL.Path != "/" { + http.NotFound(w, r) + return + } + w.Header().Set( + "Content-Type", "text/html; charset=UTF-8", + ) + fmt.Fprint(w, defaultHTML) +} diff --git a/PROJECTS/advanced/honeypot-network/internal/httpd/wordpress.go b/PROJECTS/advanced/honeypot-network/internal/httpd/wordpress.go new file mode 100644 index 00000000..5394413d --- /dev/null +++ b/PROJECTS/advanced/honeypot-network/internal/httpd/wordpress.go @@ -0,0 +1,95 @@ +/* +©AngelaMos | 2026 +wordpress.go + +Fake WordPress login and admin pages for the HTTP honeypot + +Serves a realistic WordPress 6.5 login page that captures credential +submissions, a wp-admin redirect, and an xmlrpc.php endpoint that +returns standard fault responses. These are the top three paths +targeted by automated WordPress exploitation tools. +*/ + +package httpd + +import ( + "fmt" + "net/http" +) + +const wpLoginHTML = ` + + + +Currently building: project #26
+Currently building: Credential Rotation Enforcer
--- @@ -68,9 +68,9 @@ Tools, courses, certifications, communities, and frameworks for cybersecurity pr | **[SSH Brute Force Detector](./SYNOPSES/beginner/SSH.Brute.Force.Detector.md)**