esgtools

This is an old revision of the document!


Difficulty
Very easy

esgtools

Goals

esgtools is a cli multi tool used internally by eSGR but will work on any standard environment. Please note that some functions will work best on the eSGR Standard Image 2014 & 2017 based in centos 6.9 and 7.6 respectively.

Options

  • update - Update esgtools to the latest version
  • version - Application Version
  • install - Install supported applications (esgtools)
  • disk - TBA
  • net - Network Related Tools (check internet connection)
  • profiles - Install esg profiles for selected apps (vim, tmux)
  • web - Web Tools (advertising tags, headers, max protocol, site size(experimental))
  • build - Build current Go project using the eSG Build Tool TBA
  • info - Environment Information TBA
  • hash - Create file hash (sha1, sha256, sha512, sha3256, sha3384, sha3512, blake2s, blake2b, md5)
  • minify - Minify CSS, HTML, JS, JSON, SVG, XML
  • registry - Windows Registry Reading & Patching TBA
  • versions - Retrieve version & download link for applications (go, php, nginx, rust)
  • hardware - Retrieve Hardware Information (ram, system, cpu, firmware)
  • debug - Show debug information
profiles options
  • vim - Install the eSG vim profile
  • tmux - Install the eSG tmux profile
web Options
  • size - Will calculate website size
  • headers - Will dump all http headers from a url
  • tags - Will detect tags like Google Analytics and AdSense
  • http - Detect http protocol
build Options
  • arch - Reports all available architectures
  • env - Will build the standardized esg environment TBA
  • filename.go - if you pass it a go project it will build it and optimize it TBA
install Options
  • tools - Will install esgtools to /usr/local/bin (v0.6.3+)
  • go - Will install Go and setup paths TBA

Download & Installation

The tool doesn't require any installation just use the following to download it.

OS x64 x86 arm arm64 ppc64 ppc64le mips mips64 mipsle mips64le
Linux Download
Linux

You can use curl like this (x64 Linux)

curl -L https://tools.eservices-greece.net/download.php?f=esgt_linux_amd64 -o esgt;chmod +x esgt

esgtools has its own page https://tools.eservices-greece.net/

Usage Examples

Install profiles

./esgtools profiles vim
./esgtools profiles tmux

File hash

./esgtools hash sha256 filename

Webpage Size

./esgtools web size https://eservices-greece.com

Webpage Headers

./esgtools web headers https://eservices-greece.com

Webpage Tags (analytics etc)

./esgtools web tags https://eservices-greece.com

Webpage protocol

./esgtools web http https://eservices-greece.com

Minify File

./esgtools minify inputfilename outputfilename

Update esgtools

./esgtools update

/home/www/sites/esgr.in/wiki/data/attic/software/esgtools.1567080211.txt.gz · Last modified: 2019/08/29 12:03 by eServices Greece