Skip to content

Adding stdin reject if cli flags are provided#69

Merged
ehsandeep merged 4 commits intodevfrom
35-bugfix-stdin-reject-with-cli-flags
Oct 4, 2021
Merged

Adding stdin reject if cli flags are provided#69
ehsandeep merged 4 commits intodevfrom
35-bugfix-stdin-reject-with-cli-flags

Conversation

@Mzack9999
Copy link
Copy Markdown
Member

No description provided.

@Mzack9999 Mzack9999 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Aug 6, 2021
@Mzack9999 Mzack9999 self-assigned this Aug 6, 2021
@Mzack9999 Mzack9999 linked an issue Aug 6, 2021 that may be closed by this pull request
Copy link
Copy Markdown
Member

@ehsandeep ehsandeep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resovled.

Copy link
Copy Markdown
Member

@ehsandeep ehsandeep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still getting the same error:-

$ git branch
* 35-bugfix-stdin-reject-with-cli-flags
  master

$ go build

$ echo "" | ./shuffledns -list u.txt -r r.txt -d uber.com

       __        ________        __       
  ___ / /  __ __/ _/ _/ /__  ___/ /__ ___
 (_-</ _ \/ // / _/ _/ / -_)/ _  / _ \(_-<
/___/_//_/\_,_/_//_//_/\__/ \_,_/_//_/___/ v1								

		projectdiscovery.io

Use with caution. You are responsible for your actions
Developers assume no liability and are not responsible for any misuse or damage.
[ERR] Could not run massdns: blank input file specified
[INF] Finished resolving. Hack the Planet!

@Mzack9999
Copy link
Copy Markdown
Member Author

This is fixed. The correct CLI is:

echo "" | ./shuffledns -list u.txt -r r.txt -d uber.com -w w.txt

-w is missing

@Mzack9999 Mzack9999 requested a review from ehsandeep October 4, 2021 11:27
@ehsandeep
Copy link
Copy Markdown
Member

Right, this is fixed, indeed I used the wrong flag 😄

@ehsandeep ehsandeep merged commit 6227165 into dev Oct 4, 2021
@ehsandeep ehsandeep deleted the 35-bugfix-stdin-reject-with-cli-flags branch October 4, 2021 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding validation to stdin flags

2 participants