mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 11:22:05 +00:00
Changed so that the stdnse.get_hostname method is used to determine the contents of the
Host request header.
This commit is contained in:
parent
c5cf1ab6e2
commit
45164ba18c
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ AJP = {
|
|||
|
||||
-- add host header if it's missing
|
||||
if ( not(self.headers['host']) ) then
|
||||
self.headers['host'] = self.host.ip
|
||||
self.headers['host'] = stdnse.get_hostname(self.host)
|
||||
end
|
||||
|
||||
-- add keep-alive connection header if missing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue