docs: readme

pull/8/head
Raphaël 2020-06-15 09:52:28 +02:00 committed by GitHub
parent 01efe29882
commit 86ea36ac28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 16 deletions

View File

@ -23,6 +23,8 @@
Dorkgen is a dork request generator for popular search engines such as Google, DuckDuckGo and Bing. [Learn more about Google Hacking](https://en.wikipedia.org/wiki/Google_hacking). Dorkgen is a dork request generator for popular search engines such as Google, DuckDuckGo and Bing. [Learn more about Google Hacking](https://en.wikipedia.org/wiki/Google_hacking).
**For now, only Google is supported.**
## Install ## Install
```bash ```bash
@ -53,10 +55,6 @@ func main() {
#### Operators #### Operators
```go ```go
package main
import "github.com/sundowndev/dorkgen"
func main() { func main() {
dork.Site("facebook.com").Or().Site("twitter.com").ToString() dork.Site("facebook.com").Or().Site("twitter.com").ToString()
// returns: site:facebook.com OR site:twitter.com // returns: site:facebook.com OR site:twitter.com
@ -69,10 +67,6 @@ func main() {
#### Exclude results #### Exclude results
```go ```go
package main
import "github.com/sundowndev/dorkgen"
func main() { func main() {
dork. dork.
Exclude((&dorkgen.GoogleSearch{}). Exclude((&dorkgen.GoogleSearch{}).
@ -88,10 +82,6 @@ func main() {
#### Group tags along with operators #### Group tags along with operators
```go ```go
package main
import "github.com/sundowndev/dorkgen"
func main() { func main() {
dork. dork.
Group((&dorkgen.GoogleSearch{}). Group((&dorkgen.GoogleSearch{}).
@ -108,10 +98,6 @@ func main() {
#### URL conversion #### URL conversion
```go ```go
package main
import "github.com/sundowndev/dorkgen"
func main() { func main() {
dork. dork.
Site("facebook.*"). Site("facebook.*").