The #get_os_architecture post API method has large holes in it's coverage. It doesn't return an architecture for non-meterpreter, non-windows sessions. That notably means any Linux shell session is unsupported.
Expected behavior
This functionality should be provided so post modules and LPEs can use it to reliably fingerprint the remote target. The returned value should be an ARCH_ constant.
Current behavior
Coverage is spotty.
The
#get_os_architecturepost API method has large holes in it's coverage. It doesn't return an architecture for non-meterpreter, non-windows sessions. That notably means any Linux shell session is unsupported.Expected behavior
This functionality should be provided so post modules and LPEs can use it to reliably fingerprint the remote target. The returned value should be an
ARCH_constant.Current behavior
Coverage is spotty.