# 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*
