|
Revision 3650, 0.6 kB
(checked in by luis, 5 years ago)
|
|
Changed locate of style and fix table style
|
| Line | |
|---|
| 1 | |
|---|
| 2 | |
|---|
| 3 | from umitCore.NmapParser import NmapParser |
|---|
| 4 | file_to_parse = open("/home/bastiao/Desktop/export.usr") |
|---|
| 5 | #file_to_parse = open("quick.usr") |
|---|
| 6 | np = NmapParser(file_to_parse) |
|---|
| 7 | np.parse() |
|---|
| 8 | |
|---|
| 9 | #from pprint import pprint |
|---|
| 10 | #print "Profile:", np.profile |
|---|
| 11 | #print "Profile name:", np.profile_name |
|---|
| 12 | #print "Profile description:", np.profile_description |
|---|
| 13 | #print "Profile hint:", np.profile_hint |
|---|
| 14 | #print "Profile annotation:", np.profile_annotation |
|---|
| 15 | #print "Profile options:", np.profile_options |
|---|
| 16 | |
|---|
| 17 | import umitExport.HTML.Parse |
|---|
| 18 | a = umitExport.HTML.Parse.ExportHTML(np, \ |
|---|
| 19 | "file.html") |
|---|
| 20 | a.save() |
|---|