Permalink
Please sign in to comment.
Browse files
#68 - replaced Sublist3r to SubFinder
- signed-off-by: trimstray <trimstray@gmail.com>
- Loading branch information...
Showing
with
70 additions
and 79 deletions.
- +1 −1 README.md
- +2 −7 build/Dockerfile
- +13 −17 dependencies.sh
- +43 −0 lib/DomainScanSubFinder
- +0 −43 lib/DomainScanSublist3r
- +8 −8 src/__init__
- +1 −1 src/helpers
- +1 −1 src/import
- +1 −1 static/man8/htrace.sh.8
@@ -0,0 +1,43 @@ | |||
#!/usr/bin/env bash | |||
|
|||
# shellcheck shell=bash | |||
|
|||
# `````````````````````````````````````````````````````````````````````````````` | |||
# Function name: DomainScanSubFinder() | |||
# | |||
# Description: | |||
# Subdomains enumeration with subfinder. | |||
# | |||
# Usage: | |||
# DomainScanSubFinder domain | |||
# | |||
# Examples: | |||
# DomainScanSubFinder example.com | |||
# | |||
|
|||
function DomainScanSubFinder() { | |||
|
|||
# shellcheck disable=SC2034 | |||
local _FUNCTION_ID="DomainScanSubFinder" | |||
local _STATE=0 | |||
|
|||
local _host="$1" | |||
|
|||
# shellcheck disable=SC2034 | |||
_scan_type="passive" | |||
|
|||
# shellcheck disable=SC2034 | |||
_destination_host="$_host" | |||
|
|||
local _subfinder_desc="Subdomains enumeration:https://github.com/subfinder/subfinder" | |||
local _subfinder_cmd="eval subfinder -d \"$_host\" --silent -t 10 -no-color | grep -v \"canceled\|error\|warning\|fail\|timeout\"" | |||
|
|||
_msg_args+=(\ | |||
"$_subfinder_desc") | |||
|
|||
_cmd_args+=(\ | |||
"$_subfinder_cmd") | |||
|
|||
return $_STATE | |||
|
|||
} |
0 comments on commit
969d0b3