Git Product home page Git Product logo

labview-vi-hacker's Introduction

LabVIEW-VI-Hacker

Unlocks password protected LabVIEW VIs

Disclaimer: This is for demonstration purposes only, not to be used for malicious intent.

Note: This does not support VI's in LLB's, copy the VI out of the LLB first.

Getting Started

Open the /src/VI-Hacker.vi, enter a password protected VI Path (that's not in an llb).

Run the VI to unlock the password protected VI and preview the content in new VI.

Note: The original source VI remains unmodified.

Demo

You are now able to see what's on the block diagram.

Downloads

This project is saved in LabVIEW 2022. Older LabVIEW version zips are located in /builds/:

How does it work?

The VI-Hacker library uses a simplified variation of the VI-Explorer-VI brute force algorithm to calculate the MD5 password salt to regenerate and replace the Block Diagram Password (BDPW) MD5 password hashes. The MD5 of the original password is concatenated with the owning libraries (LIBN) block (as colon delimited qualified library path) and LabVIEW Source (LVSR) data block. The password salt is then calculated by brute force and checked against the first password hash (Hash1). Once the salt if found, the BDPW.Password(MD5) + LIBN.QualifiedPath + LVSR.Content + Salt are concatenated with the uncompressed block diagram heap (BDHc, BDHb, or BDHP) to generate the final hash (Hash2). ZLib is used to uncompress the block diagram heap (BDHc, BDHb) for the final password hash. The Block Diagram Password (BDPW) block is then replaced within the VI file:

BDPW:
  Password (MD5) - 16 bytes
  Hash1 (MD5) - 16 bytes
  Hash2 (MD5) - 16 bytes

The VI is saved to a new path and then loaded as a VI scripting template to avoid application content switching.


Credit

Ryan Pacini (c) 2023

ZLib - Defalte to uncompress block diagram heap LICENSE

VI-Explorer-VI - Salt cracking LICENSE

labview-vi-hacker's People

Contributors

rcpacini 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

Watchers

 avatar  avatar

labview-vi-hacker's Issues

zlib.dll call returns error 12

I'm getting error 12 when using this tool in 64-bit version of LV. I guess zlib.dll is compiled for 32-bit and can't be called by 64-bit LV process.

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.