Skip to content

sharpnachos/SafePort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SafePort

This is the unofficial repository of SafePort, the user-friendly port scanner. Code for the updated version of this project can be found at this repo: https://github.com/ehoffman5/SafePort

SafePort has also had the honor of winning the Loyola Computer Science Department's end-of-semester project competiton.

The link to read the article can be found here: https://blog.cs.luc.edu/post/184602773801/spring-2019-cs-project-presentations

What is SafePort?

SafePort is a sleek, modern, easy-to-use port scanner that provides an accessible way for the ordinary person to test the security of their own devices. As opposed to less user-friendly port scanners like ZenMap, SafePort makes it easy for users to scan their device with a single click. SafePort sends TCP connection requests to the device's ports (via the user's personal IP address) and determines whether or not the device is at risk. Once a scan is completed, the user can view which of their ports are open and follow simple documentation for how to close those ports.

safeport

Installation

Please follow the setps below to ensure this application runs as needed in a development environment:

  • Ensure Node.js is installed on your computer
    • To check if it is installed, open cmd and type 'node -v' for your Node.js version and 'npm -v' for NPM
    • To install Node.js, follow this link to the official web page: https://nodejs.org/en/
  • Clone this repository into Visual Studio Code or any other IDE of your choice
  • Open Git Bash and make sure you are in your local project directory
  • Run the following line of code in your terminal to ensure there are no permissions errors while running this application:
    • rm -rf node_modules && npm install
  • Type the command "npm start' in the terminal to start Electron
  • An Electron window should open up running the SafePort application

Features

Smart Scan

Smart Scan is a faster scan that only checks a list of 70 of the most commonly exploited ports. This is a good first scan to do as it provides important information very quickly; however, it might not catch all of your open ports.

Full Scan

Full Scan checks every single port on your device and lets you know which ones are open. This is a longer scan. For most devices, it takes about 5-10 minutes to complete. This will definitively show you every open port on your device.

Custom Scan (Coming Soon)

Custom Scan is an advanced version of Full Scan that lets you scan foreign devices that you own (like web servers or any websites you own) instead of just scanning the device you are on. Depending on how much processing power your device has, you can also adjust the threading of the scan to be lower or higher. A lower thread rate makes the scan take longer, but it is easier on the device. Higher threading makes the scan go faster, but is harder on your device.

Help Documents

SafePort provides easy-to-follow documentation for users on how to close their open ports for Windows, Mac, and Linux as well as a user manual for further questions and information on the subject.

Technologies

Languages

Front-end: HTML, CSS, and JavaScript
Back-end: Python 3
Data: JSON

Environment

SafePort uses Electron, a Node.js framework, for its launching, packaging, and graphical user interface.
The official website for Electron can be found here: https://electronjs.org/

Testing

SafePort utilizes mocking to ensure that its Python scripts run properly for port scans.

About

This is the working repository for "Safeport - The User Friendly Port Scanner". This is a program that will assist you in easily identifying open ports on your system and explain how to close them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors