From 6d7db3ec9fa3a1bf276dbca2f987c3720c9d5b56 Mon Sep 17 00:00:00 2001 From: Michael Skelton <886344+codingo@users.noreply.github.com> Date: Wed, 24 Oct 2018 09:54:46 +1000 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index aad2bbf..a7c5387 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,20 @@ The following varaibles will be replaced in commands at runtime: | $realport | Replaced with the real port variable from interlace | # Usage Examples -Run a virtual host scan against each host in a file, whilst also limiting scans at any one time to 50 maximum threads: +## Max Virtual Host Scanning Example +Run a virtual host scan against each host in a file (target-lst.txt), whilst also limiting scans at any one time to 50 maximum threads: +### Example 1 - direct command +```bash +interlace -tL ./target-list.txt -c "vhostscan -t $target -oN $output/$target-vhosts.txt" -o ~/Bounties/Targets/ -threads 50 +``` +### Example 2- command file +To run the same command as above, but using a command file, this would be done using: +```bash +interlace -cL ./vhosts-commands.txt -tL ./target-list.txt -threads 50 -o ~/Bounties/Targets/ +``` +This presumes that the contents of the command file is: +``` +vhostscan -t $target -oN $output/$target-vhosts.txt +``` -``` -interlace -c "vhostscan -t $target -oN $output/$target-vhosts.txt" -o ~/Bounties/Targets/ -threads 50 -``` +This would output a file for each target in the specified output folder.