Mass delete of nodes request

50 views
Skip to first unread message

Avery Rozar

unread,
Mar 14, 2013, 9:50:11 AM3/14/13
to dradi...@googlegroups.com
Maybe its my Mac, but I sure would like to highlight multiple nodes at once, and delete them. Example, if a customer gives me a /24 to scan, but only 128 are up, and providing info, I would love to be able remove nodes faster than one at a time. I guess I could run two nmaps, one to see who is up, and the other to just scan the ones that are useful.

Thanks,
--
Avery Rozar
Senior Security Consultant
850-559-6099
Secure Consulting
www.insecure-it.com

Michael Smith

unread,
Mar 14, 2013, 10:34:15 AM3/14/13
to dradi...@googlegroups.com

It’s not your mac…it’s a requested feature but has not been implemented yet.  

 

I would script it with two NMAPs myself… take the output of the first ping sweep (or if you use other discovery mechanisms), grep and cut or AWK/SED it to pull just the IPs, save to a file and then call the file as the input file with the –iL switch in the second part of the script.  You should be able to do it in Bash or Python/Ruby/Perl fairly easily.

 

Michael Smith | Senior Security Engineer/Security Consultant

Masters of Science Information Assurance, CISSP, OSCP, GPEN, Security+
ePlus Security, a division of ePlus

--
You received this message because you are subscribed to the Google Groups "Dradis Pro users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dradis-pro+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Avery Rozar

unread,
Mar 14, 2013, 10:39:27 AM3/14/13
to dradi...@googlegroups.com
great, thank you.

Michael Smith

unread,
Mar 14, 2013, 10:41:40 AM3/14/13
to dradi...@googlegroups.com

With the below approach, you should be able to script it so that its reusable… set an input of the range and then start the initial sweep with that variable in place.

Daniel Martin

unread,
Mar 14, 2013, 5:02:59 PM3/14/13
to dradi...@googlegroups.com

I think that Michael's approach of first running a pingsweep combined
with some sort of common ports scan to create a host list and feed it to
the final scans via the -iL parameter is a sensible solution.

On the current inability to select multiple hosts/nodes at a time to
perform a deletion operation, this is due to the tree configuration,
single select mode is enabled and every time you click on a node a bunch
of ajax calls are created in the background (get list of notes, get list
of attachments, etc.).

Multi-select should be doable but it may take a bit of tweaking around.
I will add it to the roadmap for consideration.

Thanks for the suggestion!

-Daniel

On 14/03/2013 14:41, Michael Smith wrote:
> With the below approach, you should be able to script it so that its
> reusable� set an input of the range and then start the initial sweep
> with that variable in place.
>
>
>
> *Michael Smith | **Senior Security Engineer/Security Consultant***
>
> Masters of Science Information Assurance, CISSP, OSCP, GPEN, Security+
> */e/*/Plus Security, /a division of */e/*Plus
>
>
>
> *From:*dradi...@googlegroups.com [mailto:dradi...@googlegroups.com]
> *On Behalf Of *Avery Rozar
> *Sent:* Thursday, March 14, 2013 9:39 AM
> *To:* dradi...@googlegroups.com
> *Subject:* Re: [dradis-pro] Mass delete of nodes request
>
>
>
> great, thank you.
>
> On Thu, Mar 14, 2013 at 10:34 AM, Michael Smith <msm...@eplus.com
> <mailto:msm...@eplus.com>> wrote:
>
> It�s not your mac�it�s a requested feature but has not been implemented
> yet.
>
>
>
> I would script it with two NMAPs myself� take the output of the first
> ping sweep (or if you use other discovery mechanisms), grep and cut or
> AWK/SED it to pull just the IPs, save to a file and then call the file
> as the input file with the �iL switch in the second part of the script.
> You should be able to do it in Bash or Python/Ruby/Perl fairly easily.
>
>
>
> *Michael Smith | **Senior Security Engineer/Security Consultant*
>
> Masters of Science Information Assurance, CISSP, OSCP, GPEN, Security+
> */e/*/Plus Security, /a division of */e/*Plus
>
>
>
> *From:*dradi...@googlegroups.com <mailto:dradi...@googlegroups.com>
> [mailto:dradi...@googlegroups.com
> <mailto:dradi...@googlegroups.com>] *On Behalf Of *Avery Rozar
> *Sent:* Thursday, March 14, 2013 8:50 AM
> *To:* dradi...@googlegroups.com <mailto:dradi...@googlegroups.com>
> *Subject:* [dradis-pro] Mass delete of nodes request
>
>
>
> Maybe its my Mac, but I sure would like to highlight multiple nodes at
> once, and delete them. Example, if a customer gives me a /24 to scan,
> but only 128 are up, and providing info, I would love to be able remove
> nodes faster than one at a time. I guess I could run two nmaps, one to
> see who is up, and the other to just scan the ones that are useful.
>
> Thanks,
> --
> Avery Rozar
> Senior Security Consultant
> 850-559-6099 <tel:850-559-6099>
> Secure Consulting
> www.insecure-it.com <http://www.insecure-it.com>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Dradis Pro users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to dradis-pro+...@googlegroups.com
> <mailto:dradis-pro+...@googlegroups.com>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Dradis Pro users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to dradis-pro+...@googlegroups.com
> <mailto:dradis-pro%2Bunsu...@googlegroups.com>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
>
>
> --
> Avery Rozar
> Senior Security Consultant
> 850-559-6099
> Secure Consulting
> www.insecure-it.com <http://www.insecure-it.com>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Dradis Pro users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to dradis-pro+...@googlegroups.com
> <mailto:dradis-pro+...@googlegroups.com>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Dradis Pro users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to dradis-pro+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
Morris's three golden rules of computer security:
do not own a computer;
do not power it on;
and do not use one
Reply all
Reply to author
Forward
0 new messages