Added README.md
This commit is contained in:
		
							parent
							
								
									0d344b456f
								
							
						
					
					
						commit
						8e3af9a3c3
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								README
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								README
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,13 @@
 | 
				
			||||||
 | 
					# check_nmap.sh
 | 
				
			||||||
 | 
					This script runs a nmap scan and checks the discovered ports against a whitelist
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Arguments
 | 
				
			||||||
 | 
					* --host  | -h: Host that shall be scanned by nmap
 | 
				
			||||||
 | 
					* --portrange | -p: Ports that shall be scanned (nmap format)
 | 
				
			||||||
 | 
					* --known | -k: A port number that is expected to be open
 | 
				
			||||||
 | 
					* --input | -i: Use input file instead of a real nmap scan (for testing)
 | 
				
			||||||
 | 
					* --debug | -d: More debugging output, cannot be used with icinga2
 | 
				
			||||||
 | 
					* all arguments after -- are passed to nmap
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Results
 | 
				
			||||||
 | 
					* CRITICAL: if any expected port is open
 | 
				
			||||||
		Loading…
	
		Reference in a new issue