<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/nmap4j/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/nmap4j/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 02 Oct 2015 17:46:45 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nmap4j/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>NMapProperties.getFullyFormattedCommand() not using sudoUser and sudoUserPassword properties</title><link>https://sourceforge.net/p/nmap4j/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I integrated Nmap4j into my application for nmap TCP SYN scanning. I tested on Windows and it works. When I test on Linux it fails because my application is running as non-root user.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://nmap.org/book/man-port-scanning-techniques.html" rel="nofollow"&gt;https://nmap.org/book/man-port-scanning-techniques.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Almost all scan types for nmap require root privileges, so nmap4j should ideally support sudo. In NMapProperties.java, I see variables sudoUser and sudoUserPassword are present. However, they are private with no way to set them.&lt;/p&gt;
&lt;p&gt;Ideally Nmap4j() constructor is  overloaded to accept optional sudo user, or optional sudo user and password. The values would be passed through to NMapProperties.java, and NMapProperties.getFullyFormattedCommand() would construct the command using sudo user, or sudo user and password, as appropriate.&lt;/p&gt;
&lt;p&gt;For me, the password is optional. I can add an entry to /etc/sudoers for my user to be able to run the nmap command without password. However, I am sure others would appreciate the option to specify the username and password. The end goal is the same, to have Nmap4J support privilege escalation required by nmap.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Cranford</dc:creator><pubDate>Fri, 02 Oct 2015 17:46:45 -0000</pubDate><guid>https://sourceforge.net7f658b854f56f21a3c902d35dd44e4d24d37d0be</guid></item><item><title>Nmap4j.getResult() is not thread safe</title><link>https://sourceforge.net/p/nmap4j/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Nmap4j.getResult() is not thread safe. Add synchronized keyword to Nmap4j.getResult(), or fix thread safety inside OnePassParser and NMapXmlHandler.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Cranford</dc:creator><pubDate>Thu, 02 Apr 2015 19:48:07 -0000</pubDate><guid>https://sourceforge.nete1687dededb0377ed3d146308c395c07af658ecc</guid></item><item><title>Script output is not handled</title><link>https://sourceforge.net/p/nmap4j/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If users want to run scripts via NSE there is no way to return or retrieve the output in Nmap4j.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jon Svede</dc:creator><pubDate>Wed, 31 Oct 2012 05:18:26 -0000</pubDate><guid>https://sourceforge.net5b24d3ac6720157fa7d300494f6e261c4158e63d</guid></item><item><title>CPE element from XML is not handled</title><link>https://sourceforge.net/p/nmap4j/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Common Platform Enumeration (CPE) is colon delimited string that is optionally provided by Nmap on either the service tag or the osclass that contains variable information about the target that is useful. It is documented here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://nmap.org/book/output-formats-cpe.html" rel="nofollow"&gt;http://nmap.org/book/output-formats-cpe.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Nmap4j needs to include this information.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jon Svede</dc:creator><pubDate>Wed, 31 Oct 2012 05:17:36 -0000</pubDate><guid>https://sourceforge.neta6bb05f498cf48795bb1cbe4a33aaa10bfc728f1</guid></item><item><title>Addresses are not enumerated</title><link>https://sourceforge.net/p/nmap4j/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When I scan a host on which both MAC address and IP address present, only one is present in the Nmap4j.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jon Svede</dc:creator><pubDate>Wed, 31 Oct 2012 03:53:20 -0000</pubDate><guid>https://sourceforge.net5d98b9806bb76f3451f1503b9be5b54ba9eba197</guid></item><item><title>ArgumentProperties.rdeplaceFlag() doesn't work as expected</title><link>https://sourceforge.net/p/nmap4j/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The ArgumentProperties.replaceFlag() has an unexpected issue.  If a user wants to override the -oX option (which defaults '-' for std out) the rest of the code still assumes it is getting the XML from processes output stream but instead it needs to get it from the file.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jon Svede</dc:creator><pubDate>Thu, 09 Jun 2011 03:22:37 -0000</pubDate><guid>https://sourceforge.netd53aa59b9f264a89ed9620308b4efb96efeece3c</guid></item></channel></rss>