Best Answer skysool, 09 January 2025 - 14:55
Bon je viens de tester...
Exécutez Fake DNS : python fakedns.py -c dns.conf. ==> OK
Exécutez le serveur HTTPS : python host.py. ==> ERROR
C:\Users\Skysool\Desktop\PS5-IPV6-Kernel-Exploit-main\host.py:7: SyntaxWarning: invalid escape sequence '\/'
self.path = re.sub('^\/document\/(\w{2})\/ps5', '/document/en/ps5/', self.path)
Traceback (most recent call last):
File "C:\Users\Skysool\Desktop\PS5-IPV6-Kernel-Exploit-main\host.py", line 33, in <module>
httpd.socket = ssl.wrap_socket(httpd.socket, server_side=True, certfile='localhost.pem', ssl_version=ssl.PROTOCOL_TLS)
^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'
J'ai donc du corriger le script Python Host.py et le remplacer par :
import http.server
import ssl
import time
import re
from http.server import BaseHTTPRequestHandler, SimpleHTTPRequestHandler, HTTPServer
class RequestHandler(SimpleHTTPRequestHandler):
def replace_locale(self):
self.path = re.sub(r'^/document/(\w{2})/ps5', '/document/en/ps5/', self.path)
def do_GET(self):
self.replace_locale()
return super().do_GET()
def do_POST(self):
self.replace_locale()
tn = self.path.lstrip('/document/en/ps5/')
fn = tn + '.bin' # '.json'
if not tn.startswith("T_"):
if fn != "a.bin":
print('!POST!: INFO: ' + str(self.rfile.read(int(self.headers['Content-length'])), "utf-8"))
return
else:
fn = time.strftime("%Y%m%d-%H%M%S") + ".json"
print('!POST!: ' + self.path + ' -->> ' + fn)
print('test: %d' % int(self.headers['Content-length']))
data = self.rfile.read(int(self.headers['Content-length']))
open("%s" % fn, "wb").write(data)
server_address = ('0.0.0.0', 443)
httpd = HTTPServer(server_address, RequestHandler)
# Création d'un contexte SSL moderne
context = ssl.SSLContext(ssl.PROTOCOL_TLS)
context.load_cert_chain(certfile='localhost.pem')
# Configuration du socket HTTPS avec le contexte SSL
httpd.socket = context.wrap_socket(httpd.socket, server_side=True)
print('Running server on https://0.0.0.0:443...')
httpd.serve_forever()
J'ai enfin le message : le message Running server on https://0.0.0.0:443 qui apparait ![]()
Je redémarre la PS5 et lance le guide utilisateur, accepte le certificat et ça se lance.
Je vous recommande de partir de cette version : https://github.com/i...UMTX-Jailbreak/
Elle intègre déjà tous les correctifs. Si vous n'arrivez pas à executer python host.py c'est qu'il vous faudra installer OPENSSL : https://slproweb.com...n32OpenSSL.html en 32 et 64 bits !
Après cette mise à jour cela semble en effet bien plus stable












