Update issue postfix

This commit is contained in:
gbucchino committed 2023-06-08 16:04:00 +02:00
1 parent 882cdf805f
commit 0312e1dbe4
3 files changed
+8 -6

No files matched your search

+2 -1
View File
@@ -2,5 +2,6 @@
def postfix() -> dict:
postfix = dict()
postfix['regexp'] = "inet_interfaces = all"
postfix['replace'] = "inet_interfaces = loopback-only"
return postfix
+5 -5
View File
@@ -2,20 +2,20 @@ import re
from json import dumps
class ParsingBase:
def __init__(self, objects, audit):
def __init__(self, objects, audit) -> None:
pass
def runParsing(self):
def runParsing(self) -> None:
pass
def _parseFile(self, fdata):
def _parseFile(self, fdata) -> None:
pass
def _parsingFile(self, line, item) -> dict:
def _parsingFile(self, line, item) -> None:
"""
This function parse the line and try to find the item in it
"""
pass
def getResults(self) -> dict:
def getResults(self) -> None:
pass
+1
View File
@@ -0,0 +1 @@
<!doctype html><html><head></head><body><h1>Reports of 2023_06_08</h1><h2>Sysctl</h2><h3>File</h3><h4>/etc/sysctl.conf</h4><h5>kernel.unprivileged_userns_clone</h5><p>Results:<br /><h5>net.ipv4.conf.all.forwarding</h5><p>Results:<br /><h5>net.ipv4.conf.all.accept_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.all.accept_source_route</h5><p>Results:<br /><h5>net.ipv4.conf.default.accept_source_route</h5><p>Results:<br /><h5>net.ipv4.conf.all.secure_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.default.secure_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.all.log_martians</h5><p>Results:<br /><h5>net.ipv4.conf.default.log_martians</h5><p>Results:<br /><h5>net.ipv4.tcp_syncookies</h5><p>Results:<br /><h5>net.ipv4.ip_forward</h5><p>Results:<br /><h5>net.ipv4.conf.all.send_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.default.send_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.all.rp_filter</h5><p>Results:<br /><h5>net.ipv4.conf.default.rp_filter</h5><p>Results:<br /><h5>net.ipv6.conf.all.forwarding</h5><p>Results:<br /><h5>net.ipv6.conf.all.accept_redirects</h5><p>Results:<br /><h5>net.ipv6.conf.default.accept_redirects</h5><p>Results:<br /><h5>net.ipv6.conf.all.accept_ra</h5><p>Results:<br /><h5>net.ipv6.conf.default.accept_ra</h5><p>Results:<br /><h5>net.ipv6.conf.all.accept_source_route</h5><p>Results:<br /><h5>net.ipv6.conf.default.accept_source_route</h5><p>Results:<br /><h5>net.ipv6.conf.all.secure_redirects</h5><p>Results:<br /><h5>net.ipv6.conf.default.secure_redirects</h5><p>Results:<br /><h4>/etc/sysctl.conf</h4><h5>kernel.unprivileged_userns_clone</h5><p>Results:<br /><h5>net.ipv4.conf.all.forwarding</h5><p>Results:<br /><h5>net.ipv4.conf.all.accept_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.all.accept_source_route</h5><p>Results:<br /><h5>net.ipv4.conf.default.accept_source_route</h5><p>Results:<br /><h5>net.ipv4.conf.all.secure_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.default.secure_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.all.log_martians</h5><p>Results:<br /><h5>net.ipv4.conf.default.log_martians</h5><p>Results:<br /><h5>net.ipv4.tcp_syncookies</h5><p>Results:<br /><h5>net.ipv4.ip_forward</h5><p>Results:<br /><h5>net.ipv4.conf.all.send_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.default.send_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.all.rp_filter</h5><p>Results:<br /><h5>net.ipv4.conf.default.rp_filter</h5><p>Results:<br /><h5>net.ipv6.conf.all.forwarding</h5><p>Results:<br /><h5>net.ipv6.conf.all.accept_redirects</h5><p>Results:<br /><h5>net.ipv6.conf.default.accept_redirects</h5><p>Results:<br /><h5>net.ipv6.conf.all.accept_ra</h5><p>Results:<br /><h5>net.ipv6.conf.default.accept_ra</h5><p>Results:<br /><h5>net.ipv6.conf.all.accept_source_route</h5><p>Results:<br /><h5>net.ipv6.conf.default.accept_source_route</h5><p>Results:<br /><h5>net.ipv6.conf.all.secure_redirects</h5><p>Results:<br /><h5>net.ipv6.conf.default.secure_redirects</h5><p>Results:<br /><h2>Sysctl</h2><h3>File</h3><h4>/etc/sysctl.conf</h4><h5>kernel.unprivileged_userns_clone</h5><p>Results:<br /><h5>net.ipv4.conf.all.forwarding</h5><p>Results:<br /><h5>net.ipv4.conf.all.accept_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.all.accept_source_route</h5><p>Results:<br /><h5>net.ipv4.conf.default.accept_source_route</h5><p>Results:<br /><h5>net.ipv4.conf.all.secure_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.default.secure_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.all.log_martians</h5><p>Results:<br /><h5>net.ipv4.conf.default.log_martians</h5><p>Results:<br /><h5>net.ipv4.tcp_syncookies</h5><p>Results:<br /><h5>net.ipv4.ip_forward</h5><p>Results:<br /><h5>net.ipv4.conf.all.send_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.default.send_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.all.rp_filter</h5><p>Results:<br /><h5>net.ipv4.conf.default.rp_filter</h5><p>Results:<br /><h5>net.ipv6.conf.all.forwarding</h5><p>Results:<br /><h5>net.ipv6.conf.all.accept_redirects</h5><p>Results:<br /><h5>net.ipv6.conf.default.accept_redirects</h5><p>Results:<br /><h5>net.ipv6.conf.all.accept_ra</h5><p>Results:<br /><h5>net.ipv6.conf.default.accept_ra</h5><p>Results:<br /><h5>net.ipv6.conf.all.accept_source_route</h5><p>Results:<br /><h5>net.ipv6.conf.default.accept_source_route</h5><p>Results:<br /><h5>net.ipv6.conf.all.secure_redirects</h5><p>Results:<br /><h5>net.ipv6.conf.default.secure_redirects</h5><p>Results:<br /><h4>/etc/sysctl.conf</h4><h5>kernel.unprivileged_userns_clone</h5><p>Results:<br /><h5>net.ipv4.conf.all.forwarding</h5><p>Results:<br /><h5>net.ipv4.conf.all.accept_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.all.accept_source_route</h5><p>Results:<br /><h5>net.ipv4.conf.default.accept_source_route</h5><p>Results:<br /><h5>net.ipv4.conf.all.secure_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.default.secure_redirects</h5><p>Results:<br /><h5>net.ipv4.conf.all.log_martians</h5><p>Results:<br /><h5>net.ipv4.conf.default.log_martians</h5><p>Results:<br /><h5>netLine truncated