Using httprobe with custom ports — how to format input correctly? #4
-
|
I want to probe specific ports beyond the default 80/443. The README mentions you can append ports but I'm getting inconsistent results. For example, if I have: And I want to check ports 8080 and 8443 in addition to the defaults, what's the correct way to do this? Do I need to format my input list differently, or is there a flag for additional ports? Also curious if there's a way to only check custom ports and skip 80/443 entirely. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
You can use the cat subs.txt | httprobe -p http:8080 -p https:8443This will check the default ports (80/443) plus your custom ones. The format is If you want to only check custom ports and skip the defaults, use the cat subs.txt | httprobe -s -p http:8080 -p https:8443You can also combine multiple cat subs.txt | httprobe -p http:8080 -p http:8000 -p https:8443 -p https:4443One thing to note: the input list should just be clean hostnames (one per line), no protocol prefixes. httprobe handles the protocol/port combinations itself. The |
Beta Was this translation helpful? Give feedback.
You can use the
-pflag to add custom ports! Here's how it works:cat subs.txt | httprobe -p http:8080 -p https:8443This will check the default ports (80/443) plus your custom ones. The format is
protocol:port.If you want to only check custom ports and skip the defaults, use the
-s(skip default) flag:cat subs.txt | httprobe -s -p http:8080 -p https:8443You can also combine multiple
-pflags:cat subs.txt | httprobe -p http:8080 -p http:8000 -p https:8443 -p https:4443One thing to note: the input list should just be clean hostnames (one per line), no protocol prefixes. httprobe handles the protocol/port combinations itself.
The
-sflag is super useful when you're specifically hunting…