Nmap Development mailing list archives
Re: nmap_lua attack scripting beta release
From: Brandon Enright <bmenrigh () ucsd edu>
Date: Tue, 04 Jul 2006 03:58:06 +0000
On Mon, 2006-07-03 at 22:29 +0200, Diman Todorov wrote:
Hello list, I just finished and published the beta release of nmap-lua. Nmap-lua does for nmap what NASL does for nessus. With nmap-lua you can write custom penetration tests in lua. They are run against an open port if the rule you have specified matches. Output is provided in the trusty, worthy nmap tab and in the xml report which can be converted to html. To test it: wget http://xover.mud.at/~diman/nmap-4.20ALPHA3-LUA.tar.bz2 tar -jxvf nmap-4.20ALPHA3-LUA.tar.bz2 cd nmap-4.20ALPHA3-LUA ./configure && make ./nmap -sC somehost For more usage information refer to nmap-4.20ALPHA3-LUA/README_LUA Some demo scripts are provided in nmap-4.20ALPHA3-LUA/nmap_scripts I am looking forward to bug reports/feedback/opinions cheers Diman
Please excuse this email if it shouldn't have gone to the list. I can't get nmap_lua.cc to build. I'm not particularly adept at tracking down compile-time errors otherwise I'd send you a patch. The make fails on this command: g++ -c -Ilibdnet-stripped/include -g -O2 -Wall -Ilibpcap -Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_VERSION=\"4.20ALPHA3-LUA\" -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://www.insecure.org/nmap/\" -DNMAP_PLATFORM=\"i686-pc-linux-gnu\" -DNMAPDATADIR= \"/usr/local/share/nmap\" nmap_lua.cc -o nmap_lua.o The output produced is: nmap_lua.cc: In function `int init_lua(lua_State*)': nmap_lua.cc:130: error: `luaL_Reg' does not name a type nmap_lua.cc:142: error: expected initializer before '*' token nmap_lua.cc:143: error: `lib' was not declared in this scope [...long list of similar errors snipped...] nmap_lua.cc:640: error: `LUA_ENVIRONINDEX' was not declared in this scope nmap_lua.cc:640: error: `lua_getfield' was not declared in this scope nmap_lua.cc:636: warning: unused variable 'luaL_checkinteger' nmap_lua.cc:640: warning: unused variable 'LUA_ENVIRONINDEX' make: *** [nmap_lua.o] Error 1 I'm running g++ (GCC) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9). Please let me know if there is anything I can do to help you with this problem. Brandon _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev
Current thread:
- Re: nmap_lua attack scripting beta release Diman Todorov (Jul 03)
- Re: nmap_lua attack scripting beta release Fyodor (Jul 03)
- Re: nmap_lua attack scripting beta release kx (Jul 03)
- Re: nmap_lua attack scripting beta release Diman Todorov (Jul 04)
- Re: nmap_lua attack scripting beta release kx (Jul 03)
- Re: nmap_lua attack scripting beta release Brandon Enright (Jul 03)
- Re: nmap_lua attack scripting beta release Fyodor (Jul 03)
