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

Support for single host #20

Closed
ehsandeep opened this issue Jan 3, 2018 · 5 comments
Closed

Support for single host #20

ehsandeep opened this issue Jan 3, 2018 · 5 comments

Comments

@ehsandeep
Copy link

Hi @tomnomnom,

Thank you for actively developing this project, I would like to request minor improvement for this project.

Currently, meg supports suffix and prefix format, where we can feed both lists and it will process them accordingly, it would be nice and helpful for the quick test if we can feed single host as well along with existing option.

Example:

meg suffix http://example.com

Thank you.

@tomnomnom
Copy link
Owner

@MadaraTech great idea! I think that will make doing quick tests a lot easier.

I think it would be a good time to have a change of terminology before the project goes much further too.

I've been using the prefix/suffix terminology for a while now, but I don't think it's very descriptive. Do you think 'server' and 'path' is a good choice?

@ehsandeep
Copy link
Author

Yeah, prefix/suffix is not very relatable to the project, anyway users going to use there own filename to feed, but in general terminology for this project, I would suggest, path-list/host-list or path/host.

Regards.

@tomnomnom
Copy link
Owner

The terminology change has been done in 8bfa2d0

I wanted to get that out of the way before doing this as it would have just been more code to change :D

@tomnomnom
Copy link
Owner

@MadaraTech while I remember: until this is implemented you can use a little bash trick to turn command output into a file descriptor and get the behaviour you want this way:

▶ meg -v /robots.txt <(echo https://example.com)
out/example.com/7c8443b50dd91de51d5f152effc9c70a45cc4e7c https://example.com/robots.txt (404 Not Found)

@tomnomnom
Copy link
Owner

@MadaraTech this has been done in 03d2130, and tagged and released as v0.2.1

Let me know if you hit any problems with it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants