Nmap daytime NSE Script


This page contains detailed information about how to use the daytime NSE script. For list of all NSE scripts, visit the Nmap NSE Library.

Script Overview


Script source code: https://github.com/nmap/nmap/tree/master/scripts/daytime.nse
Script categories: discovery, safe
Target service / protocol: daytime, tcp, udp
Target network port(s): 13
List of CVEs: -

Script Description


The daytime.nse script retrieves the day and time from the Daytime service.

Daytime NSE Script Arguments


The daytime.nse script does not have any arguments.

Daytime NSE Script Example Usage


Here's an example of how to use the daytime.nse script:

nmap --script=daytime <target>

Daytime NSE Script Example Output


Here's a sample output from the daytime.nse script:

PORT   STATE SERVICE
13/tcp open  daytime
|_daytime: Wed Mar 31 14:48:58 MDT 2010

Daytime NSE Script Example XML Output


There is no sample XML output for this module. However, by providing the -oX <file> option, Nmap will produce a XML output and save it in the file.xml file.

Author


  • Diman Todorov

References


See Also


Visit Nmap NSE Library for more scripts.

Version


This page has been created based on Nmap version 7.92.