-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: NASL documentation get_host_name
- Loading branch information
1 parent
fbfe000
commit 80bc0e7
Showing
3 changed files
with
20 additions
and
25 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
doc/manual/nasl/built-in-functions/host-functions/get_host_name.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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* |
2 changes: 1 addition & 1 deletion
2
doc/manual/nasl/built-in-functions/host-functions/get_host_names.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# get_host_name | ||
# get_host_names | ||
|
||
## NAME | ||
|
||
|
24 changes: 0 additions & 24 deletions
24
doc/manual/nasl/built-in-functions/network-functions/get_host_name.md
This file was deleted.
Oops, something went wrong.