There are many different esp8266 bins around but people always have different needs, some people want one with linux loader, others want one with GTA mod menu, some want one for 6.72, others want one for 7.55, and it's impossible to please everyone. So I decided to make an arduino sketch so you can change the settings yourself and upload your own exploit host. Thanks to treyjazz for codes related to setting up AP/Client mode. Here are some main features:
We don't have to actually modify anything here, but I'll remove css (delete <style>...</style>)and change html title (<title>...</title>). Now pay attention to all javascript files it loads:
These javascript files should be in the same directory as the html file (ESP8266 SPIFFS doesn't support directories), if they are in a subfolder (folder/xxx.js), move the javascript file out of the folder and change its path in html file.
Now move the html file and all javascript files it loads to a new folder. Repeat the same process for all other payloads you want to have on your esp8266.
Finally we need to make a main menu to load different payload html pages, here's an example:
I like to keep things simple. You can make it fancy and add offline cache manifest.
Next step is optional. You can compress the html and javascript files to save a lot of space. This is useful if you want to have a lot of payloads on your esp8266 as total usable space is only 2-3MB. I use 7zip to compress the html and javascript file, just right click on the file and select add to archive, choose gzip as archive format and click ok.
Now put all compressed files (or original files if they are small and don't need to be compressed) to the data folder in sketch folder, then go back to arduino, select tools-esp8266 sketch data upload. Wait for it to finish and hit reset. You can open terminal to see the progress and its ip address (WiFi client mode). Congratulations, now you have your very own esp8266 exploit host.
Get the arduino sketch here:
https://gofile.io/d/qdYbvo
- WiFi AP/Client mode: You can use your esp8266 as an access point or a client (esp8266 connects to your home WiFi network as an http/dns/ftp server)
- HTTP server
- FTP server: You can update payloads with FTP
- DNS server: All requests will be resolved to esp8266
- Setup arduino, install COM port driver for esp8266 and add esp8266 board manager. I won't go into details here as there are many other good guides you can find on google
- Install all required libraries and copy tools folder to your arduino folder. This is the esp8266 sketch data upload too
- Open the arduino sketch and change settings such as AP/Client mode, IP address, password etc
- Select correct board type and COM port, upload sketch
Code:
<html><head>
<meta http-equiv="content-type" content="text/html; charset=windows-1256">
<style>
body{color: white; background-image:url(WOLF.jpg); background-attachment:fixed; background-size:100%; background-repeat:no-repeat;}
}</style>
<title>THE WOLF HACK</title>
<script src="utils.js"></script>
<script src="int64.js"></script>
<script src="rop.js"></script>
<script src="goldhen.js"></script>
<script src="userland.js"></script>
<script src="ps4.js"></script>
</head>
<body onload="go()">
<button id="input1" onfocus="handle2()"></button>
<button id="input2"></button>
<button id="input3" onfocus="handle2()"></button>
<select id="select1">
<option value="value1">Value1</option>
</select>
</body>
</html>
We don't have to actually modify anything here, but I'll remove css (delete <style>...</style>)and change html title (<title>...</title>). Now pay attention to all javascript files it loads:
Code:
<script src="utils.js"></script>
<script src="int64.js"></script>
<script src="rop.js"></script>
<script src="goldhen.js"></script>
<script src="userland.js"></script>
<script src="ps4.js"></script>
Now move the html file and all javascript files it loads to a new folder. Repeat the same process for all other payloads you want to have on your esp8266.
Finally we need to make a main menu to load different payload html pages, here's an example:
Code:
<html>
<head>
<meta charset="utf-8" />
<title>ESP8266 Exploit Host</title>
</head>
<body>
<div>
<h1>PS4 JAILBREAK</h1>
<p><b>Payload Selection</b></p>
<a href="goldhen.html"><button><b>goldhen</b></button></a>
<a href="payload1.html"><button><b>payload1</b></button></a>
<a href="payload2.html"><button><b>payload2</b></button></a>
</div>
</body>
</html>
Next step is optional. You can compress the html and javascript files to save a lot of space. This is useful if you want to have a lot of payloads on your esp8266 as total usable space is only 2-3MB. I use 7zip to compress the html and javascript file, just right click on the file and select add to archive, choose gzip as archive format and click ok.
Now put all compressed files (or original files if they are small and don't need to be compressed) to the data folder in sketch folder, then go back to arduino, select tools-esp8266 sketch data upload. Wait for it to finish and hit reset. You can open terminal to see the progress and its ip address (WiFi client mode). Congratulations, now you have your very own esp8266 exploit host.

Get the arduino sketch here:
https://gofile.io/d/qdYbvo