Bash Script Needed // Utilizing "nc" Command
This project received 22 bids from talented freelancers with an average bid price of $74 USD.Get free quotes for a project like this
Project Budget$30 - $250 USD
I need someone to write a shell script that will utilize the "nc" command to check connectivity of IP addresses to a specified mail server. I need it to be versatile in the respect that it needs to check multiple IP addresses either from the same Class C range or multiple Class C ranges.
Here is an example of a scenario:
I want to check the connectivity of the following IPs that are binded to the server:
184.108.40.206 - [url removed, login to view]
220.127.116.11 - 18.104.22.168-54
[url removed, login to view] - [url removed, login to view]
I want to check if the above IPs will connect to the following server:
[url removed, login to view]
The command to do the above one by one would be the following:
nc -s [url removed, login to view] 25
The problem with checking the IPs one by one is that it will take forever so I need an automated way to do this (hence the shell script). I want the shell script to be versatile and allow input when run so it would do something like the following when run:
Please input IP ranges in the following format (X.X.X.X - X.X.X.X):
Please enter server you would like to connect to:
I would then be allowed to input one or several IP ranges. The shell script would then utilize the "nc" command to check all IPs in the ranges I assigned and output the results in real time to the screen and also save the results in a .txt file.
This should be a simple job for someone who knows how to do this. I am looking to have this completed in one day and please don't bid some outrageous amount. Please message me explaining your knowledge and a personalized message of when you can complete the job (no random automated copy/paste responses please).
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online