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

Nmap script ssl-cert does not report modulus and exponent #1876

Closed
p-l- opened this issue Jan 2, 2020 · 1 comment
Closed

Nmap script ssl-cert does not report modulus and exponent #1876

p-l- opened this issue Jan 2, 2020 · 1 comment
Assignees
Labels

Comments

@p-l-
Copy link

@p-l- p-l- commented Jan 2, 2020

The (structured) output of the Nmap script "ssl-cert" reports a "representation" of some integers (at least, the exponent and modulus of RSA keys), rather than their actual values:

$ nmap -n -PS443 -p 443 --script=ssl-cert -oX - www.nmap.org | \
>    grep -E '^<elem key="(modulus|exponent)">'
<elem key="exponent">BIGNUM: 0xXXXXXXXXXXXX</elem>
<elem key="modulus">BIGNUM: 0xXXXXXXXXXXXX</elem>
@nnposter
Copy link

@nnposter nnposter commented Jan 2, 2020

Thank you for reporting the issue. A fix has been committed as r37846.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.