Nmap Development mailing list archives
Re: GSoC 2011: NSE Script Development
From: Gorjan Petrovski <mogi57 () gmail com>
Date: Tue, 5 Apr 2011 16:04:43 +0200
Thanks. I actually got it working with a small optimization before I checked my mail. Sorry for the fuss. On Tue, Apr 5, 2011 at 5:36 AM, David Fifield <david () bamsoftware com> wrote:
On Tue, Apr 05, 2011 at 04:31:20AM +0200, Gorjan Petrovski wrote:I'm currently implementing the encryption for the backorifice-info script, and I have a problem with the multiplication of numbers which are too large for lua. Is there currently a workaround for that kind of problem in Nmap, like lua-bc http://penlight.luaforge.net/packages/lbc.html , or should I just hack around some kind of multiplication function which will do the trick for me?There are bignum routines in the openssl library. Unfortunately I don't see a multiply function, but that's probably because we just haven't defined a binding to it. So I would say, see if you can add a binding in nse_openssl.cc (you can probably mostly copy the l_bignum_add function). David Fifield
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Re: GSoC 2011: NSE Script Development Gorjan Petrovski (Apr 02)
- Re: GSoC 2011: NSE Script Development Gorjan Petrovski (Apr 02)
- Re: GSoC 2011: NSE Script Development Toni Ruottu (Apr 02)
- Re: GSoC 2011: NSE Script Development Gorjan Petrovski (Apr 02)
- Re: GSoC 2011: NSE Script Development Toni Ruottu (Apr 03)
- Re: GSoC 2011: NSE Script Development Gorjan Petrovski (Apr 03)
- Re: GSoC 2011: NSE Script Development Toni Ruottu (Apr 03)
- Re: GSoC 2011: NSE Script Development Gorjan Petrovski (Apr 04)
- Re: GSoC 2011: NSE Script Development David Fifield (Apr 04)
- Re: GSoC 2011: NSE Script Development Gorjan Petrovski (Apr 05)
- Re: GSoC 2011: NSE Script Development Gorjan Petrovski (Apr 06)
- Re: GSoC 2011: NSE Script Development Toni Ruottu (Apr 06)
- Re: GSoC 2011: NSE Script Development Toni Ruottu (Apr 06)
- Re: GSoC 2011: NSE Script Development Gorjan Petrovski (Apr 06)
- Re: GSoC 2011: NSE Script Development Gorjan Petrovski (Apr 06)
- Re: GSoC 2011: NSE Script Development David Fifield (Apr 06)
- Re: GSoC 2011: NSE Script Development Gorjan Petrovski (Apr 06)
- Re: GSoC 2011: NSE Script Development Gorjan Petrovski (Apr 06)
- BackOrifice service probe David Fifield (Apr 06)
- Re: BackOrifice service probe Brandon Enright (Apr 06)
- Re: GSoC 2011: NSE Script Development Toni Ruottu (Apr 02)
- Re: GSoC 2011: NSE Script Development Gorjan Petrovski (Apr 02)