subfinder icon indicating copy to clipboard operation
subfinder copied to clipboard

[Feature Request] Line-based File Scanning

Open Bundy01 opened this issue 1 year ago • 4 comments

Please describe your feature request:

Some sources are limited in requests, and adding an option to read a file (with the -dL option) by lines and then quit Subfinder would be a plus. For ex:

subfinder -lines 1,50 -nW -dL FILE

Describe the use case of this feature:

At the moment, I manually go down the first 50 lines to the end of the file and so on. The following command would save me the trouble.

subfinder -lines 50,100 -nW -dL FILE

Regards.

Bundy01 avatar Oct 01 '24 11:10 Bundy01

Thanks so much for your feature request @Bundy01 , we'll take a look into this!

GeorginaReeder avatar Oct 02 '24 10:10 GeorginaReeder

This is a nice-to-have feature. You can easily do something like sed -n '5,7p' FILE > subfinder... instead of another flag.

Mentioning @ehsandeep for the discussion.

dogancanbakir avatar Oct 07 '24 13:10 dogancanbakir

@dogancanbakir, I think the option would be preferable because not everyone knows the command you put in.

Bundy01 avatar Oct 12 '24 14:10 Bundy01

@dogancanbakir: I tested your command by replacing > with |. This is the result I expected, so if you don't add this option in Subfinder, you can close this issue.

Bundy01 avatar Oct 19 '24 11:10 Bundy01