Nmap Development mailing list archives
Re: implementing nmap in python
From: "Guilherme Polo" <ggpolo () gmail com>
Date: Tue, 28 Aug 2007 11:15:52 -0300
2007/8/28, Giorgio Zoppi <giorgio.zoppi () gmail com>:
On Sun, 2007-08-26 at 17:09 -0300, Guilherme Polo wrote:2007/8/26, Julius Kuhn <julikr678 () gmail com>:Hello! I am currently working on a python program. I mean its basically a shell and im trying to use nmap to portscan a host. I just wanted to know if there is an easy way to implement it other then os.system etc.Don't use os.system, use subprocess.otherwise i would have to write my own portscanner. Thanks ..I don't believe this reason you are pointing is good enough to make a new portscanner. If you wish to do something like import nmap; nmap.scan(something) and etc, you will need to create a set of nmap bindings for Python, and that will be easier than creating a new portscanner that equals to nmap.In order to do something similar, it will be useful a libnmap written in C,
Good proposal right there. It doesn't need to be in C, C++ would be possible too.
so still your gui it will avoid to start on more process to scan hosts.
I didn't understand this. Are you talking about performance ?
Cheers, Giorgio.
-- -- Guilherme H. Polo Goncalves _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- implementing nmap in python Julius Kuhn (Aug 26)
- Re: implementing nmap in python João Paulo de Souza Medeiros (Aug 26)
- Re: implementing nmap in python Guilherme Polo (Aug 26)
- Re: implementing nmap in python Giorgio Zoppi (Aug 28)
- Re: implementing nmap in python Guilherme Polo (Aug 28)
- Message not available
- Re: implementing nmap in python Guilherme Polo (Aug 28)
- Re: implementing nmap in python Max (Aug 28)
- Re: implementing nmap in python Guilherme Polo (Aug 28)
- Re: implementing nmap in python Max (Aug 28)
- Re: implementing nmap in python Joshua D. Abraham (Aug 28)
- Re: implementing nmap in python Giorgio Zoppi (Aug 28)
- <Possible follow-ups>
- Re: implementing nmap in python Julius Kuhn (Aug 27)
- Re: implementing nmap in python Benson Kalahar (Aug 27)
- Re: implementing nmap in python Giorgio Zoppi (Sep 05)