1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:42:07 +02:00
tldr/pages/common/getarch.py.md
Machiavelli 7aad85f952
getArch.py, impacket-getArch: add page (#15930)
* Create getarch.py.md

* Create impacket-getarch.md
2025-03-15 14:07:15 +02:00

574 B

getArch.py

Determine the OS architecture (x86 or x64) of a remote Windows system. Part of the Impacket suite. More information: https://github.com/fortra/impacket.

  • Check the architecture of a single target system:

getArch.py -target {{target}}

  • Check the architecture of multiple targets from a file (one per line):

getArch.py -targets {{path/to/targets_file}}

  • Set a custom socket timeout (default is 2 seconds):

getArch.py -target {{target}} -timeout {{seconds}}

  • Enable debug mode for detailed output:

getArch.py -target {{target}} -debug