GithubHelp home page GithubHelp logo

aliendog / henkaku Goto Github PK

View Code? Open in Web Editor NEW

This project forked from henkaku/henkaku

0.0 2.0 0.0 1.6 MB

Homebrew enabler for PS Vita

License: MIT License

Shell 3.56% HTML 29.54% Go 17.36% PHP 11.02% Python 38.52%

henkaku's Introduction

HENkaku Offline

You need to host two things: the first stage ROP and the second stage dynamic ROP. The first stage is just static HTML/JS and can be hosted using any means. The second stage must run our custom server. We provided a PHP and Go implementation (Go is recommended as it can handle ~1000x more requests per second).

Requirements

  • Python 3 (and the python3 command)
  • (Optional) PHP
  • (Optional) Go

Building

YOUR_STAGE_2_URL will point to where you are hosting stage 2 (must end with a / if you're using the Go server and must point to stage2.php if you're using PHP) and YOUR_PKG_PREFIX_URL will point to where you host the molecularShell package (we put it on the same static server as the first stage exploit files). Both URLs have a 255 character limit. Then call

./build.sh YOUR_STAGE_2_URL YOUR_PKG_PREFIX_URL

For example, if my server is at 192.168.1.100 and I run a web server on port 8888 serving the exploit files along with pkg and I run the stage 2 Go server on port 4000, then I would run

./build.sh http://192.168.1.100:4000/ http://192.168.1.100:8888/pkg

The built files will be in the ./host directory.

Running

Your stage 1 server can be any web server (Apache for example). For simplicity, you can run the following Python command to start a server at the current directory on port 8888

python -m SimpleHTTPServer 8888

Your stage 2 server can either be run as the PHP file (in that case YOUR_STAGE_2_URL would point to the PHP script) or as the Go server (your YOUR_STAGE_2_URL would point to the right port number). As an example, to run the Go server on port 4000, you can run

go run stage2.go -payload stage2.bin -port 4000

You can then visit http://192.168.1.100:8888/exploit.html to start the installation.

henkaku's People

Contributors

yifanlu avatar aagallag avatar

Watchers

James Cloos avatar Alien.WZY 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.