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

osgi-info.nse script - gather system information via OSGi console #1124

Open
wants to merge 6 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@QKaiser

QKaiser commented Feb 1, 2018

This NSE scripts connects to an OSGi console and use the getprop command to retrieve:

  • username running the service
  • complete OS version
  • complete Java VM and Runtime versions

For more information about OSGi, you can check pull request #1123

@cldrn

This comment has been minimized.

Member

cldrn commented Jun 23, 2018

Thank you for contributing. The script looks great, although the bin library is deprecated and we prefer scripts to use the string library in Lua 5.3 for pack/unpack. Do you still have access to the server? Can you replace the library and test it again without deprecated libraries?

@QKaiser

This comment has been minimized.

QKaiser commented Jun 25, 2018

I still have access to the server, I'll update the script sometime today.

@QKaiser

This comment has been minimized.

QKaiser commented Jun 26, 2018

Done. Updated the script so it uses string.pack instead of bin.pack

@cldrn

This comment has been minimized.

Member

cldrn commented Jul 14, 2018

Thanks again for contributing! The script looks good to me. The only two things that would be great to include are:

@QKaiser

This comment has been minimized.

QKaiser commented Jul 18, 2018

  • @xmloutput added
  • endianness explicitly specified when packing

Let me know if this works for you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment