Skip to content

Files

Latest commit

716e8a3 · Jun 17, 2021

History

History

Ports_Scan

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 17, 2021
Jun 17, 2021

Port_Scan

Killing ports and process, sounds like a job for Command Line. For that very reason i made a Bash script, that first lists out all the process on any port that are listening then gives an option to selectively kill them.

Important

Uses lsof package.

This package is only available in Linux and Mac. Windows user should prefer this python_script I made.

Setup instructions

  • Install lsof package using apt-get install lsof or yum install lsof
  • For running globally, move the file to /usr/local/bin
  • run chmod +x ports_scan.sh
  • Now simply run ports_scan

Author(s)

Made by Vybhav Chaturvedi