SomeoneWeird / msfjs

NodeJS library for interacting with metasploit
MIT License
13 stars 2 forks source link

Remove all hard-paths #2

Closed mubix closed 11 years ago

mubix commented 11 years ago

I noticed that /opt/framework/msf3 was a hard coded path, having a configuration file or another way to set these options would really help to generalize setup.

SomeoneWeird commented 11 years ago

It is, but only if you don't pass a value to it when require'ing. ie var msfjs = require('msfjs')({ path: '/path/to/msf/' });

When I get home later ill write up some docs so hopefully it makes it easier to understand ahah