Skip to content

Usage_Tarets

CausticKirbyZ edited this page Aug 2, 2022 · 1 revision

The --targets flag is required for almost all requests but does have some flexibility. For example O365 knows where to spray by default. However, when using something like an aws api gateway configured through fireprox, you can manually specify a target or target file, if more than one target.

Another use could be for testing 1 set of credentials across multiple targets, ex esxi validating a single username across multiple esxi hosts.

Example:

targets.txt:

esxi_host1.doamin.local
esxi_host2.doamin.local
esxi_host3.doamin.local
esxi_host4.doamin.local

--targets command:

--targets targets.txt