nmap-node

A package to interact with nmap from code!

Usage no npm install needed!

<script type="module">
  import nmapNode from 'https://cdn.skypack.dev/nmap-node';
</script>

README

��#� �n�m�a�p� �n�o�d�e� � � � �A� �p�a�c�k�a�g�e� �t�o� �i�n�t�e�r�a�c�t� �w�i�t�h� �n�m�a�p� �f�r�o�m� �c�o�d�e�!� � � � �#�#� �I�n�s�t�a�l�a�t�i�o�n� � � � �F�o�r� �t�h�i�s� �p�a�c�k�a�g�e� �t�o� �w�o�r�k� �y�o�u� �n�e�e�d� �[�n�m�a�p�]�(�h�t�t�p�s�:�/�/�n�m�a�p�.�o�r�g�)� �a�n�d� �[�n�o�d�e�]�(�h�t�t�p�s�:�/�/�n�o�d�e�j�s�.�o�r�g�/�e�s�/�)� �i�n�s�t�a�l�l�e�d� �i�n� �y�o�u�r� �m�a�c�h�i�n�e�.� � � � � npm: npm install nmap-node � � � � �#�#� �U�s�a�g�e� � � � �js //Import the module const scanner = require("nmap-node"); //Create a new client and define the target let Client = new scanner("10.0.0.1"); //Run the scan Client.regularScan(); //On raw data print it Client.on("raw", (output) => { console.log(output); }); Client.on("error", (error) => { console.log(error); }); � � �