Jump to content

Search the Community

Showing results for tags 'script bash network'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Talk
    • Everything Else
    • Gaming
    • Questions
    • Business and Enterprise IT
    • Security
    • Hacks & Mods
    • Applications & Coding
    • Trading Post
  • Hak5 Gear
    • Hak5 Cloud C²
    • WiFi Pineapple Mark VII
    • USB Rubber Ducky
    • Bash Bunny
    • Key Croc
    • Packet Squirrel
    • Shark Jack
    • Signal Owl
    • LAN Turtle
    • Screen Crab
    • Plunder Bug
  • O.MG (Mischief Gadgets)
    • O.MG Cable
    • O.MG DemonSeed EDU
  • WiFi Pineapple (previous generations)
    • WiFi Pineapple TETRA
    • WiFi Pineapple NANO
    • WiFi Pineapple Mark V
    • WiFi Pineapple Mark IV
    • Pineapple Modules
    • WiFi Pineapples Mark I, II, III
  • Hak5 Shows
  • Community
    • Forums and Wiki
    • #Hak5
  • Projects
    • SDR - Software Defined Radio
    • Community Projects
    • Interceptor
    • USB Hacks
    • USB Multipass
    • Pandora Timeshifting

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Enter a five letter word.

Found 1 result

  1. The script should read from a file the list of hosts and ports to check. Example: server-1.dev.internal:443 server-2.prod.internal:25 For each line, the script should check TCP network connectivity between the server it's running on and that host:port combination and, in case it fails, find out the reason. Possible results for a check: - Success. - DNS record does not exist. (cannot resolve hostname) - Service not running (remote host is not listening on that port) - Connection rejected (remote host is listening on that port but network connection is rejected) - Timeout (remote host is listening on that port but network connection is timing out) Script's output will consist on a list of checks, results and the time it took for each one of them. Example: server-1.dev.internal:443 | Success | 3.4s server-2.prod.internal:25 | Service not running | 0.2s Note: Script is expecting a text file and is executed as: ./script_name <path-to-file>
×
×
  • Create New...