PortScanner is our midterm project for our Distributed Systems course at Universidad Autónoma de Querétaro. This project is an iOS app which main goal is to scan a given range of ports from a given host and retrieve those who are available. Then, the user can open a terminal for 3 ports: 22, 80 and 3306.
- Swift 4
- Xcode 9
- CocoaPods
- SwiftSocket – Socket management and HTTP connection (port 80)
- SwiftSH – SSH connection (Port 22)
- OHMyUSQL – Database connection (Port 3306)
- Enter a host and a range of ports to scan.
- Tap blue button.
- All available ports will be displayed in the TableView.
- Only 3 ports are available to interact with (22, 80 and 3306). When tapped over them, a new View will show.
- To create a connection, the user and password are needed.
- We tested this port with macOS, using the command 'say' before a statement (e.g. say Hello there)
- To close the connection just swipe back to the TableView.
Note: there's no feedback from the host yet, so one-way commands are the only accepted commands.
- Once the view is displayed, you can type 'GET / HTTP/1.0' + two line breaks and press 'Enviar' to retrieve the html file.
- The connection is closed once you swipe right to go back to the TableView.
- A user, password and database is needed to start a connection.
- Queries can be ran by typing the sentence and pressing 'Enviar'.
- Results are displayed as a JSON.
- Session is closed once the user goes back the the TableView.
Note: Setting up access permission from the database is needed to use this service.
- Fernando Ortiz Rico Celio
- Marco Antonio Galicia Toriz
- swiftsocket (SwiftSockets author)
- Tommaso Madonia (SwiftSH author)
- Oleg (OHMySQL author)