Coder Social home page Coder Social logo

borfast / arrispwgen Goto Github PK

View Code? Open in Web Editor NEW
166.0 20.0 38.0 531 KB

A "password of the day" generator for Arris cable modems.

Home Page: https://www.borfast.com/projects/arris-password-of-the-day-generator/

License: MIT License

JavaScript 28.65% Ruby 17.95% TypeScript 53.40%
javascript arris-password arris-modem password-generator

arrispwgen's Introduction

Arris Password of the Day Generator


PLEASE READ THIS!

1 - In the past few years, some internet service providers have been changing their modem configurations in ways that prevent this tool from working. If it doesn't work with your modem even though it is in the supported modems list, I'm afraid there's nothing I can do about it.

2 - I am not Spanish or from Latin America. Please don't assume I can speak Spanish or that I have to reply to you in Spanish.


NPM Version License Build Status Scrutinizer Code Quality ko-fi

Do you need an Arris modem password? Are you stuck with your Arris modem, in a message that says "in order to access advanced features you must enter the password of the day"? Then you came to the right place!

Description

This is the library that implements the Arris password of the day generator for various Arris cable modems.

Unless you want to help with the code or use it in your own project, you are probably just interested in the online generator. You may also want to check the CLI or the Android app (which is also open source).

For a list of supported modems, troubleshooting options and more information, please visit the help page.

How to use

Install with npm install @borfast/arrispwgen.

The API consists of only two functions: generate(), to generate a single password for a given date, and generate_multi(), to generate multiple passwords for a range of dates.

generate() has one required parameter and one optional parameter:

  • date (required): a Date object representing the date for which a password should be generated;
  • seed (optional): a string to be used as the seed for the password generator.

It returns a string which is the password for the given date.

generate_multi() has two required parameters and one optional parameter:

  • startdate (required): a Date object representing the first date for which a password should be generated;
  • enddate (required): a Date object representing the last date for which a password should be generated;
  • seed (optional): a string to be used as the seed for the password generator.

It returns an array of objects with two fields: date, a Date object, and password, the password for the corresponding date.

arrispwgen's People

Contributors

borfast avatar dependabot[bot] avatar jevansturner 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

arrispwgen's Issues

A command line version

What the title says :)

I can see this as a node executable that takes a date as an argument. If a second date is provided, it will generate passwords for all the days between the two dates. Perhaps Moment.js can be leveraged to ease parsing the dates.

It can also take a --seed argument to provide a custom seed, otherwise it will use the default.

Any news with the encription key?

There has been a lot of time since someone asked about the encryption key of the router.data file. Any news? I have a file here that needs decoding, but no luck so far...
Thx in advance

Seed in Hex

Hi,
how do i use a seed from snmp that is in hex with this tool?

Detect out-of-order dates in the CLI version

In the CLI version, if the user passes two dates as arguments and the first date is after the second date, arrispwgen exits with an exception thrown by the library.

The CLI version should catch the exception and exit gracefully, telling the user what the problem was.

Router Arris 1692A

It look like router.data has a new password.
Any idea how can I decrypt this file
the
openssl enc -d -aes-256-cbc -in router.data -out backup.tar -pass pass:Sercomm

return

bad magic number

DES encoded

I will like to know what he's the DES encoded of MPSJKMDHAI ,the arris password of the day tool hes not showing the DES encoded
Thankyu

npm install fail

PS C:\Users\xianw\arrispwgen> npm install @borfast/arrispwge
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@borfast%2farrispwge - Not found
npm ERR! 404
npm ERR! 404 '@borfast/arrispwge@*' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\xianw\AppData\Local\npm-cache_logs\2022-08-22T18_58_52_509Z-debug-0.log
PS C:\Users\xianw\arrispwgen>

after clone the source ode. I npm install, failed by:
'@borfast/arrispwge@*' is not in this registry.
Is there something missing?

thanks

Possible to decrypt the des encoded Seed?

For example the DES encoded of the Seed Test is 8EF7FE3CACF06F43
snmpset enterprises.4115.1.3.4.1.2.3.0 x 8EF7FE3CACF06F43 turns the seed into Test.

Can you find the seed from any DES encoded key?

C++11 port

Unfortunately neither the Javascript nor the C# version is usable from the command line, using Linux.

So I created a C++11 port;
a recent standard compliant compiler/library is needed:
I tested it with clang-3.1/libc++ and g++-4.7/stdlibc++ (and a TM602B modem).

https://github.com/daniel-j-h/TM602X

There's a simple usage example; program arguments and more to come :D

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.