1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-25 08:59:01 +00:00
Files
nmap/nselib
dmiller 829fbef715 Fix human-readable sizes in ls.lua
First, enforce significant digits when converting, e.g. 1.1K to bytes.
Next, use the server-returned human-readable format instead of
converting to bytes by default. The conversion to bytes is still done to
get total byte count.

Also changed how boolean options work to better match existing
convention: --script-args ls.human or --script-args ls.human=1 now work.
You must explicitly say "false", "no", or "0" to make a boolean flag
false (or just leave it out).
2015-09-04 14:23:14 +00:00
..
2015-03-02 14:39:29 +00:00
2015-02-28 12:43:59 +00:00
2015-02-28 12:43:59 +00:00
2015-02-28 12:43:59 +00:00
2014-02-19 04:15:46 +00:00
2014-02-19 04:15:46 +00:00
2015-02-28 12:43:59 +00:00
2015-02-28 12:43:59 +00:00
2015-02-28 12:43:59 +00:00
2015-03-02 14:39:29 +00:00
2015-02-10 05:58:46 +00:00
2015-03-02 14:39:29 +00:00
2015-02-28 12:43:59 +00:00
2015-03-02 14:39:29 +00:00
2014-03-10 19:01:19 +00:00
2014-02-03 19:47:34 +00:00
2015-02-28 12:43:59 +00:00
2015-08-04 14:21:48 +00:00
2014-08-23 21:35:32 +00:00
2015-02-28 12:43:59 +00:00
2015-03-02 14:39:29 +00:00
2015-02-27 14:55:25 +00:00
2015-02-28 12:43:59 +00:00
2015-02-28 12:43:59 +00:00
2015-03-02 14:39:29 +00:00
2014-09-02 18:23:06 +00:00
2014-02-03 19:47:34 +00:00
2015-09-04 14:23:14 +00:00
2014-06-26 20:12:54 +00:00
2015-02-28 12:43:59 +00:00
2014-02-03 19:47:34 +00:00
2014-02-19 04:15:46 +00:00
2015-03-02 14:39:29 +00:00
2015-03-02 14:39:29 +00:00
2015-03-02 14:39:29 +00:00
2014-02-03 19:47:34 +00:00
2015-03-02 14:39:29 +00:00
2014-02-19 04:15:46 +00:00
2014-02-19 04:15:46 +00:00
2015-02-28 12:43:59 +00:00
2014-02-19 04:15:46 +00:00
2014-02-19 04:15:46 +00:00
2015-02-28 12:43:59 +00:00
2014-09-02 18:23:06 +00:00
2015-03-02 14:39:29 +00:00
2015-02-28 12:43:59 +00:00
2014-02-19 04:15:46 +00:00
2014-03-04 17:05:04 +00:00