Giter Club home page Giter Club logo

c-port-scanner's Introduction

Portscanner

  • This program, as the name suggests, is a port scanner written in c.

  • Much of the information I required to be able to build this came from a simple (and extremely long) guide on how to do network programming. This can be found at:

  • To note, I used the guide to get a better overview of the usage of system calls via sys/types and sys/socket. Any supplemental material that was referenced was found in the man pages.


Usage:

  • To use this program, you may supply any number of arguments in the order specfied above.
  • An IP address may be a domain name or an actual IP address.
  • The maximum port is by default set to 100, but it may be set as high as 65535.
  • Lastly, suppling more than two arguments will cause the program to only print out the open ports, rather than any ports that may be closed or blocked.

Example:

./port_scanner IPADDRESS MAXPORT --only_open

  • IPADDRESS = the ip address of the host to scan (can be a domain name or an IP)
  • MAXPORT = the highest port to scan up to (highest possible is 65535)
  • --only_open = If there is even a 3rd argument, closed ports are ignored.

c-port-scanner's People

Contributors

andrew-kulpa 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.