Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
common platform commands runner
cmd wrapper - wraps commonly used commands using snapp/cproc to run commands async version: 0.0.1
NodeJS web: https://nodejs.org/api/child_process.html#child_process_asynchronous_process_creation
Starter cmd line starter web: http://www.makeuseof.com/tag/a-beginners-guide-to-the-windows-command-line/
15 everyday commands web: http://www.makeuseof.com/tag/15-cmd-commands-every-windows-user-know/
Microsoft command list web: https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true
cat (Unix) wiki: https://en.wikipedia.org/wiki/Cat_(Unix)
TIPS for cmd.exe console window web: http://www.makeuseof.com/tag/10-windows-command-line-tips-tricks-you-should-definitely-check-out/
Quick paths - copy/paste or drag dir or file from/to the command line
History - F7
Multiple commands ** commands DO NOT RUN simultaneously -> they run in series from left -> right
Example. DIR xyzzy && Echo Found it! || Echo It's not there.
This will run the command DIR xyzzy If xyzzy exists, then "Found it!" will be displayed If xyzzy doesn’t exist, then "It’s not there." will be displayed.
Fullscreen - Alt+Enter
term: switches optional extensions to a command
term: syntax styles -> BSD and UNIX web: http://www.binarytides.com/linux-ps-command/
add switches to configure BSD style - The options in bsd style syntax ARE NOT PRECEDED WITH A DASH. (ie, ps aux) UNIX/LINUX style - The options in linux style syntax ARE PRECEDED WITH A DASH as usual. (ie. ps -ef) ** It is okay to mix both the syntax styles on linux systems. For example "ps ax -f". "ps aux" is not the same as "ps -aux". For example "-u" is used to show process of that user. But "u" means show detailed information.
perf: takes about 100ms to run a cmd (depends on cmd, system, etc.)
FAQs
command line utils and apis
We found that ninjs-cmd 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.