Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple / default time unit support to -ct option #493

Closed
ehsandeep opened this issue Jun 26, 2023 · 0 comments · Fixed by #500
Closed

multiple / default time unit support to -ct option #493

ehsandeep opened this issue Jun 26, 2023 · 0 comments · Fixed by #500
Assignees
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Enhancement Most issues will probably ask for additions or changes.
Milestone

Comments

@ehsandeep
Copy link
Member

Please describe your feature request:

   -ct, -crawl-duration int  maximum duration to crawl the target for (s, m, h, d) (default s)

Where s = seconds, m = minutes, h = hours, d = days

Similar to projectdiscovery/alterx#20

Describe the use case of this feature:

katana -jc -u https://www.hackerone.com -j -ct 30
katana -jc -u https://www.hackerone.com -j -ct 50s
katana -jc -u https://www.hackerone.com -j -ct 20m
katana -jc -u https://www.hackerone.com -j -ct 1h
katana -jc -u https://www.hackerone.com -j -ct 2d

Note:

  • make sure to implement changes via goflags / utils project to reuse functions with time-related options in other projects.
@ehsandeep ehsandeep added the Type: Enhancement Most issues will probably ask for additions or changes. label Jun 26, 2023
@RamanaReddy0M RamanaReddy0M linked a pull request Jun 27, 2023 that will close this issue
@ehsandeep ehsandeep added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Jun 27, 2023
@ehsandeep ehsandeep added this to the katana v1.0.3 milestone Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants