docs: readme
parent
01efe29882
commit
86ea36ac28
18
README.md
18
README.md
|
@ -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.*").
|
||||||
|
|
Loading…
Reference in New Issue