LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2014, 12:34 PM   #1
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
nmap script to list contiguous ip blocks available?


I don't have anything written yet. Does anyone have a spare script lying around to use nmap to politely list the contiguous available ips on a subnet?

Output Something like

Code:
range: 192.168.1.14-21 available
singl: 192.168.1.23 available
range: 192.168.1.25-29 available
 
Old 03-20-2014, 06:04 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
Nmap doesn't care about IP ranges being contiguous or not. You'll prolly have to script your own NSE if you want that or use another tool.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does anyone have a list of A blocks used in the US? (or A block used outside the US) abefroman Linux - Security 7 02-13-2012 05:38 PM
can't find bad blocks list neuplnost Linux - General 3 12-18-2010 12:16 PM
0.9% non-contiguous blocks paragkalra Linux - Newbie 1 05-26-2008 11:46 AM
list known bad blocks. bruse Linux - Software 1 02-19-2006 09:50 AM
non-contiguous blocks and /home access pteren Linux - General 1 02-26-2003 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration