Nmap Development mailing list archives

Status Report for Djalal - #11 of 16


From: Djalal Harouni <tixxdz () gmail com>
Date: Tue, 13 Jul 2010 10:15:27 +0100

Status Report #11 of 16

Accomplishments:

* Coded a first prototype for the new NSE rules, it's not completed and
it's ugly, but it works.
Attached is a sample script 'test_rules_script' to test the new
implementation which can be found at
svn://svn.insecure.org/nmap-exp/djalal/nse-rules/

*Debug* output of the attached test_rules_script:
Starting Nmap 5.30BETA1 ( http://nmap.org ) at 2010-07-13 10:45 CET
...
NSE: Loaded 1 scripts for scanning.
NSE: Script Pre-scanning.
NSE: Starting runlevel 1 (of 1) scan.
NSE: NSE Script Threads (1) running:
NSE: Starting test_rules_script.
NSE: -----------------------------
NSE: SCRIPT_NAME: test_rules_script
NSE: SCRIPT_TYPE: prerule
NSE: -----------------------------
NSE: Finished test_rules_script.
Overall sending rates: 250.00 packets / s.
NSE: Script scanning 127.0.0.1.
NSE: Starting runlevel 1 (of 1) scan.
NSE: NSE Script Threads (2) running:
NSE: Starting test_rules_script against 127.0.0.1:60000.
NSE: Starting test_rules_script against 127.0.0.1.
NSE: -----------------------------
NSE: SCRIPT_NAME: test_rules_script
NSE: SCRIPT_TYPE: portrule
NSE: -----------------------------
NSE: -----------------------------
NSE: SCRIPT_NAME: test_rules_script
NSE: SCRIPT_TYPE: hostrule
NSE: -----------------------------
NSE: Finished test_rules_script against 127.0.0.1:60000.
NSE: Finished test_rules_script against 127.0.0.1.
Nmap scan report for 127.0.0.1
Host is up (0.0010s latency).
Scanned at 2010-07-13 10:45:09 CET for 0s
PORT      STATE SERVICE
60000/tcp open  unknown
Final times for host: srtt: 1000 rttvar: 5000  to: 100000

NSE: Script Post-scanning.
NSE: Starting runlevel 1 (of 1) scan.
NSE: NSE Script Threads (1) running:
NSE: Starting test_rules_script.
NSE: -----------------------------
NSE: SCRIPT_NAME: test_rules_script
NSE: SCRIPT_TYPE: postrule
NSE: -----------------------------
NSE: Finished test_rules_script.
Read from .: nmap-payloads nmap-services.
Nmap done: 1 IP address (1 host up) scanned in 0.17 seconds


Priorities:

* Continue work on the new NSE rules (prerule and postrule).
* Find a way to handle pre/post scripts output including xml.
* Find a way to enforce pre/post scripts timeout.


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


Current thread: