Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
egg-scripts-CVE-2018-3786 — Deployment tool for Egg.js applications that manages start, stop, and daemonization of Node.js processes with configurable port, workers, and logging. | Kitploit
Tools/GitHubGitHub/erik-krogh/egg-scripts-cve-2018-3786
General Purpose Utilities
GitHuberik-krogh/egg-scripts-cve-2018-3786

egg-scripts-CVE-2018-3786

Deployment tool for Egg.js applications that manages start, stop, and daemonization of Node.js processes with configurable port, workers, and logging.

View Repository
36 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

egg-scripts

deploy tool for egg project.

Note: Windows is partially supported, see #22

Install

root@kitploit:~
$ npm i egg-scripts --save

Usage

Add eggctl to package.json scripts:

root@kitploit:~
{
  "scripts": {
    "start": "eggctl start --daemon",
    "stop": "eggctl stop"
  }
}

Then run as:

  • npm start
  • npm stop

Note: egg-scripts is not recommended to install global, you should install and use it as npm scripts.

Command

start

Start egg at prod mode.

root@kitploit:~
$ eggctl start [options] [baseDir]
# Usage
# eggctl start --port=7001
# eggctl start ./server
  • Arguments
    • baseDir - directory of application, default to process.cwd().
  • Options
    • port - listening port, default to process.env.PORT, if unset, egg will use 7001 as default.
    • title - process title description, use for kill grep, default to egg-server-${APP_NAME}.
    • workers - numbers of app workers, default to process.env.EGG_WORKERS, if unset, egg will use os.cpus().length as default.
    • daemon - whether run at background daemon mode, don't use it if in docker mode.
    • framework - specify framework that can be absolute path or npm package, default to auto detect.
    • env - server env, default to process.env.EGG_SERVER_ENV, recommended to keep empty then use framwork default env.
    • stdout - customize stdout file, default to $HOME/logs/master-stdout.log.
    • stderr - customize stderr file, default to $HOME/logs/master-stderr.log.
    • timeout - the maximum timeout when app starts, default to 300s.
    • ignore-stderr - whether ignore stderr when app starts.
    • sourcemap / typescript / ts - provides source map support for stack traces.

stop

Stop egg gracefull.

Note: if exec without --title, it will kill all egg process.

root@kitploit:~
# stop egg
$ eggctl stop [--title=example]
  • Options
    • title - process title description, use for kill grep.
Download Tool