Giter Site home page Giter Site logo

warrensbox / hubapp Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 2.0 3.11 MB

The `hubapp` command line tool lets you install app binaries from github user's releases.

Home Page: https://warrensbox.github.io/hubapp

License: MIT License

Makefile 1.55% Shell 13.93% Go 84.46% Dockerfile 0.07%
github

hubapp's People

Contributors

arichtman avatar dependabot[bot] avatar princespaghetti avatar release-bot avatar warrensbox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

bjbishop zekena

hubapp's Issues

Allow custom installation path

Hi,

I really like the tool, really nice work done here.

Can you implement custom installation paths? there are times when you can't use /use/local/bin because it requires root.

Regards,
Julio

Symlink error

2019/02/08 13:18:47 Creating directory for application: /Users/vkhans4/.aws-runas/
Downloading https://github.com/mmmorris1975/aws-runas/releases/download/1.1.1/aws-runas-1.1.1-darwin-amd64 to aws-runas-1.1.1-darwin-amd64
Downloading ...
15846412 bytes downloaded.
symlink /Users/vkhans4/.aws-runas/aws-runas_1.1.1 /usr/local/bin/aws-runas: file exists
2019/02/08 13:19:01 Unable to create symlink. You must have SUDO privileges to /usr/local/bin/%s directory 

Architecture Detection Aliases

While attempting to use hubapp, it does not match on an alternate naming pattern although the binaries can be installed. I experience this on a linux/amd64 client with projects like goreleaser and other projects that leverage it https://github.com/goreleaser/goreleaser/releases/tag/v0.140.0 In the link the tar.gz is identified by "x86_64" rather than "amd64" which is returned by runtime.goos in the install file. https://github.com/open-policy-agent/conftest/releases/tag/v0.20.0 is another example. Happy to contribute a fix, but wanted to check if you had a specific way you wanted to approach this.

同学,您这个项目引入了35个开源组件,存在1个漏洞,辛苦升级一下

检测到 warrensbox/hubapp 一共引入了35个开源组件,存在1个漏洞

漏洞标题:go-yaml < 2.2.8拒绝服务漏洞
缺陷组件:gopkg.in/[email protected]
漏洞编号:CVE-2019-11254
漏洞描述:gopkg.in/yaml.v2是go语言中用于处理yaml格式的包。
在2.2.8之前的版本中,处理恶意的yaml数据时,会导致CPU资源耗尽。
漏洞由Kubernetes开发者在fuzz测试中发现并提交修复补丁。
国家漏洞库信息:https://www.cnvd.org.cn/flaw/show/CNVD-2020-35519
影响范围:(∞, 2.2.8)
最小修复版本:2.2.8
缺陷组件引入路径:github.com/warrensbox/hubapp@->gopkg.in/[email protected]

另外还有几个漏洞,详细报告:https://mofeisec.com/jr?p=a0487a

Not unzipping correctly when using install

Hi Warren,

Just noticed this trying to install 3.x versions of aws-runas using hubapp. It downloads correctly but the resulting file wasn't extracted by hubapp and looks like it's still a zip file. Did the archive format of the thing we're trying to download change? Maybe it was tgz before and they've changed it to zip?

aws-runas --version
bash: /usr/local/bin/aws-runas: cannot execute binary file: Exec format error

ls -l /usr/local/bin/aws-runas
lrwxr-xr-x 40 bishbr 29 Jun 10:50 /usr/local/bin/aws-runas -> /Users/bishbr/.aws-runas/aws-runas_3.0.3*

file ~/.aws-runas/aws-runas_3.0.3 
/Users/bishbr/.aws-runas/aws-runas_3.0.3: Zip archive data, at least v2.0 to extract

unzip -tv ~/.aws-runas/aws-runas_3.0.3 
Archive:  /Users/bishbr/.aws-runas/aws-runas_3.0.3
    testing: aws-runas                OK
No errors detected in compressed data of /Users/bishbr/.aws-runas/aws-runas_3.0.3.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.