fix(wordpress): wpscan.com unmarshal error (#1106)
* refactor(report): remove Integration.apply * add an err check * fix(wordpress): wpscan.com unmarshal error * fix warnings
This commit is contained in:
@@ -494,7 +494,7 @@ func (o *redhatBase) yumPs() error {
|
||||
pidListenPorts := map[string][]models.PortStat{}
|
||||
stdout, err = o.lsOfListen()
|
||||
if err != nil {
|
||||
return xerrors.Errorf("Failed to ls of: %w", err)
|
||||
return xerrors.Errorf("Failed to lsof: %w", err)
|
||||
}
|
||||
portPids := o.parseLsOf(stdout)
|
||||
for ipPort, pids := range portPids {
|
||||
|
||||
Reference in New Issue
Block a user