Advertising (This ad goes away for registered users. You can Login or Register)

[Release]Host HENkaku - On Windows/Linux/OSX/Android

HENkaku is a native Homebrew Enabler for the PS Vita and PS TV. It lets you run homebrews on the PS Vita
meetpatty
Posts: 29
Joined: Mon Mar 18, 2013 7:13 pm

[Release]Host HENkaku - On Windows/Linux/OSX/Android

Post by meetpatty » Tue Aug 02, 2016 10:25 am

Update 07/08

Here are the confirmed steps for using HENkaku-webservice on android (Works with Tethering!)
  1. Install termux on android device: https://play.google.com/store/apps/deta ... rmux&hl=en
  2. Install Hackers Keyboard on android device: https://play.google.com/store/apps/deta ... oard&hl=en
  3. Open terminux on android device
  4. In termux execute:
    1. apt update && apt upgrade
    2. apt install coreutils
    3. apt install nodejs
    4. mkdir henkaku && cd henkaku
    5. npm install express
    6. npm install request
  5. On your android device use a webrowser to download https://github.com/meetpatty/HENkaku-we ... service.js
  6. Edit the downloaded file (HENkaku-webservice.js)with your favourite text editor.
    1. Change line 10 to: var localUrl = "http://<ipaddress>:3000/x";
      where <ipaddress> is the ip address of your android device
      If you are using a wifi hotspot and have your vita connected, look at the output from ifconfig, the ip address will be field inet addr in wlan0
    2. Change line var server = app.listen(80, function () { to var server = app.listen(3000, function () { (line 325 currently)
  7. In termux copy HENkaku-webservice.js to henkaku folder created in previous step: cp <pathtodownloadedfile> ./
  8. You can now run the web sevice in termux, execute: node HENkaku-webservice.js
  9. Browse to http://<ipaddressofandroiddevice>:3000/ on your vita
Updatate 06/08

I have re-written the webservice in node.js which means multiplatform support. I have also removed the need for a proxy. See the release for setup:

https://github.com/meetpatty/HENkaku-we ... ses/latest

Update 03/08 - HENkaku web service now automatically creates all the required files when starting up. The install process is now greatly simplified!

See Usage.odt in the project for how to setup.

After my previous attempt to create a solution to host HENkaku locally failed, I have now been successful in creating a webservice to deliver the HENkaku exploit.

See https://github.com/meetpatty/HENkaku-webserver

Right now it is a windows only solution as it uses ASP.NET webapi. It uses fiddler to redirect the request to go.henkaku.xya/x?... to the local webservice and a payload is generated based on the addresses passed in to the request.
Advertising
Last edited by meetpatty on Sun Aug 07, 2016 2:27 am, edited 7 times in total.

AlexxLopaztico02
Posts: 48
Joined: Thu Jul 21, 2016 9:30 pm

Re: Host HENkaku locally - Actually working this time

Post by AlexxLopaztico02 » Tue Aug 02, 2016 3:02 pm

Thanks! Now we dont need wifi to henkaku :D

And, have you thinked of making the same but the ftp? Like a local ftp
Advertising

User avatar
gnmmarechal
Posts: 74
Joined: Mon Apr 11, 2016 8:47 am

Re: Host HENkaku locally - Actually working this time

Post by gnmmarechal » Tue Aug 02, 2016 4:09 pm

AlexxLopaztico02 wrote:Thanks! Now we dont need wifi to henkaku :D

And, have you thinked of making the same but the ftp? Like a local ftp
iirc, FTP is already local...

lawthugg
Posts: 58
Joined: Mon Oct 08, 2012 7:46 am
Location: MASS / USA

Re: Host HENkaku locally - Actually working this time

Post by lawthugg » Tue Aug 02, 2016 8:42 pm

So as this is very involved, and for some one whos a bit dyslexic, would there be a video tutorial in the works? Would be a great addition to the release.
Co-designer of PSP U.P.M.S.
It's been a while, i shouldn't have left you.

meetpatty
Posts: 29
Joined: Mon Mar 18, 2013 7:13 pm

Re: Host HENkaku locally - Now easier to setup

Post by meetpatty » Wed Aug 03, 2016 10:04 am

The setup process for HENkakuWebServer has been significantly improved, all required files are now automatically created. See above for link.

User avatar
psgarsenal
Posts: 84
Joined: Sun Feb 03, 2013 10:37 am
Location: /home/psgarsenal
Contact:

Re: Host HENkaku locally - Now easier to setup

Post by psgarsenal » Wed Aug 03, 2016 12:03 pm

Hey,
Really like your job here!

Just in case you didn't know it, Mono (open-source copy of .net) supports ASP.net
http://www.mono-project.com/docs/web/aspnet/

As mono is supported on mac and linux, do you think you could build again your solution using mono? this would mean more compatibility at close to no cost for you!

Thanks for reading !

meetpatty
Posts: 29
Joined: Mon Mar 18, 2013 7:13 pm

Re: Host HENkaku locally - Now easier to setup

Post by meetpatty » Wed Aug 03, 2016 12:22 pm

Will take a look, although I may well end up doing a re-write using node.js as a learning exercise.

romain337
Posts: 219
Joined: Wed Feb 29, 2012 10:42 am
Location: France
Contact:

Re: Host HENkaku locally - Now easier to setup

Post by romain337 » Wed Aug 03, 2016 12:41 pm

Hi

Can you just package the necessary files and let us put them in our favorite server ? Server code is mandatory?

meetpatty
Posts: 29
Joined: Mon Mar 18, 2013 7:13 pm

Re: Host HENkaku locally - Now easier to setup

Post by meetpatty » Wed Aug 03, 2016 12:56 pm

The web service is required since a unique payload must be generated each time the exploit runs on the vita. Have a look at the code, it isn't just serving up static content...

romain337
Posts: 219
Joined: Wed Feb 29, 2012 10:42 am
Location: France
Contact:

Re: Host HENkaku locally - Now easier to setup

Post by romain337 » Wed Aug 03, 2016 7:22 pm

I didn't know much how javascript work. I've already tried to read how the wii payload work but failed hard. I've also read a bit of your C# code for the server you shared on github but I did not know either how all of this work :)

Thanks for the quick answer!

Post Reply

Return to “HENkaku”