ncl-tools

Tools for National Cyber League Competition

View on GitHub

Scanning and Reconnaissance

Online Scanning and Reconnaissance Tools

More Scanning and Reconnaissance Tools

Dirb

Dirb is a tool to perform a dictionary based attack against web server; scan web server for directories using a dictionary file.

Nikto

nikto is a web server scanner, tests for dangerous files and programs, security vulnerabilities.

WFuzz

WFuzz is a web application security fuzzer tool and Python library. A HackTricks article on using WFuzz is found here.

Nslookup

Syntax:

nslookup [options] [website or IP address]

Running without options should return the IP address associated with a website (or website associated with IP address).

Nslookup options:

How to use nslookup:

Dig

Dig documentation found here. Dig (domain information groper) is a flexible tool for interrogating DNS name servers. Basic usage looks like the following:

dig @server name type

where server is the name or IP address of the name server to query. This can be an IPv4 address in dotted-decimal notation or an IPv6 address in colon-delimited notation. name is the name of the resource record that is to be looked up. type indicates what type of query is required. Valid query types include: A, AAAA, MX, SIG, SOA, TXT, etc.

Nmap

Nmap — “Network Mapper”, a network scanning tool.

OpenSSL

The Heartbleed Bug

The Heartbleed Bug is a vulnerability in the OpenSSL cryptographic software library.

Investigate if an https page is vulnerable to heartbleed:

sudo sslscan <ip address>:443

Or with an nmap script:

nmap -sV --script=ssl-heartbleed <ip address>

Exploit Heartbleed vulnerability:

HTTP response status codes

DNS Record Types

SSH Key Pairs

SSH employs public key cryptography (a.k.a. asymmetric cryptography), which requires two separate keys: one private key, and one public key. Together, the public and private key compose a key pair. In SSH, the public key cryptography is used in both directions (client to server and server to client), so two key pairs are used. One key pair is the host (server) key; one is the user (client) key. This article details how to generate an SSH Key Pair.

Acronyms and Definitions