我想使用regexp从下面的输出中排除地址为10.0.0.2的行。
我的命令:
cat /var/log/secure | egrep '\s+sshd\[[[:digit:]]+\]: Failed password for (invalid user )?nessus from \S+'
输出:
Aug 28 09:58:18 server34 sshd[13567]: Failed password for invalid user nessus from 10.0.0.4 port 33254 ssh2
Aug 28 09:58:57 server34 sshd[135
我们有一台运行在Windows 10上的Nessus服务器。我正在尝试从linux运行curl命令。在几周前对Nessus服务器进行升级之前,这些命令一直工作得很好。
这个示例命令在Ubuntu14.04和CentOS 7.2上工作得很好,但在RHEL7.1上就不行了。如果是证书问题,也应该在ubuntu和CentOS上发生。所有操作系统都是同一vcenter上的虚拟机。只有Nessus在物理机上运行。任何提示都会很有帮助。谢谢!!
curl: (35) SSL received a record that exceeded the maximum permissible length
命令来
我正在尝试使用powershell从下面的链接下载包。我没有这些包的直接链接,当我点击download it要求同意时也是如此。我可以在Linux上使用如下所示的命令完成此操作。请告诉我怎样才能在windows中做到这一点。
"wget --no-check-certificate --post-data='accept="I accept the terms of this license"&x=""&sid=5mcia8gchg28attkc9oarah153&p=NessusAgent-7.4.2-amzn.x86
我使用Nessus检查我的use服务器上的漏洞。它是一个Windows。Nessus报告说,此服务器存在CVE-2004-0789漏洞.
下面是Nessus的描述:
The remote DNS server is vulnerable to a denial of service attack because it replies to DNS responses.
An attacker could exploit this vulnerability by spoofing a DNS packet so that it appears to come from 127.0.0.1 an