dmiller
d0536a3bad
Fix bitcoin-info displaying incorrect last block; add user agent output
2018-03-09 06:26:48 +00:00
dmiller
dacb82f242
Convert bitcoin.lua from bin to string packing
2018-03-09 06:26:47 +00:00
dmiller
fd93f27c28
Correctly support IPv6 for bitcoin NSE scripts
2018-03-09 06:26:47 +00:00
dmiller
8d46f720a5
Get more than one address. Fixes #1114 . Closes #1115
2018-03-09 06:26:46 +00:00
dmiller
4ef8fcc363
Simplify packing/unpacking command names for bitcoin (no counting nulls)
2018-03-09 06:26:45 +00:00
dmiller
2091ce3199
Fix endianness in unpacking IP addresses, since ipOps.fromdword is fixed. Fixes #750
2017-03-13 14:58:57 +00:00
dmiller
92f52de958
Remove trailing whitespace
2016-08-29 20:30:26 +00:00
dmiller
265e32dbd6
Avoid a couple potential format string problems
2016-08-18 23:53:45 +00:00
abhishek
c7852c6ec0
Adds Pong response, closes #383
2016-05-24 19:23:20 +00:00
abhishek
4d67d58d04
Removes the bug so as to compare cmd fixes #381
2016-05-24 19:23:17 +00:00
dmiller
f4619edece
Update http urls for nmap.org to https
2015-11-05 20:41:05 +00:00
dmiller
e2bfa97920
Replace instances of bin.pack('A', x), which is equivalent to tostring(x), and a no-op on strings
2015-03-03 04:48:18 +00:00
dmiller
4ea4977a37
Replace "buffered socket" classes with socket.receive_buf()
...
The match library has a helpful function for doing exactly this, with
less copy-and-pasted code:
http://nmap.org/nsedoc/lib/match.html#numbytes
2014-02-10 17:27:09 +00:00
dmiller
69e343f0aa
Reindent the last of the NSE libraries.
...
https://secwiki.org/w/Nmap/Code_Standards
2014-02-04 19:47:26 +00:00
dmiller
620f9fdb34
Remove trailing whitespace in lua files
...
Whitespace is not significant, so this should not be a problem.
https://secwiki.org/w/Nmap/Code_Standards
2014-01-23 21:51:58 +00:00
patrik
6f43ac38b2
SSL overhaul fixing OpenSSL related problems when SSL has not been compiled in
...
* replace require function calls with stndse.silent_require
* fixed a bug in nse_main that would fail creating scripts.db when a script
fails to load
* reworked some code to provide limited functionality even though SSL is not
present
2012-08-05 12:05:07 +00:00
batrick
000f6dc4d9
Lua 5.2 upgrade [1] for NSE.
...
[1] http://seclists.org/nmap-dev/2012/q2/34
2012-05-27 08:53:32 +00:00
patrik
bd2c9e01f6
o [NSE] Applied patch from Andrew Orr that fixes the recent changes in the
...
BitCoin protocol. [Patrik]
2012-02-20 19:12:38 +00:00
patrik
7b43d1cafb
o [NSE] Added the scripts bitcoin-info, bitcoin-getaddr and a supporting
...
Bitcoin library. The script bitcoin-info retrieves information about the
remote server, while the bitcoin-getaddr script retrieves a list of
discovered remote Bitcoin nodes. [Patrik]
2011-11-09 18:56:16 +00:00