Nmap Development mailing list archives
bitcoin-getaddr fails with error
From: Mark Scrano <mscrano () ieee org>
Date: Fri, 30 Oct 2015 12:23:15 -0400
Hey guys,
The nmap bitcoin-getaddr script is failing on the latest version of bitcoin
core. After running the script with debug enabled an error occurs in the
bitcoin.lua script in the libraries.
NSE: bitcoin-getaddr against XX.XX.XX.XX:8333 threw an error!
/usr/local/bin/../share/nmap/nselib/bitcoin.lua:246: attempt to concatenate
local 'p_length' (a nil value)
stack traceback:
/usr/local/bin/../share/nmap/nselib/bitcoin.lua:246: in function 'parse'
/usr/local/bin/../share/nmap/nselib/bitcoin.lua:234: in function 'new'
/usr/local/bin/../share/nmap/nselib/bitcoin.lua:414: in function
</usr/local/bin/../share/nmap/nselib/bitcoin.lua:403>
(...tail calls...)
/usr/local/bin/../share/nmap/nselib/bitcoin.lua:529: in function
'getNodes'
/usr/local/bin/../share/nmap/scripts/bitcoin-getaddr.nse:55: in
function </usr/local/bin/../share/nmap/scripts/bitcoin-getaddr.nse:41>
(...tail calls...)
From what I can tell this may be an issue relating to bitcoin core versions
greater than 9 but I'm unsure. Any advice you can provide would be appreciated. Thanks Mark Scrano
_______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- bitcoin-getaddr fails with error Mark Scrano (Oct 30)
