[GH-ISSUE #31] No such file or directory: 'asnmap' #995

Closed
opened 2026-05-03 01:49:25 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @symsal on GitHub (Nov 3, 2025).
Original GitHub issue: https://github.com/reconurge/flowsint/issues/31

with trasform ASN return this error.

Error getting ASN for domain xxxxdomain.com : [Errno 2] No such file or directory: 'asnmap'

with the IP return this:

Error getting ASN for IP 94.2x.xx.xx: Error running asnmap: Docker error while running projectdiscovery/asnmap:latest: Command '-i 94.2x.xx.xx -silent -json' in image 'projectdiscovery/asnmap:latest' returned non-zero exit status 1: b'[\x1b[1;31mFTL\x1b[0m] Could not read input from terminal: open /dev/tty: no such device or address\n' - Test run also failed: Command '-i 94.2x.xx.xx -silent -json' in image 'projectdiscovery/asnmap:latest' returned non-zero exit status 1: b'[\x1b[1;31mFTL\x1b[0m] Could not read input from terminal: open /dev/tty: no such device or address\n'. Output: No output

Originally created by @symsal on GitHub (Nov 3, 2025). Original GitHub issue: https://github.com/reconurge/flowsint/issues/31 with trasform ASN return this error. Error getting ASN for domain xxxxdomain.com : [Errno 2] No such file or directory: 'asnmap' with the IP return this: Error getting ASN for IP 94.2x.xx.xx: Error running asnmap: Docker error while running projectdiscovery/asnmap:latest: Command '-i 94.2x.xx.xx -silent -json' in image 'projectdiscovery/asnmap:latest' returned non-zero exit status 1: b'[\x1b[1;31mFTL\x1b[0m] Could not read input from terminal: open /dev/tty: no such device or address\n' - Test run also failed: Command '-i 94.2x.xx.xx -silent -json' in image 'projectdiscovery/asnmap:latest' returned non-zero exit status 1: b'[\x1b[1;31mFTL\x1b[0m] Could not read input from terminal: open /dev/tty: no such device or address\n'. Output: No output
Author
Owner

@dextmorgn commented on GitHub (Nov 3, 2025):

@symsal,

Thanks for notifying, i'll take a look. It might not be related, but I think asnmap requires a projectdiscovery api key, namely PDCP_API_KEY.

But I don't explain it in the docs yet, and your issue is likely related to the transform itself, which is probably outdated.

I'll add it to the to-do list.

<!-- gh-comment-id:3481147997 --> @dextmorgn commented on GitHub (Nov 3, 2025): @symsal, Thanks for notifying, i'll take a look. It might not be related, but I think [asnmap](https://github.com/projectdiscovery/asnmap) requires a [projectdiscovery api key](https://cloud.projectdiscovery.io/?ref=api_key), namely `PDCP_API_KEY`. But I don't explain it in the docs yet, and your issue is likely related to the transform itself, which is probably outdated. I'll add it to the to-do list.
Author
Owner

@dextmorgn commented on GitHub (Nov 3, 2025):

@symsal,

could you checkout to fix/asnmap branch, re-run the project, and check if it's working for you ?

<!-- gh-comment-id:3481763963 --> @dextmorgn commented on GitHub (Nov 3, 2025): @symsal, could you checkout to `fix/asnmap` branch, re-run the project, and check if it's working for you ?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/flowsint#995