Nmap Development mailing list archives

Re: Problem saving pages with http-headers.nse script


From: al bell <ab4250 () gmail com>
Date: Fri, 25 Jan 2013 15:43:29 -0800

Ok. It seems that the data is pulled ,as the script-trace shows, it is just
not saved as output...... I will try to figure it out. If anyone on the
list can help, it will be greatly appreciated.

Al


On Fri, Jan 25, 2013 at 11:05 AM, David Fifield <david () bamsoftware com>wrote:

On Fri, Jan 25, 2013 at 10:57:32AM -0800, al bell wrote:
I get it now, your example shows how to pass the parameter, which the NSE
does not.....

The GET is issued, but the html itself is not saved in the output.......

This is what should be there:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>Go ahead and ScanMe!</title>


1e2e
<link REL="SHORTCUT ICON" HREF="/shared/images/tiny-eyeicon.png"
TYPE="image/png">
<META NAME="ROBOTS" CONTENT="NOARCHIVE">
<link rel="stylesheet" href="/shared/css/insecdb.css" type="text/css">
</HEAD>
<BODY BGCOLOR="#2A0D45" TEXT="#000000">

<TABLE CELLPADDING="0" WIDTH="100%" CELLSPACING="0">
<TR><TD ALIGN="left"><A HREF="/"><IMG BORDER=0 ALT="Home page logo"
SRC="/images/sitelogo.png" HEIGHT=90 WIDTH=168></A></TD>
<TD VALIGN="bottom" ALIGN="right">

The script does not save the body of pages, only the headers. If you
need the body, you need to modify the script. There isn't a script for
that.

David Fifield

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


Current thread: