mirror of
				https://github.com/jtesta/ssh-audit.git
				synced 2025-11-04 03:02:15 +01:00 
			
		
		
		
	Protocol is numbers.
This commit is contained in:
		@@ -253,6 +253,7 @@ class SSH(object):
 | 
				
			|||||||
			if mx is None:
 | 
								if mx is None:
 | 
				
			||||||
				return None
 | 
									return None
 | 
				
			||||||
			protocol = min(re.findall(cls._RXP, mx.group(1)))
 | 
								protocol = min(re.findall(cls._RXP, mx.group(1)))
 | 
				
			||||||
 | 
								protocol = (int(protocol[0]), int(protocol[1]))
 | 
				
			||||||
			software = (mx.group(9) or '').strip() or None
 | 
								software = (mx.group(9) or '').strip() or None
 | 
				
			||||||
			if software is None and mx.group(8).startswith('-'):
 | 
								if software is None and mx.group(8).startswith('-'):
 | 
				
			||||||
				software = ''
 | 
									software = ''
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user