Month: July 2016

Find open ports on the Linux server using a script

Find open ports on the Linux server using a script Create a .sh file with below script and set execute permission for the scrip file. #vi portscan.sh #!/bin/bash #The port numbers PORT1=21 #ftp PORT2=22 #ssh PORT3=25 #smtp PORT4=53 #dns PORT5=80 #http PORT6=110 #POP3 PORT7=143 #IMAP PORT8=443 #https PORT9=1433 #MSSQL PORT10=3306 #MYSQL PORT11=3389 #Microsoft-RDP PORT12=5432 #PostgreSQL […]

Continue Reading