Update README with info about Balboa queries
This commit is contained in:
parent
afd99c0a4d
commit
2991f830bb
35
README.md
35
README.md
|
@ -12,11 +12,12 @@ go build
|
||||||
|
|
||||||
### Meta
|
### Meta
|
||||||
|
|
||||||
|
`
|
||||||
Node ------ Node
|
Node ------ Node
|
||||||
^
|
^
|
||||||
|
|
|
|
||||||
Edge
|
Edge
|
||||||
|
`
|
||||||
```go
|
```go
|
||||||
type Node struct {
|
type Node struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
|
@ -40,13 +41,14 @@ type Edge struct {
|
||||||
|
|
||||||
### Certstream
|
### Certstream
|
||||||
|
|
||||||
|
`
|
||||||
Node ---- CertNode ---- CertStreamRaw
|
Node ---- CertNode ---- CertStreamRaw
|
||||||
^ | ^
|
^ | ^
|
||||||
| | |
|
| | |
|
||||||
Edge-> | Edge
|
Edge-> | Edge
|
||||||
|
|
|
|
||||||
Node(s) (domain)
|
Node(s) (domain)
|
||||||
|
`
|
||||||
```go
|
```go
|
||||||
|
|
||||||
// CertStreamRaw is a wrapper around the stream function to unmarshall the
|
// CertStreamRaw is a wrapper around the stream function to unmarshall the
|
||||||
|
@ -77,11 +79,12 @@ type CertNode struct {
|
||||||
|
|
||||||
### Pastebin
|
### Pastebin
|
||||||
|
|
||||||
|
`
|
||||||
Node ---- PasteNode ---- FullPaste
|
Node ---- PasteNode ---- FullPaste
|
||||||
^ ^
|
^ ^
|
||||||
| |
|
| |
|
||||||
Edge Edge
|
Edge Edge
|
||||||
|
`
|
||||||
```go
|
```go
|
||||||
// PasteNode is a node from PasteBin.
|
// PasteNode is a node from PasteBin.
|
||||||
type PasteNode struct {
|
type PasteNode struct {
|
||||||
|
@ -100,12 +103,12 @@ type FullPaste struct {
|
||||||
```
|
```
|
||||||
|
|
||||||
### Shodan
|
### Shodan
|
||||||
|
`
|
||||||
Node ---- ShodanNode ---- Node(s) (hostnames and domains)
|
Node ---- ShodanNode ---- Node(s) (hostnames and domains)
|
||||||
^ ^
|
^ ^
|
||||||
| |
|
| |
|
||||||
Edge Edge
|
Edge Edge
|
||||||
|
`
|
||||||
```go
|
```go
|
||||||
type ShodanNode struct {
|
type ShodanNode struct {
|
||||||
ID string `json:"id"`
|
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"`
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
|
@ -51,5 +51,3 @@ func SaveDomains(domains []string) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Helpers
|
|
||||||
|
|
Loading…
Reference in a new issue