Giter Club home page Giter Club logo

kl3jvi / portauthority Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aaronjwood/portauthority

1.0 1.0 0.0 8.69 MB

A handy systems and security-focused tool, Port Authority is a very fast Android port scanner. Port Authority also allows you to quickly discover hosts on your network and will display useful network information about your device and other hosts.

Home Page: https://play.google.com/store/apps/details?id=com.aaronjwood.portauthority.free

License: GNU General Public License v3.0

Java 100.00%

portauthority's Introduction

Port Authority

Get it on F-Droid

Codacy Badge Build Status Coverity Scan Build Status Known Vulnerabilities

Overview

A handy systems and security-focused tool, Port Authority is a very fast port scanner. Port Authority also allows you to quickly discover hosts on your network and will display useful network information about your device and other hosts.

One of the fastest port scanners with host discovery on the market! Host discovery is typically performed in less than 5 seconds. If the device you're scanning drops packets, it takes about 10 seconds to scan 1000 ports. If the device you're scanning rejects packets, it takes less than 30 seconds to scan all 65,535 ports!

Port Authority has no ads and will never have ads. It requires extremely limited permissions since it only needs to interact with your network. The internals are designed to take advantage of today's modern phones/tablets with multiple cores to ensure you can scan your network as fast as possible.

Features

  • Heavily threaded, no more waiting for results one at a time
  • LAN host discovery
  • Public IP discovery
  • MAC address vendor detection
  • LAN/WAN host TCP port scanning
  • Custom port range scans
  • Open discovered HTTP(S) services to browser
  • Lightweight service fingerprinting (SSH/HTTP(S) server type and version)
  • DNS record lookups supporting almost every record type
  • Wake-on-LAN for LAN hosts

How are scans so fast?

This application makes heavy use of threading. Because most of the operations performed are I/O bound a lot more threads can be used than the number of cores on a device. In fact, one of the most intensive parts of the application is updating the UI during scans. This has gone through many optimizations but still remains a bit of a hotspot.

How is my public IP discovered? I'm worried about my privacy

I now use my own service that's 100% open source! I decided to create and switch to this due to some concerns about the original service that was being used.

I have a lower end and/or older device, will this work?

Absolutely! Just lower the number of threads that are used for port scans in the settings. I'm always working on improving the efficiency and memory footprint of the application, and things have been greatly improved since the original version!

I keep getting crashes when scanning a large range of ports

The crash is most likely an out of memory exception that is occurring due to using too many threads. Lower your port scan thread count in the settings. The right value will be highly dependent on the device and its hardware.

I'm getting a warning that says this application is trying to send email

A few users have reported that a warning pops up on their device, warning them that this application is trying to send mail. This is caused by various security software so you can be assured (or just look at the code yourself) that I'm not sending mail.

Some security software looks at where traffic is coming and going from the device and takes certain actions for certain cases. If you're running any kind of port scan that includes port 25 (SMTP) this will most likely be flagged. Even though no data is being sent to that port the security software will see an outbound connection to an SMTP service and throw up a warning. Obviously this is a very bad check but some security tools are better than others and may actually look for data flowing out to port 25 to see if there's really anything happening.

I'm not finding some of the hosts/devices on my LAN

I've recently added in a setting to control the timeout for connections made to hosts on your LAN. If you're finding that some devices aren't responding in time you should increase the timeout, just be aware that it will cause host scans to take longer. In some cases it may be worth trading time for accuracy.

I'm not finding open ports that I know are truly open

You can now adjust the timeout for connections made to ports when performing either LAN or WAN scans. If you're scanning something over WAN (mobile network if you're using a cell phone) please be aware that scanning is best effort. Mobile carriers may detect that a real port scan is occurring and apply traffic shaping dynamically, or they may just start terminating the connections entirely. Additionally, if you happen to have poor signal or to not have 4G the quality of the network connection may be so poor that you'll need to have a fairly high timeout in order to tolerate latency spikes.

Note that increasing the connection timeout for either LAN or WAN scans will cause the port scan to take longer. Ideally you shouldn't need to increase the timeout for LAN scans but it might be needed for certain devices/environments.

Donate

Like the application and the work I put into it? Consider purchasing the donate version:

Contributing

Contributions of any kind are welcome! Please submit any pull requests to the development branch. This means that modifications need to be done either on a new branch based off of development or on the development branch directly.

portauthority's People

Contributors

aaronjwood avatar chaoscalm avatar timhansendev avatar poussinou avatar jonathan727 avatar udev2019 avatar stratos42 avatar fat-tire avatar kidhanis avatar pandermusubi avatar septolum avatar licaon-kter avatar naofum avatar sr093906 avatar

Stargazers

Erta Shehaj avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.