Code Monkey home page Code Monkey logo

nse-web-techno's Introduction

Nmap NSE web_techno

Detect web technology base on wappalyer

Installation

Need npm and jq

sudo npm install -g wappalyzer
sudo pacman -S jq
sudo cp web_techno.nse /usr/share/nmap/scripts/web_techno.nse
sudo nmap --script-updatedb

Usage

nmap --script web_techno github.com

output:

Github:
PORT    STATE SERVICE
80/tcp  open  http
| web_techno: 
|_  Redirection to: https://github.com/
443/tcp open  https
| web_techno: 
|   [CRM] Salesforce:unknow
|   [Web frameworks] Ruby on Rails:unknow
|   [PaaS] Amazon Web Services:unknow
|   [PaaS] GitHub Pages:unknow
|   [Webmail] Google Workspace:unknow
|   [Email] Google Workspace:unknow
|_  [SSL/TLS certificate authorities] DigiCert:unknow
Arch wiki:
PORT    STATE SERVICE
443/tcp open  https
| web_techno: 
|   [Wikis] MediaWiki:1.34.0
|   [Web servers] Nginx:1.16.1
|   [Reverse proxies] Nginx:1.16.1
|_  [Programming languages] PHP:7.4.4
Use -sV with non standards ports

Exemple:

nmap --script web_techno  localhost
...
PORT      STATE SERVICE
22/tcp    open  ssh
80/tcp    open  http
| web_techno:
|   [JavaScript graphics] D3:3.0.8
|   [Web servers] Nginx:1.16.1
|_  [Reverse proxies] Nginx:1.16.1
8000/tcp  open  http-alt
12345/tcp open  netbus

Now with -sV:

nmap -sV --script web_techno  localhost
PORT      STATE SERVICE VERSION
22/tcp    open  ssh     OpenSSH 8.2 (protocol 2.0)
80/tcp    open  http    nginx 1.16.1
|_http-server-header: nginx/1.16.1
| web_techno:
|   [JavaScript graphics] D3:3.0.8
|   [Web servers] Nginx:1.16.1
|_  [Reverse proxies] Nginx:1.16.1
8000/tcp  open  http    SimpleHTTPServer 0.6 (Python 3.8.2)
|_http-server-header: SimpleHTTP/0.6 Python/3.8.2
| web_techno:
|   [Programming languages] Python:3.8.2
|_  [Web servers] SimpleHTTP:0.6
12345/tcp open  http    SimpleHTTPServer 0.6 (Python 3.8.2)
|_http-server-header: SimpleHTTP/0.6 Python/3.8.2
| web_techno:
|   [JavaScript graphics] D3:3.0.8
|   [Programming languages] Python:3.8.2
|_  [Web servers] SimpleHTTP:0.6

TODO:

  • Link cve to founded techno
  • Exploit cve

nse-web-techno's People

Contributors

mmpx12 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nse-web-techno's Issues

ltn12.lua variable 'unpack' is not declared

Did you ever have this issue?

Starting Nmap 7.80 ( https://nmap.org ) at 2020-08-22 22:45 EDT
NSE: Updating rule database.
NSE: Failed to load /usr/bin/../share/nmap/scripts//web_techno.nse:
/usr/share/lua/5.3/ltn12.lua:12: variable 'unpack' is not declared
stack traceback:
        [C]: in function 'libssh2-utility.error'
        /usr/bin/../share/nmap/nselib/strict.lua:80: in metamethod '__index'
        /usr/share/lua/5.3/ltn12.lua:12: in main chunk
        [C]: in function 'libssh2-utility.require'
        /usr/share/lua/5.3/socket/http.lua:12: in main chunk
        [C]: in function 'libssh2-utility.require'
        /usr/bin/../share/nmap/scripts//web_techno.nse:22: in function </usr/bin/../share/nmap/scripts//web_techno.nse:1>
NSE: failed to initialize the script engine:
/usr/bin/../share/nmap/nse_main.lua:614: could not load script
stack traceback:
        [C]: in function 'libssh2-utility.error'
        /usr/bin/../share/nmap/nse_main.lua:614: in field 'new'
        /usr/bin/../share/nmap/nse_main.lua:1294: in main chunk
        [C]: in ?

QUITTING!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.