PR #3371 adds three functions to nselib/bitcoin.lua:
- looks_like_address(value) -- regex candidate detection
- validate_address(value) -- Base58Check, Bech32, Bech32m validation
- classify_address(value) -- high-level classification
Supports mainnet, testnet, and regtest with full unittest (38/38 pass).
No network calls, no external APIs, no real keys, no changes to existing
scripts.
PR: https://github.com/nmap/nmap/pull/3371
Issue: https://github.com/nmap/nmap/issues/2857
GraoMelo
Enviado com um e-mail seguro do [Proton Mail](https://proton.me/mail/home).
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at https://seclists.org/nmap-dev/