GithubHelp home page GithubHelp logo

tiburs / henkaku Goto Github PK

View Code? Open in Web Editor NEW

This project forked from henkaku/henkaku

0.0 2.0 0.0 2.71 MB

Homebrew enabler for PS Vita

License: MIT License

CMake 1.09% C 83.35% Shell 2.84% Python 5.51% Assembly 4.51% Logos 0.20% JavaScript 2.49%

henkaku's Introduction

Build

Only Linux is supported. You will need:

  • roptool
  • Python 3
  • Ruby (specifically, the erb command-line tool)
  • Vita SDK: Download from here either for Ubuntu 12.04/16.04/Windows
  • Uglify JS (Ubuntu 16.04 package node-uglify) tested version 2.4.15
  • Other standard tools that you should already have installed, such as openssl, dd, cat, touch

All tools should be in your PATH.

Run ./build.sh to build everything. This script first cleans up all build directories and then builds the exploit.

Develop

It's useful to have everything be automatically rebuilt when a source file changes. To achieve that, install entr and execute in a separate termina:

while sleep 1; do find build.sh krop/ payload/ urop/ webkit/ | entr -d ./build.sh ; done

Then when you change a source file (or add a new one), everything will be automatically rebuilt. Note that if you add a new directory, you will need to update the script.

Distrib

Distribute only the files from the output directory, don't distribute any other files.

There are two versions of the exploit, located in the output directory. Either can be served using any regular web server (e.g. python3 -m http.server).

The offline payload is for running with the Email client. The web payload is for running on the Browser app.

Exploit

To run the exploit, first cold boot your Vita, then navigate to exploit.html. The following situations are possible:

  • browser doesn't display any alert()s and displays a gray "Please wait..." screen after a few seconds: this is normal, allow up to 10 reloads before the exploit actually triggers
  • you get a "trigger" alert(), then nothing happens: the exploit succeeded
  • you get a "trigger" alert(), then the browser crashes: the exploit failed, retry it a few times, then reboot the Vita and try again
  • you get a "trigger" alert(), then the system crashes: that shouldn't happen, try the exploit again

henkaku's People

Contributors

xyzz avatar yifanlu avatar daveeftw avatar proximav avatar d3m3vilurr avatar theofficialflow avatar devnoname120 avatar

Watchers

James Cloos avatar  avatar

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.