Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
get-vs2017-path
Advanced tools
Try to find Visual Studio installation path via COM or registry
As of VS7 (a.k.a. Visual Studio 2017) Microsoft recommends to query the VS setup state via COM, but not everybody is fluent in COM, and not every language has COM bindings, so I created some scripts that utilize Windows builtin tools to query this information. The resolved information is printed to stdout in JSON, e.g.
[16:32:02.47] C:\code\0tni\get-vs2017-path>tools\try_powershell.cmd
[{
"Product": "Enterprise",
"InstallationPath": "C:\\VS\\2017\\Enterprise",
"Version": "15.0.26206.0",
"SDK": "10.0.14393.795",
"CmdPath": "C:\\VS\\2017\\Enterprise\\Common7\\Tools\\VsDevCmd.bat"
},{
"Product": "BuildTools",
"InstallationPath": "C:\\VS\\2017\\BuildTools",
"Version": "15.0.26206.0",
"SDK": "10.0.14393.795",
"CmdPath": "C:\\VS\\2017\\BuildTools\\Common7\\Tools\\VsDevCmd.bat"
}]
[16:32:04.43] C:\code\0tni\get-vs2017-path>
There are 3 scripts
try_powershell.cmd
will try to JIT compile some C# code that calls COM, and prints the interesting stuff to stdiocompile-run.cmd
will try to find a C# compiler to compile the query then run the generated exetry_registry.cmd
will look for undocumented registry tracesThe Javascript interface will find older versions as well
FAQs
Try to find the VS2017 buildtools path via COM or registry
The npm package get-vs2017-path receives a total of 0 weekly downloads. As such, get-vs2017-path popularity was classified as not popular.
We found that get-vs2017-path demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.