Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Target Formats

byt3bl33d3r edited this page Nov 10, 2015 · 9 revisions

Target Formats

Targets can be specified in the following formats:

  • Single IP:
python crackmapexec.py 192.168.1.0
  • Comma separated list of IPs:
python crackmapexec.py 192.168.1.0,192.168.0.2
  • CIDR identifier:
python crackmapexec.py 192.168.1.0/24
  • Comma separated list of CIDR identifiers:
python crackmapexec.py 192.168.1.0/24,10.0.0.1/24
  • IP range:
python crackmapexec.py 192.168.1.0-28
  • Comma seperated list of IP ranges:
python crackmapexec.py 192.168.1.0-28,10.0.0.1-67
  • Comma separated list of all of the above:
python crackmapexec.py 192.168.0.1,10.0.0.1-28,192.168.2.0/24
  • A file containing a list of targets:
~# cat ~/targets.txt
192.168.1.0
10.0.0.1-28
192.168.2.0/24
~# python crackmapexec.py ~/targets.txt