Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in the excess number of commands (NSE, modules) #61

Closed
trimstray opened this issue May 22, 2018 · 0 comments
Closed

Error in the excess number of commands (NSE, modules) #61

trimstray opened this issue May 22, 2018 · 0 comments

Comments

@trimstray
Copy link
Owner

trimstray commented May 22, 2018

Status: In Progress

Error in the excess number of commands (NSE, modules):

cli(nse_broadcast)> init 2 --args
broadcast-dhcp-discover.timeout (10s): 1s

terminal:
> internal

command:
> nmap --script=broadcast-dhcp-discover --script-args broadcast-dhcp-discover.timeout="1s" 127.0.0.1

Starting Nmap 7.70 ( https://nmap.org ) at 2018-05-22 11:57 CEST
Pre-scan script results:
| broadcast-dhcp-discover: 
|   Response 1 of 1: 
|     IP Offered: 192.168.252.100
|     DHCP Message Type: DHCPOFFER
|     Server Identifier: 192.168.252.10
|     IP Address Lease Time: 5m00s
|     Subnet Mask: 255.255.255.0
|     Router: 192.168.252.1
|     Domain Name Server: 10.240.30.2
|_    Domain Name: example.com
Nmap scan report for localhost (127.0.0.1)
[...]

Nmap done: 1 IP address (1 host up) scanned in 2.06 seconds

Result: pass


terminal:
> internal

command:
> nmap --script=broadcast-dhcp6-discover -6 127.0.0.1

Starting Nmap 7.70 ( https://nmap.org ) at 2018-05-22 11:57 CEST
Warning: Hostname 127.0.0.1 resolves, but not to any IPv6 address. Try scanning without -6
Failed to resolve "127.0.0.1".
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 5.26 seconds

Result: pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant