Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement a selective update system #343

Closed
evilsocket opened this issue Oct 20, 2019 · 0 comments
Closed

implement a selective update system #343

evilsocket opened this issue Oct 20, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@evilsocket
Copy link
Owner

Currently there is no update system other than backup and reflash given that the project is made of several software components, however, those components might be updated selectively by an auto-update plugin, by:

  • For each component (pwnagotchi, pwngrid, bettercap) C:
    • Query github API to get the latest release of C
    • Compare with the installed version
    • If major is different, skip (not backwards compatible update)
    • If C is a service:
      • Download binary release
      • Stop the service
      • Replace the binary
      • Start the service
    • If C is a python repo:
      • pip3 upgrade C
@evilsocket evilsocket self-assigned this Oct 20, 2019
@evilsocket evilsocket added the enhancement New feature or request label Oct 20, 2019
@evilsocket evilsocket pinned this issue Oct 20, 2019
evilsocket added a commit that referenced this issue Oct 20, 2019
@evilsocket evilsocket unpinned this issue Oct 20, 2019
dadav pushed a commit to dadav/pwnagotchi that referenced this issue Apr 1, 2020
dadav pushed a commit to dadav/pwnagotchi that referenced this issue Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant