Skip to content

v1.0.27 - ixf -r resource files, -e inline, -x exit mode

Choose a tag to compare

@mrhenrike mrhenrike released this 10 Jun 04:12
· 15 commits to master since this release

Resource File Support (like Metasploit -r)

CLI flags

ixf -r scan.rc # execute .rc file, then interactive
ixf -r scan.rc -x # execute .rc file, then exit (CI/CD)
ixf -r setup.rc -r scan.rc -x # chain multiple .rc files
ixf -e 'setg TARGET 10.0.0.1; use scanners/ics/modbus_scanner; run' -x
ixf -q -r scan.rc -x # quiet (no banner)
ixf --loglevel debug -r scan.rc
ixf -o /tmp/scan.log -r scan.rc -x
ixf --version

Resource file format

Comments start with

setg TIMING T2
setg TARGET 192.168.1.100
use scanners/ics/modbus_scanner
set PORT 502
run
back

New template .rc files in resources/rc/

modbus_scan.rc — full Modbus TCP assessment
ot_discovery.rc — multi-protocol OT discovery
mitre_ics_sweep.rc — MITRE ATT&CK for ICS full sweep
iec62443_audit.rc — IEC 62443-3-2 interactive audit
README.md — usage guide and CI/CD examples

Interpreter improvements

_dispatch() — unified command execution (used by both REPL and resource files)
run_resource_lines() — executes list of command strings with echo support
start(show_banner) — banner suppression when already printed by main