I have been trying to get either of these to work. I have seen a few people say that they got greenluma to work. One of them had said that they did it through WINE, but I have been having no luck.

  • AceSLS@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 months ago

    Don’t worry, I made you a quick install script to setup Frida for your Specific use case:

    #!/bin/sh
    
    DIR="$HOME/Frida"
    mkdir "$DIR"
    cd "$DIR"
    
    python -m venv "./python"
    source "./python/bin/activate"
    
    pip install frida-tools
    
    wget https://github.com/frida/frida/releases/download/16.1.4/frida-server-16.1.4-linux-x86.xz
    unxz frida-server-16.1.4-linux-x86.xz
    chmod u+x frida-server-16.1.4-linux-x86
    
    echo "#!/bin/sh
    source ./python/bin/activate
    frida -R -l _agent.js \$(pidof steam)" > inject.sh
    chmod u+x inject.sh
    
    echo "#!/bin/sh
    sudo ./frida-server-16.1.4-linux-x86" > launch-server.sh
    
    chmod u+x launch-server.sh
    

    Make sure that your system has python3 installed, otherwise the script will most likely fail.

    Now run my script, then download my _agent.js from https://anonymfile.com/84jO/agent.js and put it into your /home/YourUserName/Frida folder. After that navigate there and run ./launch-server.sh in your terminal. Open up another terminal in the same directory and enter ./inject.sh already, but don’t press enter yet. Then startup steam and quickly execute the previously prepared ./inject.sh

    That’s it, good luck and enjoy :) If something’s unclear feel free to reach out, and I know injecting it is annoying but I just can’t be bothered to make yet another script to inject it fully automatically just yet

    • obbbu@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      Wow looks great I appreciate your help immensely and to even go and make me a script too. Again I can’t thank you enough.

      • AceSLS@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        11 months ago

        No biggie, I quite enjoy helping people :) I tried to keep everything as simple as possible

        • obbbu@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 months ago

          I got it working all good, and that tutorial was very nice. Plus it’s cool that you like helping out. I appreciate it a million fold.

          • AceSLS@lemmy.sdf.org
            link
            fedilink
            English
            arrow-up
            1
            ·
            11 months ago

            I’m glad to hear that, have fun buddy. If it stops working one day feel free to dm me so I can fix my Frida script :)