Beautify readme
This commit is contained in:
parent
2991f830bb
commit
40bfc4b01d
43
README.md
43
README.md
|
@ -12,12 +12,8 @@ go build
|
||||||
|
|
||||||
### Meta
|
### Meta
|
||||||
|
|
||||||
`
|
Node --<Edge>-- Node
|
||||||
Node ------ Node
|
|
||||||
^
|
|
||||||
|
|
|
||||||
Edge
|
|
||||||
`
|
|
||||||
```go
|
```go
|
||||||
type Node struct {
|
type Node struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
|
@ -41,14 +37,9 @@ type Edge struct {
|
||||||
|
|
||||||
### Certstream
|
### Certstream
|
||||||
|
|
||||||
`
|
Node --<Edge>-- CertNode --<Edge>-- CertStreamRaw
|
||||||
Node ---- CertNode ---- CertStreamRaw
|
Node(domain) --<Edge>-- CertNode
|
||||||
^ | ^
|
|
||||||
| | |
|
|
||||||
Edge-> | Edge
|
|
||||||
|
|
|
||||||
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
|
||||||
|
@ -79,12 +70,8 @@ type CertNode struct {
|
||||||
|
|
||||||
### Pastebin
|
### Pastebin
|
||||||
|
|
||||||
`
|
Node --<Edge>-- PasteNode --<Edge>-- FullPaste
|
||||||
Node ---- PasteNode ---- FullPaste
|
|
||||||
^ ^
|
|
||||||
| |
|
|
||||||
Edge Edge
|
|
||||||
`
|
|
||||||
```go
|
```go
|
||||||
// PasteNode is a node from PasteBin.
|
// PasteNode is a node from PasteBin.
|
||||||
type PasteNode struct {
|
type PasteNode struct {
|
||||||
|
@ -103,12 +90,9 @@ type FullPaste struct {
|
||||||
```
|
```
|
||||||
|
|
||||||
### Shodan
|
### Shodan
|
||||||
`
|
|
||||||
Node ---- ShodanNode ---- Node(s) (hostnames and domains)
|
Node --<Edge>-- ShodanNode --<Edge>-- Node(s) (hostnames and domains)
|
||||||
^ ^
|
|
||||||
| |
|
|
||||||
Edge Edge
|
|
||||||
`
|
|
||||||
```go
|
```go
|
||||||
type ShodanNode struct {
|
type ShodanNode struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
|
@ -124,12 +108,7 @@ type ShodanNode struct {
|
||||||
Balboa enrichment happens on domains and hostnames extracted from Certstream
|
Balboa enrichment happens on domains and hostnames extracted from Certstream
|
||||||
and Shodan streams and the node is created only if Balboa returns data.
|
and Shodan streams and the node is created only if Balboa returns data.
|
||||||
|
|
||||||
`
|
Node --<Edge>-- ShodanNode --<Edge>-- Node (domain) --<Edge>-- BalboaNode
|
||||||
Node ---- ShodanNode ---- Node (domain) ---- BalboaNode
|
|
||||||
^ ^ ^
|
|
||||||
| | |
|
|
||||||
Edge Edge Edge
|
|
||||||
`
|
|
||||||
|
|
||||||
```go
|
```go
|
||||||
type BalboaNode struct {
|
type BalboaNode struct {
|
||||||
|
|
Loading…
Reference in a new issue