Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Last chance to test 4.50! New candidate binaries.
From: "João Medeiros" <ignotus21 () gmail com>
Date: Wed, 12 Dec 2007 17:31:30 -0300

Hi,

    No, because raw_output is a vector and the return value must be a string.

Att, João Medeiros.

On Dec 12, 2007 5:27 PM, Kris Katterjohn <katterjohn () gmail com> wrote:
João Medeiros wrote:
Hi,

    I made two patchs to solve this problem. See attachments.

Att, João Medeiros.


 From NmapCommand.py.diff:

-        return "\\n".join(raw_output)
+        return "".join(raw_output)


Isn't "".join(raw_output) the same as just raw_output?

Surely correct me if I'm wrong as the only experience with Python I have
is the brief bit I worked on UMIT during the SoC :)

Thanks,
Kris Katterjohn


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]