Saltar al contenido
Underc0de /foro

New Nmap binding for Python python3-nmap

Iniciado por latest-release, Mayo 13, 2020, 12:05:45 PM

Tema anterior - Siguiente tema

0 Miembros y 2 Visitantes están viendo este tema.

Avatar de latest-release

Nmap is among the most popular old pentesting tools out there used by many pentesters. It is initially written in C and other scripting languages.
Many scripting languages are used in pentesting and so there is a need to automate a lot of common pentestings tasks for example port scanning and service detection which nmap offers.  Python being among the pentestings scripting languages out there, it has binding for nmap one which was python-nmap which is very famous. When we were building and online Los enlaces son solo para miembros. Registrate o iniciá sesión. We needed a simple tool and so we wrote out new python3-nmap which is very easy to use. for example;

$ pip3 install python3-nmap

In nmap to scan for top ports you do something like this

import nmap3
nmap = nmap3.Nmap()
results = nmap.scan_top_ports("192.168.178.1")
# And you would get your results in json

It has more features like dns_brute_script for Los enlaces son solo para miembros. Registrate o iniciá sesión and other advanced Los enlaces son solo para miembros. Registrate o iniciá sesión, Version detection

WhatsApp Telegram

¿Te quedó una duda sobre International forum?

Preguntala y te responde la comunidad (y el asistente Underc0de IA si nadie llega antes). Es gratis y tarda un minuto.

Ya tengo cuenta
Guardamos tu pregunta en este navegador: después de entrar la publicás con un clic.
Grupo de WhatsApp