shell2http

Executing shell commands via HTTP server

MIT License

Downloads
4
Stars
1.3K
Committers
5

Bot releases are visible (Hide)

shell2http - 1.17.0 - 2024-03-23 Latest Release

Published by github-actions[bot] 7 months ago

Github Releases (v1.17.0) Github All Releases

Changelog

  • f4f1945 Send stderr from script to log (#101)
  • 2bb7e4c Formating index page
  • 1ccddb6 Fixed Docker build for arm64 in GH Action (#103)
  • 9e3a204 Added missing option descriptions in doc.go (#98)
shell2http - 1.16.0 - 2023-03-11

Published by github-actions[bot] over 1 year ago

Github Releases (v1.16.0) Github All Releases

Changelog

  • 16130c9 Updated dependencies
  • 28c2f05 Fixed Docker GH Action, changed target image
  • d718489 Fix Docker Github Action
  • 80a0f4e Added -500 option: for return 500 error if shell exit code != 0 (#94)
shell2http - 1.15.0 - 2023-02-11

Published by github-actions[bot] over 1 year ago

Github Releases (v1.15.0) Github All Releases

Changelog

  • 94e50c0 [Fix] When shell command exec error, we also want to know the previous stdout (#86)
  • 43ccb51 Added -form-check option for restrict form values (#91)
shell2http - 1.14.2 - 2022-08-20

Published by github-actions[bot] about 2 years ago

Github Releases (v1.14.2) Github All Releases

Changelog

  • 15149ee gofmt with Go 1.19
  • fdd06ba Upgraded dependencies
  • 9f2fb96 Updated version for snap-package
  • 91682a5 Updated readme
  • 9d8beac Updated github Action with Go 1.19
  • 1159391 Updated Go to 1.18 in Github Action
  • 7cb18b9 Speed up crossplatform Docker image building
  • 5546048 Refactoring
  • ec2ebb9 Fixed setting version in docker image builded by buildx
  • 8c6ec05 Fixed header for release page
  • d94ea11 Cleanup makefile
  • b349d5f Changed travis.ci badge by GH Action
  • 03fdb48 CI: checkout repo with all history and tags (for get the latest tag for setup version)
  • 8dc1b15 Build Docker image only on new release
  • a87cbea Added version into index html
  • fixed https://github.com/msoap/shell2http/issues/82
shell2http - 1.14.1 - 2021-10-10

Published by github-actions[bot] about 3 years ago

Github Releases (v1.14.1) Github All Releases

Changelog

a112b1a Removed .travis.yml
d261baa Fixed version, setup version on build

shell2http - 1.14.0 - 2021-10-09

Published by github-actions[bot] about 3 years ago

Github Releases (v1.14.0) Github All Releases

Changelog

836f3fc Use Go modules
023649e Print random port to log if port is equal to "0"
0a22a21 Pass request body data to STDIN for PUT, PATCH
3b299be Added the ability of multiple auth users
88cb8cd Added test case for Windows
6041715 Added http status code and response size into log
c205c3a Added auth user to log
2b533bc Added .goreleaser.yml
617d264 Added -trimpath to the build in Docker
1b8f66c Added -no-log-timestamp option

shell2http - 1.13 - 2018-04-19

Published by msoap over 6 years ago

Github Releases (by Release) Github All Releases

Changes:

  • The ability to restrict the HTTP method is added
  • Added snap package
  • Fixed log shell commands

SHA256:

shell2http_1.13_amd64.deb 4f41498fd58b9ddb856aef7ef59c267a3cf681a7d576eb9a73a376f5e88e92b2
shell2http-1.13.linux.amd64.tar.gz/shell2http b88006f07acf6967c0fd7e69cc227b77a0114a52b51404870768e4728be7b1f8
shell2http-1.13.linux.386.tar.gz/shell2http ea3935ef593eecebecd6736da58bc91bbe63151780fd568cd12efecdaef4ab15
shell2http-1.13.darwin.amd64.tar.gz/shell2http c60a6b89956d2c017e13d05ebad084b4c7bfff4073dd24120b3b0054b37ba073
shell2http-1.13.darwin.386.tar.gz/shell2http cddcb3158052c1d76f06f11c90886a8e7904d0bcda57b10af44237109ba111c0
shell2http-1.13.windows.amd64.zip/shell2http.exe 27ab7c70d216bf27296583723ebda30bb83395b30d5aa0466f9344407d9387c2
shell2http-1.13.windows.386.zip/shell2http.exe c25ad56d544fb50170082ca38404f296e81465cadb64cc1053f574766c6a12c0
shell2http-1.13.linux.arm.tar.gz/shell2http baa0dd5eb2864d4df36f44b2770df9b5e0fadf71878228af057008b5a1f10667
shell2http-1.13.linux.arm64.tar.gz/shell2http 81cf511e281958a07565e9176acc2754c31fdf6440bbffd1dbf3c28673a81e37
shell2http - 1.12 - 2018-01-21

Published by msoap over 6 years ago

Github Releases (by Release) Github All Releases

Changes:

  • Fixed pass PATH environment variable on Windows

SHA256:

shell2http_1.12_amd64.deb 41aa319cdc3764b45383d235ed4768c7a35404792d22ee03b42fca1a013ec827
shell2http-1.12.linux.amd64.tar.gz/shell2http b0eb3a920962e40944ec366a1dbc5c1e875d9dbc226165e540523a1b49fe117c
shell2http-1.12.linux.386.tar.gz/shell2http 9ccfaca228e199bc148471170ea5a6963a1a3bc7ed8248db6cb060df51b85194
shell2http-1.12.darwin.amd64.tar.gz/shell2http 9ce743b5d5ae22676b3d4f36fb65282a819136fac1e97896afd7443ce99afa51
shell2http-1.12.darwin.386.tar.gz/shell2http 9313963315147a62aff6062917a6cd6059a1bd3d2cbe459021669ef2b3fa45d3
shell2http-1.12.windows.amd64.zip/shell2http.exe 38e541c3f33c907d82b00ad4aefc5abdec7238738974a4701178a96dc6c935c6
shell2http-1.12.windows.386.zip/shell2http.exe 017fea3c276d19759a04dc29e256d0a8cd82af65f15d55851b4ed7d48e77c9b0
shell2http-1.12.linux.arm.tar.gz/shell2http 2eed506477de097f1f0f169806bda0fe7f5e3f3e20a3c8c8dd08fbae8dd97b7a
shell2http-1.12.linux.arm64.tar.gz/shell2http 6230589dda27e7c1d914482a686f068ad68546a7f73e1ebfa846f387582a52c4
shell2http - 1.11 - 2017-11-03

Published by msoap almost 7 years ago

Github Releases (by Release) Github All Releases

Changes:

  • added support for Plan9
  • now stop process on cancel http-request
  • added Windows example
  • changed Go version to 1.9

SHA256:

shell2http_1.11_amd64.deb 4fd66e5d2126ea2c44e21dcdaef08a9f6592d03540debd601931b970779c2eee
shell2http-1.11.linux.amd64.tar.gz/shell2http 6215ab20d386f9b1a6cac6c432be59163821151615051d4a0892253658a3b24a
shell2http-1.11.linux.386.tar.gz/shell2http 09ea870bd2dc01c8f92c91c11b917fb6bb7d504206968108ad41acc62ab9d40a
shell2http-1.11.darwin.amd64.tar.gz/shell2http 74fd4376120ed68adaccff24c237a46c1c06bf237062e0b92ff1a8f67c6ef832
shell2http-1.11.darwin.386.tar.gz/shell2http 2a58a7327bbc6061432cfb7b7c9e9b12856473a8ebb8927f6601282211700f66
shell2http-1.11.windows.amd64.zip/shell2http.exe cbbdadead433f05a836c5ce5466095d5948297c35745e9d5422f180a5c1db42c
shell2http-1.11.windows.386.zip/shell2http.exe 47ee64c6824fdfab708df0f39d71ade6b939df0242dace9fd12ee152612fa923
shell2http-1.11.linux.arm.tar.gz/shell2http 7078b9b8494e5cf627d03af62937f6c4c0d00290e7aa7bc6005ae704144106ec
shell2http-1.11.linux.arm64.tar.gz/shell2http 442192302fbe1cc7aa1ebaf9b4fa15ea2a7a81055fd6112b5656c97930031303
shell2http - 1.10 - 2017-05-08

Published by msoap over 7 years ago

Github Releases (by Release) Github All Releases

Changes:

  • Made real IP in log first
  • Accept basic auth credentials from environment (thanks @breml)
  • Added separate docker tag for each version

SHA256:

shell2http_1.10_amd64.deb eb3a289a4113230b3e532fd4a72d14353c244a69816586733e619e9cb902108a
shell2http-1.10.linux.amd64.tar.gz/shell2http 6cdd72c00d1cc61c499b0f1b7d0f1544f16d6f93b611582a6095e90f39a0434e
shell2http-1.10.linux.386.tar.gz/shell2http 144c926d47688d34b11adc9e58222631b2d455b7694a314efdb6eecb9d8584c2
shell2http-1.10.darwin.amd64.tar.gz/shell2http 87d9383a2088ab49a73e04724a8f3abd10de438c02c1b40943788b0a95c0b004
shell2http-1.10.darwin.386.tar.gz/shell2http c607e4f8f698ab3ee4e4a5a824ed5a5c279fb59625d7d4263c78c8efb1dff860
shell2http-1.10.windows.amd64.zip/shell2http.exe c834d95e77554fce1c0a3a2e637f002cb1ddfc2d9dd518ce59d4d9aa8784ad7e
shell2http-1.10.windows.386.zip/shell2http.exe 1baa5cae05472e4c4b15bc2422d27a6d9120c9232f5a446286ec031ce3a77a7a
shell2http-1.10.linux.arm.tar.gz/shell2http 95424efd1514a47c44715e2af8399bf2d4c34f5c2b4ddab9a4ea17fd09a40e88
shell2http-1.10.linux.arm64.tar.gz/shell2http 2781aa90a851ac20753ce565f38a55f233532ff20f0c0738fdfe863e97ab7e80
shell2http - 1.9 - 2017-03-30

Published by msoap over 7 years ago

Github Releases (by Release) Github All Releases

Changes:

  • added build deb-package on Travis CI
  • added some examples to README and man-page
  • fixed bug with upload POST data greater than 65536 bytes
  • added log for 404 requests
  • fixed bug with handle CGI-mode with cache
  • added -timeout option
  • added allow upload files
  • links on index-page now is relative
  • changed index page css

SHA256:

shell2http_1.9_amd64.deb 8d85f510b25a91f9edbc274a45dfca976671f90cd7f1bcd0fbb7493160a53b36
shell2http-1.9.linux.amd64.tar.gz/shell2http 1b1678f5fa7c29a573cb4bf8a31e1d9f58ac427750cf8600ed6c112cfdf8bb48
shell2http-1.9.linux.386.tar.gz/shell2http 08116d44c8c9888c91b794e6d382e12f2cf3ba81b609128c0b19c898e8ebf10d
shell2http-1.9.darwin.amd64.tar.gz/shell2http faf64d741348c18267837b0f2a968aba2a0b977431770a4b8f2fdcafee8ac760
shell2http-1.9.darwin.386.tar.gz/shell2http e827cfc1c10e5b51bf2a6b7b88c341c8fa5a1ff61a4bc3ece424505a1b4787ef
shell2http-1.9.windows.amd64.zip/shell2http.exe d0855b02e34ac3ff32f2885edf91a0f251e64ca4f61990b9ec3351789b0ca9a9
shell2http-1.9.windows.386.zip/shell2http.exe 445a8bc37fe785e36113f8590fc9cbfbc78207e4106c59d4b9b9435498c5ad72
shell2http-1.9.linux.arm.tar.gz/shell2http 3b0a7b925d35543771932a8ace1b23c8c8b2d9fb7367bb4ef0176745cbdb782e
shell2http-1.9.linux.arm64.tar.gz/shell2http 426c1e70d25f10b526d7e8c63c9ab355edcfc395216be49520cc394734af557a
shell2http - 1.8 - 2017-02-11

Published by msoap over 7 years ago

Github Releases (by Release) Github All Releases

Changes:

  • Cache now based on full URI
  • Added HTTP Basic Authentication option
  • Added man page
  • Replace github.com/koding/cache by github.com/msoap/raphanus for cache library
  • Added auto deploy binaries from travis CI to github releases
  • Binaries for linux/macos now in .tar.gz format
  • Added deb-package

SHA1:

shell2http-1.8.linux.amd64.tar.gz/shell2http 7ea851f4e4d5c693f750fce891abb9d73b405ce7
shell2http-1.8.linux.386.tar.gz/shell2http b9bf75720ecedb3cddfd89fc397ebf5ac2688326
shell2http-1.8.darwin.amd64.tar.gz/shell2http ef1d207f4dc09c917afc95abe3be8bfaee447395
shell2http-1.8.darwin.386.tar.gz/shell2http 8b0641df3ed489b3c5b86b90d726b194d5563293
shell2http-1.8.windows.amd64.zip/shell2http.exe 708525d80480c8476f49b22c4910352b7d02d486
shell2http-1.8.windows.386.zip/shell2http.exe f0facf673473d41fa4367da3d25eab97bba3904a
shell2http-1.8.linux.arm.tar.gz/shell2http 641a9a75786d8ba1e4e255bb6348d65f5ae0b1ff
shell2http-1.8.linux.arm64.tar.gz/shell2http e9fcabb93cb5aa563d95420f058f0a3f75d7f603
shell2http_1.8_amd64.deb 327291bc2a6d270cd51ff3e0102bfb01f25962aa
shell2http - 1.7 - 2017-01-04

Published by msoap almost 8 years ago

Github Releases (by Release) Github All Releases

Changes:

  • Added http-header for set http code in response
  • Added SSL option

SHA1:

shell2http-1.7.linux.amd64.zip/shell2http 7ddac868eba508a7721428c8863904f7c01e5039
shell2http-1.7.linux.386.zip/shell2http bc07fbf985286718d0cdd4bc56760253826d6c2f
shell2http-1.7.darwin.amd64.zip/shell2http 4205f6f328219cd15ce1d79a92068f3a151ce7f9
shell2http-1.7.darwin.386.zip/shell2http 17a2457c262b4b110179e5b73fc733b9438db449
shell2http-1.7.windows.amd64.zip/shell2http.exe fc1ee55bf5221593bcf9b115a19b803ca7f663ac
shell2http-1.7.windows.386.zip/shell2http.exe 9b85441b494687405d3bf46c381d0ae20892c098
shell2http-1.7.linux.arm.zip/shell2http 13688414df6cdf619e6f7cd5984aca6ef5aefb5c
shell2http-1.7.linux.arm64.zip/shell2http 96e91ecb331f70e74153883bffaf2f35b6017a11
shell2http - 1.6 - 2016-09-10

Published by msoap about 8 years ago

Github Releases (by Release) Github All Releases

Changes:

  • fixed parse broken http-headers

SHA1:

shell2http-1.6.amd64.linux.zip/shell2http 3bd96adbc8e2bc7f09803ea833fdfd407fa75ae3
shell2http-1.6.386.linux.zip/shell2http f7f604a1da03caff48c02fa0faa363fed3f68143
shell2http-1.6.amd64.darwin.zip/shell2http 6090dd0fb6cefdf928e04045a98c8ce8af849102
shell2http-1.6.386.darwin.zip/shell2http fb00e4fec92834e1815de5ac53a609ee5e19e176
shell2http-1.6.amd64.windows.zip/shell2http.exe 8f4afb50ddddaef8a36289683b9253480930de34
shell2http-1.6.386.windows.zip/shell2http.exe 64a01e056e8a26edd212e6d23648fcbe025b8063
shell2http-1.6.arm.linux.zip/shell2http 7633cb481d4d77f4a595e08432769f619416122f
shell2http-1.6.arm64.linux.zip/shell2http b39ada9dbbc4a69ce2e3784802dff866e6266011
shell2http - 1.5 - 2016-07-29

Published by msoap about 8 years ago

Github Releases (by Release) Github All Releases

Changes:

  • added option -shell for custom shell
  • added option -cache
  • added option -one-thread, for run each shell command in one thread
  • added option -include-stderr
  • added option -show-errors
  • added real IP and host to log
  • added http-header with command exit code
  • fixed for IPv6 remote address
  • fixed CGI/HTTP_PROXY header security issue

SHA1:

shell2http-1.5.amd64.linux.zip/shell2http b1ef6c77862b8616420e479c7e815f4054da3898
shell2http-1.5.386.linux.zip/shell2http 5b5a706f617d893100a4f10306bd9d037a2ae111
shell2http-1.5.amd64.darwin.zip/shell2http 82e6a4da99e201d4a1d54828a7e7b3594b253846
shell2http-1.5.386.darwin.zip/shell2http ab0062d26b258f004cb744e47f384e85b4634f62
shell2http-1.5.amd64.windows.zip/shell2http.exe 2e172d0344b6e9600f66b9569c70e526d34c5f89
shell2http-1.5.386.windows.zip/shell2http.exe d35afa225ae69fef8d9a4916684d1110649c4cde
shell2http-1.5.arm.linux.zip/shell2http 1f4e50cf0c269ddd27f495afe665b47d3972e1e3
shell2http-1.5.arm64.linux.zip/shell2http fd64eed5b0e664cfa9007f897ae4226410250c2b
shell2http - 1.4 - 2015-05-11

Published by msoap over 9 years ago

Github Releases (by Release) Github All Releases

Changes:

  • Allow "/" path
  • Write POST-data to STDIN of script
  • Allow CGI headers (for redirect)

SHA1:
shell2http-1.4.amd64.linux.zip/shell2http c2b7f53e2d7b95aaa2b7eefa73fcd72349c00485
shell2http-1.4.386.linux.zip/shell2http b57efe104b16b7c79af7219751930b054de2c04c
shell2http-1.4.amd64.darwin.zip/shell2http c03d503a2966a8636c76bae3e9dde7fd732783e7
shell2http-1.4.386.darwin.zip/shell2http a7254080207d06403219ee7dad6eb4a5680644ac
shell2http-1.4.amd64.windows.zip/shell2http.exe 14f1d09749b9f990c8a69dabd831f320bd9b9773
shell2http-1.4.386.windows.zip/shell2http.exe c0224ca34257d6251d53c25d6cc4555ef7a37771
shell2http-1.4.arm.linux.zip/shell2http e6d0683b39a6e1f89c89dc636fd01fbe3dd084e5

shell2http - 1.3 - 2015-04-25

Published by msoap over 9 years ago

Github Releases (by Release) Github All Releases

Changes:

  • Added options: -export-vars, -export-all-vars
  • Added Windows support

SHA1:
shell2http-1.3.amd64.linux.zip/shell2http 317935b91616c60c28f187f3369015f030a7eadc
shell2http-1.3.386.linux.zip/shell2http 61d1ff695c255c6440893708eb8e57663875f149
shell2http-1.3.amd64.darwin.zip/shell2http f4c4d123691f57ba722bfb01f505e327d9a33bed
shell2http-1.3.386.darwin.zip/shell2http cf28ae73fada8088e6ff076fe037fbad47835916
shell2http-1.3.amd64.windows.zip/shell2http.exe 1a4a0ce1e9905a07b6de0e2797c291e4d6322e22
shell2http-1.3.386.windows.zip/shell2http.exe 05d78cb9c5557bfa3d90f31d1cd7aa0e246eadfd
shell2http-1.3.arm.linux.zip/shell2http 42727791b420f431908fe2a4783c6f2bfed6e371

shell2http - 1.2 - 2015-04-05

Published by msoap over 9 years ago

Github Releases (by Release) Github All Releases

Changes:

  • added new options: -no-index, -add-exit, -version
  • added 404 page
  • dont generate /exit command by default

SHA1:
shell2http-1.2.amd64.linux.zip/shell2http 923d23225d22ffaae0e1982845c8ae910fc39614
shell2http-1.2.386.linux.zip/shell2http d78fb607488907669123115c36716fd07b3d299d
shell2http-1.2.arm.linux.zip/shell2http dec2825f9c63d82a6b641ae23e75402c2120c181

shell2http-1.2.amd64.darwin.zip/shell2http 999d1e248c3f4f331bd205e938b004d15a228ae9
shell2http-1.2.386.darwin.zip/shell2http 1a8f1688484c45983aa9c28b7856818a1606c4f1

shell2http - 1.1 - 2015-03-30

Published by msoap over 9 years ago

Github Releases (by Release) Github All Releases

Changes:

  • Default bind to all interfaces
  • Added example

shell2http_1.1.arm.linux.zip - for Raspberry Pi

SHA1 for binaries (inside zip):

shell2http_1.1.amd64.linux.zip 50ebeafd44fc7cf3391b3ff9d7bd00bd0a6ff22c
shell2http_1.1.386.linux.zip c1ce945cf13436e31b01700c22c3cceccd578d2a
shell2http_1.1.arm.linux.zip 370c8bb56849e16e575200b63954158de9e6aade

shell2http_1.1.amd64.darwin.zip 7626f166c9705d257c818951698423f1f0b62ca8
shell2http_1.1.386.darwin.zip d636678cbe1d48df31e47f1888cea149d51ae6f9