Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
elceef committed Sep 8, 2023
1 parent 0e685e4 commit a10569f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,14 @@ the most convenient and efficient way is to pass the input as follows.
>>> data = dnstwist.run(domain='domain.name', registered=True, format='null')
```

To work in a completely passive operating mode and produce just domain
permutations, it is required to combine the list format with output redirection
to the null device.

```
>>> dnstwist.run(domain='domain.name', format='list', output=dnstwist.devnull)
```

The arguments for `dnstwist.run()` are translated internally, so the usage is
very similar to the command line. The returned data structure is an
easy-to-process list of dictionaries. Keep in mind that `dnstwist.run()` spawns
Expand Down

0 comments on commit a10569f

Please sign in to comment.