GithubHelp home page GithubHelp logo

capgadsx / b2368update Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 21 KB

A basic API to bypass the update lock in a Huawei B2368 router deployed to AWS

License: GNU General Public License v3.0

Python 100.00%
aws-lambda python b2368 huawei

b2368update's Introduction

B2368Update

A basic API to bypass the update lock in a Huawei B2368 router that is deployed to AWS using the chalice microframework.

Prerequisites

Install chalice with

pip3 install chalice

Deployment

Run

cd b2368-update-lambda
chalice deploy

Usage

Replace the http://query.hicloud.com/cpe_and_common/v2/Check.action?latest=true URL in Online Upgrade section of the router administration portal using the Inspect Element tool of your browser with the URL of the lambda function returned by the deploy command.

b2368update's People

Contributors

capgadsx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

orinocoz

b2368update's Issues

How to use this for B2368-66

I have B2368-66 router and I need to update it to the latest firmaware. Currently I have 2018 fw version. So please be kind enough to help me.

'sampathkumara:b2368-update-lambda dilankalaksiri$ chalice deploy'
'Creating deployment package.'
'Updating policy for IAM role: b2368-update-lambda-dev'
'Updating lambda function: b2368-update-lambda-dev'
'Creating Rest API'
'Resources deployed:'
'- Lambda ARN: arn:aws:lambda:us-east-1:453779689961:function:b2368-update-lambda-dev'
'- Rest API URL: https://cpi5krb6al.execute-api.us-east-1.amazonaws.com/api/'
'sampathkumara:b2368-update-lambda dilankalaksiri$ '

When I execute the chalice deploy it gives Rest API url like above. But when I go that URL it's say {"message":"Missing Authentication Token"}

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.