Skip to content

Commit

Permalink
chore: show log
Browse files Browse the repository at this point in the history
  • Loading branch information
akakou committed Sep 13, 2024
1 parent 8a9b54e commit 5f50e2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion verifier/monitor/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (a *CrtshMonitor) Run(verifier *core.Verifier) {
option := params.(*crtsh.CrtshCTParams)
domain := option.Client.Domain

fmt.Printf("crtid: %v, domain: %v\n", option.ID, domain)
fmt.Printf("[received] crtid: %v, domain: %v\n", option.ID, domain)

if option.ID > a.first {
a.first = option.ID
Expand All @@ -116,6 +116,8 @@ func (a *CrtshMonitor) Run(verifier *core.Verifier) {
Order(ent.Desc(taserver.FieldID)).
First(*verifier.DB.Ctx)

fmt.Printf("[last] dbid: %v, domain: %v\n", serv.ID, domain)

if err != nil {
fmt.Printf("Error: %v\n", err)
return
Expand Down

0 comments on commit 5f50e2b

Please sign in to comment.