MythicAgents / poseidon

Poseidon is a Golang agent targeting Linux and macOS
Other
118 stars 32 forks source link

portscan command does not scan #50

Closed timukas closed 11 months ago

timukas commented 11 months ago

Hi,

Using latest poseidon with latest Mythic on Linux. When running portscan, then error is shown:

json: cannot unmarshal array into Go struct field PortScanParams.ports of type string

Launching 'tcpdump' also does not show any traffic to scanned host.

p.s. other built-in commands work fine.

its-a-feature commented 11 months ago

Yup, can reproduce. I'll have a fix for this pushed tomorrow

its-a-feature commented 11 months ago

I just pushed a fix for this - v 2.0.13

timukas commented 11 months ago

Tested 'portscan' with latest poseidon version.

Now defined target(s) are scanned and i get the results.