def test_privileges_LIST(self): methods = NmapScanMethods() assert not methods.require_root('-sL')
def test_privileges_TCP_NULL(self): methods = NmapScanMethods() assert methods.require_root('-sN')
def test_privileges_UDP(self): methods = NmapScanMethods() assert methods.require_root('-sU')
def test_privileges_SCTP_COOKIE(self): methods = NmapScanMethods() assert methods.require_root('-sZ')
def test_privileges_TCP(self): methods = NmapScanMethods() assert not methods.require_root('')
def test_privileges_SCTP_INIT(self): methods = NmapScanMethods() assert methods.require_root('-sY')
def test_privileges_MAIMON(self): methods = NmapScanMethods() assert methods.require_root('-sM')
def test_privileges_WINDOW(self): methods = NmapScanMethods() assert methods.require_root('-sW')
def test_privileges_CONNECT(self): methods = NmapScanMethods() assert not methods.require_root('-sT')
def test_privileges_PING(self): methods = NmapScanMethods() assert not methods.require_root('-sn')