- Replace all method calls to
Nmap::Program.scanwithNmap::Command.run. - Replace all method calls to
Nmap::Program.sudo_scanwithNmap::Command.sudo. - Rename all instances of
raw_ipwithsend_ip. - Rename all instances of
raw_ethernettosend_eth. - Rename all instances of
disable_stylesheettono_stylesheet. - Rename all instances of
nmap_stylesheettowebxml. - Rename all instances of
appendtoappend_output. - Rename all instances of
savetooutput_normal. - Rename all instances of
grepabletooutput_grepable. - Rename all instances of
skiddietooutput_skiddie. - Rename all instances of
xmltooutput_xml. - Rename all instances of
script_paramstoscript_args. - Remove any instances of the
:interactiveoption ornmap.interactive, as the--interactiveoption is no longer supported by nmap.
Nmap::XML.newnow only accepts a parsedNokogiri::XML::Documentobject. UseNmap::XML.openorNmap::XML.parseif you wish to parse XML files or strings.- Replace any method calls to
Nmap::XML.loadwith {Nmap::XML.parse}. - Rename any method calls to `` to
tcp_sequence. - Rename any method calls to
tcpsequencetotcp_sequence. - Rename any method calls to
ipidsequencetoip_id_sequence. - Rename any method calls to
tcptssequencetotcp_ts_sequence. - Rename any method calls to
prescriptstoprescript. - Rename any method calls to
postscriptstopostscript. - The scripts method now returns an Array of Nmap::XML::Script objects, instead of raw script output Strings. In order to access the raw script output Strings, call the output method on each returned Nmap::XML::Script objects instead.
- The
script_datamethod has been removed. In order to get the script's structured data, call the [data][Nmap::XML::Script#data] method on each returned Nmap::XML::Script objects instead. - Rename any method calls to
extrainfotoextra_info.