mantis icon indicating copy to clipboard operation
mantis copied to clipboard

Enhance Mantis "list" command

Open 0xbharath opened this issue 1 year ago • 2 comments

Discussed in https://github.com/PhonePe/mantis/discussions/29

Originally posted by 0xbharath June 19, 2024 @Prateek-Thakare @Ncoder2 Can we have a "list" as a top level command for mantis along with onboard and scan? I feel that this can come in handy when one wants to list orgs that are onboarded to the Mantis and other details. I have onboarded 20+ orgs on Mantis and it is not comfortable to do a DB query or go to dashboard everytime to get this list.

Example:

$ mantis list orgs
org1 
org2
org2

This is a good issue to pick up for new contributors. mantis list is already implemented. We need to enhance the mantis list command with more features

  1. To list the TLDs under an org. something like
mantis list -o org tlds
mantis list -o navigalactic tlds
navigalactic.com
navigalactic.in
navigalatic.org

0xbharath avatar Jul 16 '24 06:07 0xbharath

This command can be enhanced to list the subdomains found after a certain date based on timestamps. mantis list -o navigalactic --subs --after 2024-25-07 This should list the subdomains found after 2024-25-07. Similarly before and between constructs can be added to list subdomains.

Prateek-Thakare avatar Jul 25 '24 13:07 Prateek-Thakare

Can you assign this to me? I've raised PR for this

dmdhrumilmistry avatar Oct 05 '24 12:10 dmdhrumilmistry

this issue can be closed since PR is merged

dmdhrumilmistry avatar Oct 28 '24 17:10 dmdhrumilmistry

Thanks for your contribution @dmdhrumilmistry !

0xbharath avatar Oct 29 '24 09:10 0xbharath