Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
davemolk committed Jan 3, 2023
1 parent 0aba452 commit 611ef3a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Usage of dorking:
-or string
OR term(s)
-os string
operating system (used to spoof user agent)
operating system (used in user agent and header creation)
-q string
search query
-site string
Expand Down
2 changes: 1 addition & 1 deletion cmd/dorking/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type config struct {
not string
notsite string
or string
os string
os string
query string
site string
timeout int
Expand Down
14 changes: 7 additions & 7 deletions cmd/dorking/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,18 @@ func (d *dorking) getQueryData() []queryData {
// doesn't publish query info, so this is
// assembled from poking around...
brave := queryData{
base: "https://search.brave.com/search?q=",
base: "https://search.brave.com/search?q=",
feed: "feed%3A",
filetype: "filetype%3A",
inbody: "inbody%3A",
intitle: "intitle%3A",
inurl: "inurl%3A",
name: "brave",
not: "-",
inurl: "inurl%3A",
name: "brave",
not: "-",
notsite: "-site%3A",
or: "OR",
site: "site%3A",
spacer: "+",
or: "OR",
site: "site%3A",
spacer: "+",
}

// quack quack quack mr ducksworth
Expand Down
2 changes: 1 addition & 1 deletion cmd/dorking/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@ func (d *dorking) chromeUA() string {
}
random := rand.Intn(len(userAgents))
return userAgents[random]
}
}

0 comments on commit 611ef3a

Please sign in to comment.