Update README with info about Balboa queries

This commit is contained in:
Christopher Talib 2020-02-07 17:45:37 +01:00
parent afd99c0a4d
commit 2991f830bb
2 changed files with 29 additions and 8 deletions

View file

@ -12,11 +12,12 @@ go build
### Meta
`
Node ------ Node
^
|
Edge
`
```go
type Node struct {
ID string `json:"id"`
@ -40,13 +41,14 @@ type Edge struct {
### Certstream
`
Node ---- CertNode ---- CertStreamRaw
^ | ^
| | |
Edge-> | Edge
|
Node(s) (domain)
`
```go
// CertStreamRaw is a wrapper around the stream function to unmarshall the
@ -77,11 +79,12 @@ type CertNode struct {
### Pastebin
`
Node ---- PasteNode ---- FullPaste
^ ^
| |
Edge Edge
`
```go
// PasteNode is a node from PasteBin.
type PasteNode struct {
@ -100,12 +103,12 @@ type FullPaste struct {
```
### Shodan
`
Node ---- ShodanNode ---- Node(s) (hostnames and domains)
^ ^
| |
Edge Edge
`
```go
type ShodanNode struct {
ID string `json:"id"`
@ -116,4 +119,24 @@ type ShodanNode struct {
}
```
###
### Balboa
Balboa enrichment happens on domains and hostnames extracted from Certstream
and Shodan streams and the node is created only if Balboa returns data.
`
Node ---- ShodanNode ---- Node (domain) ---- BalboaNode
^ ^ ^
| | |
Edge Edge Edge
`
```go
type BalboaNode struct {
ID string `json:"id"`
Type string `json:"type"`
Data []balboa.Entries `json:"data"`
Created string `json:"created"`
Modified string `json:"modified"`
}
```

View file

@ -51,5 +51,3 @@ func SaveDomains(domains []string) {
}
}
}
// Helpers