This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| custom_fig = Figlet(font='digital') | |
| print(custom_fig.renderText('GateKeeper Security')) | |
| file = open(r"Port Scan.txt", "w") | |
| # Ask for input | |
| try: | |
| hostName = input("What is the name of the host you wish to scan?") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import socket | |
| import subprocess | |
| import sys | |
| from datetime import datetime | |
| # Clear the screen | |
| # subprocess.call('clear', shell=True) | |
| import socket # importing library |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import socket | |
| import subprocess | |
| import sys | |
| from datetime import datetime | |
| # Clear the screen | |
| # subprocess.call('clear', shell=True) | |
| import socket # importing library |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import socket | |
| import subprocess | |
| import sys | |
| from datetime import datetime | |
| subprocess.call('cls', shell=True) | |
| # Ask for input | |
| remoteServer = input("Enter a remote host to scan: ") | |
| remoteServerIP = socket.gethostbyname(remoteServer) |