Giter VIP home page Giter VIP logo

ps4-server-900u's Introduction

PS4 Server 9.00u

if you do not want to have to insert usb drives or wire things up then use ESP32-Server-900u and a ESP32-s2 board.



this is a slight mod to PS4 Server 9.00

the only files now required on the spiffs storage of the esp8266 are the .bin payloads, everything else is handled internally including generating a list of payloads.

you can still modify the html by uploading your own index.html, if there is no index.html on the spiffs storage the internal pages will be used.

if you have problems compiling the sketch make sure the ESP8266 library is up to date.

i have added the ability to switch off and on the usb device by using the pin D7 on the board to trigger a relay to control the power to the usb device.

the idea is to cut the 5v power to the usb drive and have it switched on and off by a relay which is controlled by the esp8266 device and switch it off and on during the initial exploit load which removes the need to plug and unplug the usb drive.

you can make it with a usb A female to male cable, this is a basic diagram of how to set it up.

TRR1A05D00 5 Volt SPST DIL Reed Relay


BESTAR BR-500 Reed Relay (5V, 500Ω)



another way to set it up is to use a npn transistor and cut the ground to the usb device which was shown by blumenal over on psxhax.

the parts required are:

1k resistor
1.1k resistor
BC 548 NPN transistor

this is a basic diagram of how to set that up.




Cable Mods

this is the test cable i made and this would be the easiest for people to make.

parts used are:

D1 Mini Pro v1 ESP8266 board.

BESTAR BR-500 Reed Relay (5V, 500Ω)

0.5m USB 2.0 A Male to USB A Female




i ended up 3d printing a small box to hold the relay and ESP8266 for the cable mod, i filled the relay/wires side with hot glue and glued the box together.

the files for the box are in the STL folder and it can be printed with PLA and no supports are needed.






Alternative Method

i made a cable to test blumenal's method and it works perfectly so if you can source those parts it is an alternative to the relay, the code needs no changes for either method to work.





Usb Chip In Box

i made this cable for a friend and i decided to solder the usb chip into the circuit and i made a box for a single usb cable.



the end result:




PS4 PHAT

the parts used are:
D1 Mini Pro v1 ESP8266 board.

PS4 USB HUB TP4-810

TRR1A05D00 5 Volt SPST DIL Reed Relay.

SanDisk Ultra Fit 8gb usb drive

some pictures of the mod:





the end result:



PS4 SLIM

the slim usb hub has less room but you can just fit the board in.

the parts used are:

PS4 Slim USB HUB TP4-821

TRR1A05D00 5 Volt SPST DIL Reed Relay.

D1 Mini ESP8266 board.


the end result:




PS4 PRO

the usb hub for the pro.

the parts used are:

PS4 Pro USB HUB TP4-832

TRR1A05D00 5 Volt SPST DIL Reed Relay.

D1 Mini Pro v1 ESP8266 board.

SanDisk Ultra Fit 8gb usb drive

this one was a little different i removed one of the usb ports and pulled the chip out of the usb drive and soldered it directly into the hub and then blocked the hole for the port i removed.





the end result:


Video

video

ps4-server-900u's People

Contributors

r34liam avatar stooged avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ps4-server-900u's Issues

Show MAC address code

Not an error but I made some code to show the MAC address of the esp s2:

//convert byte array to a hex string output
String mac2String(byte ar[]){
  String s;
  for (byte i = 0; i <= sizeof(ar)+1; ++i)
  {
    char buf[3];
    sprintf(buf, "%02X", ar[i]);
    s += buf;
    if (i <= sizeof(ar)) s += ':';
  }
  return s;
}

//get esp2 mac address from long long int and convert into a byte array
String MacAddress() {
  uint64_t mac = ESP.getEfuseMac();
  char arrayOfByte[]={};
  memcpy(arrayOfByte, &mac, 6);
  char one = arrayOfByte[0];
  char two = arrayOfByte[1];
  char three = arrayOfByte[2];
  char four = arrayOfByte[3];
  char five = arrayOfByte[4];
  char six = arrayOfByte[5];
  byte buf[] = {one, two, three, four, five, six};
  String s = mac2String(buf);
  return (s);
}

You can add it to void handleInfo:

output += "MAC Address: " + MacAddress() + "<br>";

That way in the info page it will let you know the mac of the chip.

ESP32 Support

Would you be so kind to port that for ESP32 as well?

Auto USB not working, unsure why.

Sorry its me again,
When I load GoldHen without a Index/Payload.html everything goes smooth, exploit loads without popup messages which I really like. I created a index and payload.html, Press GoldHen, says loading exploit and then a popup appears asking to insert USB drive, nothing happens after this.

If you have a spare couple of minutes, would it be possible to see what I have done wrong please? HTML and coding is very new to me and a little clueless, searched on Google without results, I maybe searching wrong. Cant figure out why a Index/payload.html is stopping everything from working as it should. As soon I remove Index/Payloads.html it works.

Thanks.

index.html.gz
payloads.html.gz

Request: removing alert

finally got everything working
didn't have 1.1k resistor so i used 1k and 5k for high

everything works as it should. although I'm trying to fool around with the code and attempting to remove the alertbox and adding a settimeout instead, but it seems to not work, i tried 10seconds to 30 seconds and a combination of both to add as much delay
i've tested numerous times on normal alert and it shows within 8 seconds and hitting ok loads the payload just fine.

`//ESP8266 enable usb - stooged

enableUSB();

//alert("Click OK When You See The Popup Notification");

showMessage("waiting for prompt");

setTimeout(showMessage("waiting for prompt"), 30000); `

maybe it's interfering with chain.run and causing issues.

all i want is a one click loader LOL

p.s i read your note about killing webkit and i added window.close() at the end but i'm sure you have a more elegant process

mDNS support

Any plan to implement mDNS ?
This way instead of pointing the PS4 to IP address we shall be able to use HELP section to redirect to ESP web server ?

not exactly an issue

could it be programmatically done to divert the DATA + (or even DAT -) line of the flashdrive to a GPIO d7 and throw it to d8 ON trigger instead of using a relay?

probably a stupid question but IDK

**edit
i searched online but it seemed to say not possible

idea dns server +goldhen 2.4

its probably doable to include a dns server that block what need to be block, and update the GoldHEN for 2.4? like this al azif dont need to host everybody it will be a all in one complete solution that it is, already amazing work

Kindly Feature request

Hello Stooged. I have been using your sketch since day one and this is the best and most versatile sketch. I am really grateful for this awesome idea. I just wanted to kindly ask you if it would be possible to add feature to load Goldhen automatically on or off. I mean to set it on or off (ideally to choose which bin to autoload) from the menu. Just to avoid choosing if autohen on or off while compiling the sketch. This would be awesome.
Thank you for all work you made, I have learned to solder thanks to you

Little question about resistors

Hello, I'm learning a litle about electronics, and I have a doubt on why the NPN transistor needs the resistor on the base and on the GND cable of the USB?

Thanks

Esp32 with control usb

Hello, Would you be so kind to port that for ESP32 as well? With control usb, the board original wihtouth S2, thanks

PS4_Server_900u.ino - typo!

In PS4_Server_900u.ino

line 635 - <a onclick="setpayload('gldhen.bin','" + String(INTHEN_NAME)

Did you mean to type - gldhen.bin? Shouldn't it be goldhen.bin!

Loader.h

Hi,
i got too many kp or kernel heap on usb sleep time 10000 ms.
changed to 15000 ms & no more kp
tested on 2 ps4
usb 2 & usb3
@Leerz

sketch compilation problem + loader appears to be borked

Hi,

Firstly, the recent introduction of the ability to connect to a Wi-Fi network has broken the build sketch compiling due to data type miscast.

no matching function for call to 'ESP8266WiFiClass::begin(String&, String&)'
which can be remedied by casting to c-string char array
WiFi.begin(WIFI_SSID.c_str(), WIFI_PASS.c_str());

What's beyond me however is the recent changs to the way SPIFFS are managed and loading the bins directly opposed to having them converted to a html page. Whenever I select a payload from index/payloads.html nothing appears to happen, no text is display, only the navy blue background perists and that's that. I've tried uploading a custom index.hml from #8, but alas it's the same thing - nothing happens what so ever as if the function is not being triggered.

NOT AN ISSUE, A question sorry

Hi there,

managed to compile and worked on my ESP, although it says how to upload payloads im unsure on this step.
I use a mac and under Tools is no Sketch, there is a Sketch submenu, but no load data.

Any help would be amazing on this thanks.

Not an issue, sharing my build

20220125_012843_HDR
20220125_015443_HDR

managed to cram inside those prevalent ps4 payload dongles which are cheap esp8266
autoboots goldhen

plug in once,
connect to APN once
user guide or browser upon boot

??!!!

profit

Thank you!

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.