Hacking Self host Henkaku your self.

  • Thread starter Thread starter Deleted-355425
  • Start date Start date
  • Views Views 2,837
  • Replies Replies 12
D

Deleted-355425

Guest
Self host HENkaku locally!

See: http://wololo.net/2016/08/04/henkaku-webserver-updated-host-henkaku-locally-server/
Download: https://github.com/meetpatty/HENkaku-webserver

"We talked recently about HENkaku-webserver, developer Meetpatty‘s initiative to create a locally-hosted version of HENkaku. Locally hosting HENkaku removes the needs for an internet connection when (re) installing the hack, and could also be useful in events like this one.

The feedback on this tool has been overall very positive, but people complained about a setup that wasn’t user friendly, and the “windows only” aspect of HENkaku-webserver so far.

Well, Meetpatty has dramatically simplified the setup phase, has the service now creates all the files it requires at startup.

HENkaku-webserver is still windows only (as it runs on Asp.net), but the developer said he is looking into converting the code to Node.js for the sake of the exercise, and to make it Mac/Linux compatible. Of course, the source is there, nothing’s preventing other developers to also have a look at it and bring the solution to other platforms"
 
Last edited by ,
I've adapted this project to run on a static webserver and hosted it on my PS3, as I also did with Henlo. Unfortunately for both, all you get is the bootloader, which fails to connect to Henkaku's website for the required kernel downloads when offline. Having Vitashell, etc on a memory card just needing Henkaku to run isn't something this project can do until we can modify the Henkaku.bin file to point to a static local IP. Has anyone ever done this? We need to future-proof these against the inevitable.
 
Wow famous person. Thanks, I'm hopeful now. Not in the impossibilitty of navigating Github on a Vita of course, but I'll parse this URL by hand in Vitashell, as I idid with MeatPatty's code, porting the Python to Javascript. Oh the config probably needs a PC to compile. I'm doomed. If someone could make a Henkaku.bin that does 192.168.0.99, that wouldl be great. Maybe it's hexeditable in Vitashell.
Edit: Node.js, not Python. Implementing Buffer.readUint32LE in Vita's limited Javascript was fun though. Wish it had a C++ compiler to play with.
 
Last edited by XFoxPrower,
I still can't understand what you want to achieve.
One can redirect henkaku host to local host/IP via webserver settings.
 
My webserver is Webman Mod on PS3. Don't think it can do that. But looking further into what I could, it seems payload.js has the prefix as fed by the build process. I've modified that file manually already, so if that's all it takes, it's doable. Backwards I know, but I don't have a C++ on Vita. Never had luck with the Python interpreter either.
 
It's not the entire PS3. Server probably runs in the background while playing games like FTP. So the PKG URL prefix wasn't in payload.js. Henkaku.bin must have been dynamically built by build.c, which loads the config file. More hex editor poking with Vitashell to do.
 
Neat, updates. NodeMCU board? Is that like a Raspberry Pi? Or can I host this as-is? Now I get what you meant, but I planned on using Enso. I originally tried to reverse-engineer Henlo for 3.65 but had the same issue with packages.
 
Yet we still don't have an offline Henlo that fetches packages from a local IP. Can't find anything showing that's ever been accomplished. But I can't really view Github, so who knows? I tried the Esphaku thing you linked to but I don't know how to access the fixed IP of 11.22.33.44 on as a local IP on a LAN. Maybe needs a fancy Subnet or something.
 
Silly question because I'm not sure what you're trying to achieve but your what you can't achieve by coding python or C++, you could achieve via DNS. if you point your ps3 dns setting to a local DNS server such as unbound DNS, technidium or any other self hosted DNS application, you could resolve Henkaku to any IP you want. It's backward but that would be my choice. you could also play with nginx reverse proxy server.
 

Site & Scene News

Popular threads in this forum