Giter Site home page Giter Site logo

mikrotikpatch's People

Contributors

elseif 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

mikrotikpatch's Issues

unable to run workflow

Hi,
I cloned this repo to try it by my self,
I generated some key with this script (got it in the discord)

from toyecc import AffineCurvePoint, getcurvebyname, FieldElement,ECPrivateKey,ECPublicKey,Tools

def generate_eddsa_keypair():
    curve = getcurvebyname("Ed25519")   
    private_key = ECPrivateKey.eddsa_generate(curve)
    return private_key.eddsa_encode(), private_key.pubkey.eddsa_encode()

def generate_kcdsa_keypair():
    curve = getcurvebyname("Curve25519")   
    private_key = ECPrivateKey.generate(curve)
    return Tools.inttobytes_le(private_key.scalar, 32), Tools.inttobytes_le(int(private_key.pubkey.point.x), 32)

if __name__ == '__main__':
    eddsa_private_key, eddsa_public_key = generate_eddsa_keypair()
    kcdsa_private_key, kcdsa_public_key = generate_kcdsa_keypair()
    print(f'CUSTOM_NPK_SIGN_PRIVATE_KEY: {eddsa_private_key.hex().upper()}')
    print(f'CUSTOM_NPK_SIGN_PUBLIC_KEY: {eddsa_public_key.hex().upper()}')
    print(f'CUSTOM_LICENCE_PRIVATE_KEY: {kcdsa_private_key.hex().upper()}')
    print(f'CUSTOM_LICENCE_PUBLIC_KEY: {kcdsa_public_key.hex().upper()}')

it return a pair of keys

python3 generateKey.py
CUSTOM_NPK_SIGN_PRIVATE_KEY: 8054108EB3861B4BD2C7545A048CAF5F661DB8632EE2C4B74A826FC0DC6E42E2
CUSTOM_NPK_SIGN_PUBLIC_KEY: 41C35CE97135195A84D41CBD5AD20BE347D519BF48EA4A78BC44E045611AC72C
CUSTOM_LICENCE_PRIVATE_KEY: 509C747AB645CEFA0CC3DFF49C28615711DD3E750D2FC51763CB8AEDC2788005
CUSTOM_LICENCE_PUBLIC_KEY: 05BB2C697958AA4E409E93005659ED17A2CA20EB1123292DDA70A59EF8393802

but I can't get workflow to work
image

keygen source code ?

As we can generate our proper key, and proper image with our key, in order we also need the keygen, but this one is not opensourced

Mmips error

Hello
I have installed patched version of npk by patched netinstall but the router doesn’t boot up and had a restart loop
If i install original file via original netinstall it worked fine
Any idea ?

type of key

In your pipeline, there is some env using private/public key

      LATEST_VERSION_URL: 'https://upgrade.mikrotik.com/routeros/NEWESTa7.stable'
      LATEST_VERSION: "7.15"
      CUSTOM_LICENSE_PRIVATE_KEY: ${{ secrets.CUSTOM_LICENSE_PRIVATE_KEY }}
      CUSTOM_LICENSE_PUBLIC_KEY: ${{ secrets.CUSTOM_LICENSE_PUBLIC_KEY }}
      CUSTOM_NPK_SIGN_PRIVATE_KEY: ${{ secrets.CUSTOM_NPK_SIGN_PRIVATE_KEY }}
      CUSTOM_NPK_SIGN_PUBLIC_KEY: ${{ secrets.CUSTOM_NPK_SIGN_PUBLIC_KEY }}
      MIKRO_LICENSE_PUBLIC_KEY: ${{ secrets.MIKRO_LICENSE_PUBLIC_KEY }}
      MIKRO_NPK_SIGN_PUBLIC_LKEY: ${{ secrets.MIKRO_NPK_SIGN_PUBLIC_LKEY }}

what kind of key is it ?
As I saw you used toyecc I guess it could be

  • ECDSA
  • ECIES
  • ECDH
  • Elgamal
  • Ed25519
  • Curve25519

the question is which one ?

ty for your work :)

Can we the hack ROS program to skip DUID detection?

  • Problem 1: Many regions in China have started using vBRAS, but the DUID is not in the format defined by RFC, so it is directly rejected by ROS.
    log report: Bad server DUID

  • Problem 2: A custom DUID is provided through DHCP CLIENT OPTIONS, but ROS also considers it unusable.
    log report: Bad client duid

keygen source code ?

#14 (comment)

seriously ? In this case just put don't half of the exploit in opensource, just closes it, let's go, add everything except keygen.zip in .gitignore

解决了,怎么删?

我设置了一下admin用户的密码,现在admin只能是在admin组别,无法更改到full组别,我看系统默认有一个用户名是system的是full组别的,请问这个System账号的密码是多少?谢谢
system

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.