Skip to content
KitploitKITPLOIT
HerramientasExploitsBlog
Log in
Enviar
HerramientasExploitsBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

FeedsContactoPrivacidad© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
Loading categories
Herramientas/GitHubGitHub/jtibaquira/nsearch
Vulnerability AnalysisInformation GatheringUtilities & Frameworks
GitHubjtibaquira/nsearch

nsearch

minimal script to help find script into the nse database

Ver RepositorioSitio web
1303772hace 6 díasRevisado por Kitploit
Compartir
Contenido no disponible en el idioma solicitado. Mostrando versión en inglés.
  ================================================
    _   _  _____  _____                     _
   | \ | |/  ___||  ___|                   | |
   |  \| |\ `--. | |__    __ _  _ __   ___ | |__
   | . ` | `--. \|  __|  / _` || '__| / __|| '_  |
   | |\  |/\__/ /| |___ | (_| || |   | (__ | | | |
   \_| \_/\____/ \____/  \__,_||_|    \___||_| |_|
  ================================================
   Version 0.6b  https://github.com/jtibaquira/nsearch  @jjtibaquira
   Email: [email protected]
  ================================================

Nmap Scripting Engine Search

Description

NSEarch helps you find the scripts used by nmap (NSE). You can search by name, category, and author, or combine all three in a single query. You can also read a script's documentation, keep a list of favorites, run nmap with predefined templates, and run workflows: chains of scans where each stage only scans what earlier stages found, with reports you can save and compare.

Version

0.6b

Requirements

  • Python 3.12 or later. It is the oldest version with at least one more year of security support, until October 2028
  • nmap

On Windows 10/11, install Python 3.12 or later and the official Nmap installer, including Npcap. The Windows installer accepts either the Python launcher (py -3) or python.

The Python dependencies are listed in requirements.txt. The install script places them in a local virtual environment.

Installation

Get the code first:

$ git clone https://github.com/jtibaquira/nsearch.git
$ cd nsearch

Automatic installation

The script supports Debian, Ubuntu, Red Hat, Fedora, CentOS, and macOS. On Linux, it uses sudo to install system packages.

$ bash install.sh

Use bash, not sh: under sh, the script stops and asks you to run it with bash.

Windows 10/11 installation

Run PowerShell from the project directory:

powershell -ExecutionPolicy Bypass -File .\install.ps1

The installer creates .venv and config.yaml. If Nmap is installed in a different directory, pass its installation path with -NmapDir:

powershell -ExecutionPolicy Bypass -File .\install.ps1 -NmapDir 'D:\Tools\Nmap'

NSEarch runs the nmap.exe in the folder above scriptsPath when scriptsPath is a full path with a drive letter or a network share, or the one in a standard Nmap install folder. It never runs an nmap.exe from PATH or from the current folder.

The installer restricts the project folder to your account, SYSTEM, and Administrators. New files and folders inside it, including the configuration and the SQLite database, inherit those permissions, while reports gets its own ACL restricted to your account as owner, SYSTEM, and Administrators. It does not request or need Administrator privileges. If it cannot apply the permissions, it stops and advises you to clone the project into a folder you own.

In config.yaml, quote Windows paths with single quotes. Do not put a trailing slash on scriptsPath:

config:
  scriptsPath: 'C:\Program Files (x86)\Nmap\scripts'
  filePath: 'C:\Program Files (x86)\Nmap\scripts\script.db'

Run NSEarch with the virtual environment's Python:

.\.venv\Scripts\python.exe nsearch.py

Without Administrator privileges, nmap uses a connect scan (-sT), as it does without root on Unix. The included templates and workflows do not use -sS, -O, -sU, or -A.

The Windows console does not provide readline, so Tab autocompletion is unavailable. NSEarch enables ANSI colors at startup; older consoles that do not support them may show the color codes as text. Windows Terminal is recommended.

If you press Ctrl+C during a workflow, nmap is stopped. Use workflow resume id:<id> to continue with the saved results; see Workflows for resume behavior.

Manual installation

Install nmap and Python 3.12 or later, then create the virtual environment:

$ python3 -m venv .venv
$ .venv/bin/pip install -r requirements.txt

Find the path to script.db:

$ find /usr /opt -type f -name script.db 2>/dev/null

Copy config.yaml.example to config.yaml in the main directory of the project, and set the paths you found:

config:
  scriptsPath: '/usr/share/nmap/scripts/'
  filePath: '/usr/share/nmap/scripts/script.db'
  fileBackup: 'scriptbk.db'
  scriptdb: 'nmap_scripts.sqlite3'
  categories: ["auth","broadcast","brute","default","discovery","dos","exploit","external","fuzzer","intrusive","malware","safe","version","vuln"]
  checksum: ''

Usage

$ .venv/bin/python nsearch.py

The first run creates the local database. Later runs rebuild it only when nmap's script.db changes, and your favorites are kept.

Basic commands

nsearch> help

Nsearch Commands
================
EOF     clear   doc   help     last    run     showfav
addfav  delfav  exit  history  modfav  search  workflow
nsearch> help search

    name     : Name of the script
    category : Search by category
    author   : Search by author
    Usage:
      search name:http
      search category:exploit
      search author:fyodor
      search name:http category:exploit author:fyodor

Searching for scripts

Results are sorted by name. Use quotes when a value contains spaces, such as search author:"Paulino Calderon".

nsearch> search name:http author:calderon category:vuln
*** Name                                     Author
[+] http-adobe-coldfusion-apsa1301.nse       Paulino Calderon <[email protected]>
[+] http-avaya-ipoffice-users.nse            Paulino Calderon <[email protected]>
[+] http-awstatstotals-exec.nse              Paulino Calderon <[email protected]>
...

Use last to display the most recent results again.

Reading a script's documentation

doc accepts the script name with or without .nse. Press TAB to autocomplete from the last results.

nsearch> doc sshv1.nse
description = [[
Checks if an SSH server supports the obsolete and less secure SSH Protocol Version 1.
]]
author = "Brandon Enright"
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
categories = {"default", "safe"}

Favorites

nsearch> addfav name:http-vuln-cve2012-1823.nse ranking:great
[+] http-vuln-cve2012-1823.nse The script was added successfully

nsearch> addfav name:sslv2.nse
[+] sslv2.nse The script was added successfully

nsearch> showfav
*** Name                                     Ranking
[+] http-vuln-cve2012-1823.nse               great
[+] sslv2.nse                                normal

nsearch> modfav name:sslv2.nse newranking:great
[+] sslv2.nse The script was updated successfully

nsearch> delfav name:sslv2.nse
[+] sslv2.nse The script was removed successfully

showfav also accepts filters, such as showfav ranking:great or showfav name:http ranking:great.

Running nmap with templates

Only scan systems that you own or are explicitly authorized to test.

run requires a target and a template. The target can be a host name, an IP address, or a network range.

Add output:<name> to also save the results as plain text in reports/<name>.txt, for example run template:http net:192.0.2.10 output:http-scan. The name must be a single file name, without a folder; .txt is optional. The file gets the same restricted permissions as workflow reports, and an existing file is never overwritten: run says so and does not scan. Nothing is saved if the scan is cancelled, blocked or fails.

nsearch> run template:ping net:127.0.0.1
Running scan
----------------------------------------------------
Host : 127.0.0.1 (localhost)
State : up

The templates are in the templates directory:

Descargar herramienta

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 El kit de herramientas OSINT definitivo: grafo de investigación, puntuación de confianza, familias de alias, mapa, línea de tiempo e informes. 49 módulos, más de 400 sitios, sin necesidad de claves API.

    540
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # Aplicación de Ejecución con un Solo Toque GhostLock (CVE-2026-43499)

    476
  • 3

    ARTEX

    baarai/artex

    Plataforma de pruebas de penetración autónoma multiagente basada en LLM con agentes planificadores/trabajadores, grafos de activos y de exploración, registro de tráfico MITM y reevaluación de vulnerabilidades.

    373
  • 4

    redforge

    cybersecurity91/redforge

    Kit de herramientas de red team del lado del navegador con 102 herramientas offline para reconocimiento, generación de payloads, ataques de credenciales, criptografía, codificación y elaboración de informes de compromiso.

    322
  • 5

    estorides

    grisuno/estorides

    Agrega más de 99 fuentes OSINT gratuitas en paralelo, resuelve entidades en un grafo de conocimiento y exporta STIX 2.1, MISP o GraphML con análisis asistido por LLM.

    278
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    El sistema de acción para la ciberseguridad nativa de IA—donde la intención se convierte en ejecución gobernada, la evidencia se convierte en memoria operativa y cada operación mejora la siguiente.

    251

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →