Tuesday, November 22, 2016

Vim Plugin: Subnet Search

Finished the subnet search plugin for vim written in python.  Given a CIDR subnet, it will generate a regular expression to match all ip addresses in that subnet:


In the example above, 10.9.3.0/29 is given as the CIDR subnet, and all the IP addresses within that subnet, including the network number and broadcast address, are highlighted.  If they were spread out amongst the file, just repeating the last search in vim using the '/' key and return will jump to the next occurrence.  Pretty handy in those cases whereby you want to search for or see all the IP addresses within a subnet.  It does go through a list of IP addresses for a subnet, so a /8 or any large subnet may take some time depending on the speed of the machine it's being run on.  It's at vim.org and github. It uses python 2.7, and the backported IP address module.

5 comments:

  1. I am very impressed with your post because this post is very beneficial for me and provide a new knowledge to me

    Apowersoft ApowerManager Crack
    Zemana AntiLogger Crack
    Movavi Slideshow Maker Crack

    ReplyDelete
  2. Great work with the hard work you have done I appreciate your work thanks for sharing it...
    https://softrepack.com/autodesk-inventor-crack/

    ReplyDelete
  3. Great set of tips from the master himself. Excellent ideas. Thanks for Awesome tips Keep it up .
    Avast Driver Updater Crack
    windowsup.net

    ReplyDelete

  4. THIS ARTICALE IS HELPING ME. VERY USEFULL INFORMATION.THANKS ADMIN
    Traktor Pro Crack The Metadata sync attribute has been taken away from TRAKTOR PRO 2.
    IBM SPSS Statistics Crack is a powerful tool for statistical analysis, an extensive collection of machine learning algorithms,
    UltraMixer Crackthe 4-deck mode, remote app, and video sampler. The 4-deck mode allows you to create four tracks at once and play them back to sync with beats.
    Tally ERP Crack is the main product of Tally Solutions Private Limited, an Indian multinational based in Bangalore, Karnataka.
    PureVPN Crack allows you to break liberated from web limitations and oversight. So you have unhindered admittance to sites, recordings, live occasions, and the sky is the limit from there.

    ReplyDelete