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

-config raises an error: could not read flags #283

Closed
dogancanbakir opened this issue Jun 12, 2023 · 1 comment
Closed

-config raises an error: could not read flags #283

dogancanbakir opened this issue Jun 12, 2023 · 1 comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@dogancanbakir
Copy link
Member

Running tlsx with custom config path raises an error.

tlsx version:

v1.0.9

Current Behavior:

$ tlsx -u hackerone.com -p 443,8443 -config customcfgdir/config.yaml 
[FTL] Could not process: [:RUNTIME] could not read flags <- [:RUNTIME] could not read config file <- EOF

Expected Behavior:

$ tlsx -u hackerone.com -p 443,8443 -config customcfgdir/config.yaml 
  

  _____ _    _____  __
 |_   _| |  / __\ \/ /
   | | | |__\__ \>  < 
   |_| |____|___/_/\_\  v1.0.9

                projectdiscovery.io

[INF] Current tlsx version v1.0.9 (latest)
hackerone.com:443
hackerone.com:8443
[INF] Connections made using crypto/tls: 2, zcrypto/tls: 0, openssl: 0

Steps To Reproduce:

$ tlsx -u hackerone.com -p 443,8443
mv ~/.config/tlsx customcfgdir
tlsx -u hackerone.com -p 443,8443 -config customcfgdir/config.yaml 

Anything else:

@dogancanbakir dogancanbakir added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Jun 12, 2023
@dogancanbakir
Copy link
Member Author

Moved to the projectdiscovery/goflags#115

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

No branches or pull requests

1 participant