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

Support node old versions #3236

Open
witchcraze opened this issue Sep 16, 2024 · 0 comments
Open

Support node old versions #3236

witchcraze opened this issue Sep 16, 2024 · 0 comments
Labels
binary-analysis enhancement New feature or request

Comments

@witchcraze
Copy link
Contributor

What would you like to be added:

Support old versions of node in binary detection

  • 0.10.x
  • 0.12.x
  • 4.x
  • 5.x
  • 6.x

Additional context:

0.10

$ docker run -it --rm node:0.10 strings /usr/local/bin/nodejs | grep -C 1 -e '0\.10'
status == 0
node v0.10.48
FATAL ERROR: %s %s

0.12

$ docker run -it --rm node:0.12 strings /usr/local/bin/nodejs | grep -C 2 -e '0\.12\.18'
--debug-brk=
--debug-port=
v0.12.18
--enable-ssl2
--enable-ssl3

4

$ docker run -it --rm node:4 strings /usr/local/bin/nodejs | grep -C 2 -e '4\.9\.1'
emit
Starting debugger agent.
v4.9.1
moduleLoadList
http_parser
--
  (env->context()) == (env->isolate()->GetCurrentContext())
Starting debugger on %s:%d failed
https://nodejs.org/download/release/v4.9.1/node-v4.9.1.tar.gz
https://nodejs.org/download/release/v4.9.1/node-v4.9.1-headers.tar.gz
(0) == (uv_async_init(uv_default_loop(), &dispatch_debug_messages_async, DispatchDebugMessagesAsyncCallback))
Debug port must be in range 1024 to 65535.

5

$ docker run -it --rm node:5 strings /usr/local/bin/nodejs | grep -C 2 -e '5\.12\.0'
emit
Starting debugger agent.
v5.12.0
moduleLoadList
http_parser
--
  (env->context()) == (env->isolate()->GetCurrentContext())
Starting debugger on port %d failed
https://nodejs.org/download/release/v5.12.0/node-v5.12.0.tar.gz
https://nodejs.org/download/release/v5.12.0/node-v5.12.0-headers.tar.gz
Debug port must be in range 1024 to 65535.
Usage: node [options] [ -e script | script.js ] [arguments]
@witchcraze witchcraze added the enhancement New feature or request label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binary-analysis enhancement New feature or request
Projects
Status: Ready
Development

No branches or pull requests

2 participants