Nmap Development mailing list archives
Re: nmap_tty and debugging
From: Patrick Donnelly <batrick () batbytes com>
Date: Mon, 22 Mar 2010 13:57:29 -0400
On Sun, Mar 21, 2010 at 11:08 PM, David Fifield <david () bamsoftware com> wrote:
On Sun, Mar 21, 2010 at 01:52:59AM -0400, Patrick Donnelly wrote:I noticed the NSE Infrastructure list of possible tasks was a bit short so I thought I'd add some things I'd like to see done that I don't have time to do myself right now: o NSE debugger: o Find a way to fix nmap_tty to allow Lua-like debugging (a la debug.debug()).I don't disagree that this is a good idea. As a note to people who need to know the current workaround to this problem, it's to use the (undocumented?) --noninteractive option. That makes it so Nmap doesn't grab the TTY and you can see your own typing in the Lua debugger. I also use it with "valgrind --db-attach=yes". A side effect is that you lose runtime interaction.
Cool. I didn't realize the --noninteractive option did that. For the future I think it would be great to allow the interactive option but pressing a certain key (just like [dDvV?]) enters debugging mode just like debug.debug() or similar. -- - Patrick Donnelly _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- NSE [GSoC] Infrastructure Tasks Patrick Donnelly (Mar 20)
- nmap_tty and debugging David Fifield (Mar 21)
- Re: nmap_tty and debugging Patrick Donnelly (Mar 22)
- nmap_tty and debugging David Fifield (Mar 21)