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

ike-version error (table expected, got nil) #1340

Open
xpelican opened this issue Oct 3, 2018 · 2 comments
Open

ike-version error (table expected, got nil) #1340

xpelican opened this issue Oct 3, 2018 · 2 comments

Comments

@xpelican
Copy link

xpelican commented Oct 3, 2018

First of all, thank you so much to everyone out there developing for nmap, your work is highly appreciated.

I had an error output from ike-version.nse. Looking up the error, I saw one thread listed on the nmap site that had similar (though not same) error output as the one I was getting. I tried applying the solutions presented in that thread and they did not work for me, lengthening the error output instead. (Seeing the thread is from 2013, I assume the fixes in that thread are probably already part of nmap's default installation at this point, hence how they broke my version of the script.) I've since reinstalled nmap to have its default files.

Here's the error I'm getting:

NSE: Starting ike-version against XXX.XXX.XXX.XXX:500.
NSE: [ike-version XXX.XXX.XXX.XXX:500] Sending Aggressive mode packet ...
NSE: [ike-version XXX.XXX.XXX.XXX:500] Aggressive mode (dh 2) failed
NSE: [ike-version XXX.XXX.XXX.XXX:500] Sending Aggressive mode packet ...
NSE: [ike-version XXX.XXX.XXX.XXX:500] Aggressive mode (dh 1) failed
NSE: [ike-version XXX.XXX.XXX.XXX:500] Sending Aggressive mode packet ...
NSE: [ike-version XXX.XXX.XXX.XXX:500] Aggressive mode (dh 2, no id) failed
NSE: [ike-version XXX.XXX.XXX.XXX:500] Sending Main mode packet ...
NSE: ike-version against XXX.XXX.XXX.XXX:500 threw an error!

/usr/bin/../share/nmap/scripts/ike-version.nse:147: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
/usr/bin/../share/nmap/scripts/ike-version.nse:147: in function </usr/bin/../share/nmap/scripts/ike-version.nse:117>
(...tail calls...)
...
PORT STATE SERVICE REASON
500/udp open isakmp udp-response ttl 228

The destination machine is working as intended.
My Nmap version is 7.70.

Thank you in advance for your help.

@AndrewZwart
Copy link

Did you find the solution? I have the same issue.
Thanks!

@xpelican
Copy link
Author

Nope, sadly I never figured it out!

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

No branches or pull requests

2 participants