Seems like project omnibreak made a .py

Discussion in 'Switch - Hacking & Homebrew' started by gabru, Jun 8, 2017.

  1. dpad_5678

    dpad_5678 GBAtemp's Memelord

    Member
    1,698
    1,254
    Nov 19, 2015
    United States
    Code:
    echo off
    cls
    color 0a
    echo PRESS ANY BUTTON TO HACK THE MAINFRAME!!!!!1111!!!1!!
    pause
    :code
    echo %random%%random%%random%%random%
    goto code
     
    GerbilSoft likes this.
  2. Alkéryn

    Alkéryn Moon Dweller ~

    Member
    1,528
    1,920
    Mar 15, 2015
    France
    Albategnius, Moon
    Fake, switch can't read python since it don't have an interpreter
     
  3. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    1,518
    1,002
    Apr 20, 2007
    United States
    Here we go, now we've got a real solid base for true homebrew potential on the Switch. Just need Omnibreak to add the magic files and code up the interpreter:

    Code:
    #!/usr/bin/python3
    
    import hashlib
    import time
    import getpass
    
    # Print greeting
    print()
    print("Hello, Homebrew.")
    print("Omnibreak v0.3 Developer")
    print("-------------------------")
    
    # Ask for password, hiding input with getpass()
    devkey = getpass.getpass("Enter Developer Key: ")
    
    # Hashing key with SHA-256
    devkey = hashlib.sha256(devkey.encode()).hexdigest()
    
    # Comparing hashed key
    if devkey == "8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918":
        print("Welcome to Omnibreak HBL")
        print()
    else:
        print("Invalid Key")
        print()
        exit()
    
    # Prompt to install Homebrew Loader if hashed key passes check
    if input("Run HBL? y/[n]: ").lower() == "y":
    
        # Pretend to download something, n00bs
        print("Downloading...")
        for x in range(0,100):
            print("\r{0}%".format(x+1), end='')
            time.sleep(.2)
        print()
        print("DONE")
    
        # Exit the program having done nothing, lol
        input("PRESS ENTER TO CLOSE")
    else:
        print("Turning off...")
    print()
    exit()
    
     
  4. Joom

    Joom  ❤❤❤

    Member
    4,222
    2,890
    Jan 8, 2016
    United States
    As a malware researcher I can wholeheartedly say that VirusTotal is incredibly unreliable. The site Malwr is much better, and so is running a local Cuckoo VM. VT, and anti-viruses in general, honestly do nothing to detect crypted malware, and like to throw false positives more often than not. Never solely rely on them.