diff --git a/CHANGELOG b/CHANGELOG index c89e4ebae..dfbc1ec60 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ # Nmap Changelog ($Id$); -*-text-*- +o [NSE] Removed a fixed value (28428) which was being set for the Request ID in + snmpWalk; a value based on nmap.clock_ms will now be set instead. [jah] + o [NSE] Add http-iis-short-name-brute script that detects Microsoft IIS servers vulnerable to a file/folder name disclosure and a denial of service vulnerability. The script obtains the "shortnames" of the diff --git a/nselib/snmp.lua b/nselib/snmp.lua index 2bf4c5f07..30ff462e5 100644 --- a/nselib/snmp.lua +++ b/nselib/snmp.lua @@ -473,7 +473,6 @@ function snmpWalk( socket, base_oid ) while ( true ) do local value, response, snmpdata, options, item = nil, nil, nil, {}, {} - options.reqId = 28428 -- unnecessary? payload = encode( buildPacket( buildGetNextRequest(options, oid) ) ) status, err = socket:send(payload)