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

json: cannot unmarshal string into Go value of type []*asnmap.Response #305

Closed
leonjza opened this issue Mar 17, 2024 · 0 comments · Fixed by #306
Closed

json: cannot unmarshal string into Go value of type []*asnmap.Response #305

leonjza opened this issue Mar 17, 2024 · 0 comments · Fixed by #306
Assignees
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@leonjza
Copy link

leonjza commented Mar 17, 2024

It seems like when given hostnames with an underscore character (_), asnmap fails with an unmarshalling error.

/ # asnmap -d test_.google.com

   ___   _____  __
  / _ | / __/ |/ /_ _  ___ ____
 / __ |_\ \/    /  ' \/ _  / _ \
/_/ |_/___/_/|_/_/_/_/\_,_/ .__/
                         /_/

		projectdiscovery.io

[INF] Current asnmap version v1.1.0 (latest)
[FTL] json: cannot unmarshal string into Go value of type []*asnmap.Response
@dogancanbakir dogancanbakir self-assigned this Mar 17, 2024
@dogancanbakir dogancanbakir added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Mar 17, 2024
@dogancanbakir dogancanbakir linked a pull request Apr 2, 2024 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, 2024
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: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants