Skip to content

Commit

Permalink
Fix: NASL documentation get_host_name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kraemii authored and nichtsfrei committed Jan 26, 2023
1 parent fbfe000 commit 80bc0e7
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 25 deletions.
19 changes: 19 additions & 0 deletions doc/manual/nasl/built-in-functions/host-functions/get_host_name.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# get_host_name

## NAME

**get_host_name** - get the currently scanned host

## SYNOPSIS

*string* **get_host_name**();

**get_host_name** takes no arguments

## DESCRIPTION

Get the host name of the currently scanned target. If there is no host name available, the IP of the target is returned instead.

## RETURN VALUE

Return the found host name or IP as *string*
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# get_host_name
# get_host_names

## NAME

Expand Down

This file was deleted.

0 comments on commit 80bc0e7

Please sign in to comment.