From 83bed26d7408b11454662d245de29f9cbf39be04 Mon Sep 17 00:00:00 2001 From: Ice3man Date: Fri, 10 Jan 2020 15:54:52 +0530 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 3e66a36..e211417 100644 --- a/README.md +++ b/README.md @@ -214,6 +214,20 @@ hackerone.com.txt google.com.txt ``` +If you want to save results to a single file while using a domain list, specify the -o flag with the name of the output file. + + +```bash +> cat domains.txt +hackerone.com +google.com + +> subfinder -dL domains.txt -o ~/path/to/output.txt +> ls ~/path/to/ + +output.txt +``` + You can also get output in json format using -oJ switch. This switch saves the output in the JSON lines format. If you use the JSON format, or the Host:IP format, then it becomes mandatory for you to use the **-nW** format as resolving is essential for these output format. By default, resolving the found subdomains is disabled.