Skip to content
Permalink
Browse files

Change 4.05 refs to 4.55

  • Loading branch information...
Al-Azif committed Feb 27, 2018
1 parent a297c25 commit 4b4501567ec98d70a6acf83f4f1ec02df725359b
Showing with 13 additions and 13 deletions.
  1. +9 −9 start.py
  2. +4 −4 updates/ps4-updatelist.xml
@@ -63,8 +63,8 @@
UPDATE_LOC = os.path.join(CWD, 'updates')
HTML_LOC = os.path.join(CWD, 'html')
STATIC_LOC = os.path.join(CWD, 'static')
SYSTEM_MD5 = '203C76C97F7BE5B881DD0C77C8EDF385'
RECOVERY_MD5 = '741CFE2F0DEC1BB4663571DE78AE31CF'
SYSTEM_MD5 = '9C85CE3A255719D56F2AA07F4BE22F02'
RECOVERY_MD5 = '6C28DBF66F63B7D3953491CC656F4E2D'
DEBUG = False
AUTOSEND = False

@@ -196,8 +196,8 @@ def inject_exploit_html(self, html):
return html.replace(b'{{EXPLOITS}}', data)

def check_ua(self):
"""Have to allow 4.05 and 5.05 because the spoofer changes the UA"""
if self.headers['User-Agent'] == 'Mozilla/5.0 (PlayStation 4 4.05) AppleWebKit/537.78 (KHTML, like Gecko)' or \
"""Have to allow 4.55 and 5.05 because the spoofer changes the UA"""
if self.headers['User-Agent'] == 'Mozilla/5.0 (PlayStation 4 4.55) AppleWebKit/537.78 (KHTML, like Gecko)' or \
self.headers['User-Agent'] == 'Mozilla/5.0 (PlayStation 4 5.05) AppleWebKit/537.78 (KHTML, like Gecko)':
return True
else:
@@ -220,14 +220,14 @@ def do_GET(self):
if self.check_ua():
self.exploit_matcher()
else:
self.send_error(400, explain='This PS4 is not on the right firmware (4.05)')
print('>> Non-4.05 PS4 attempted to access exploits')
self.send_error(400, explain='This PS4 is not on the right firmware (4.55)')
print('>> Non-4.55 PS4 attempted to access exploits')
elif re.match(r'^\/exploits\/.*\/', self.path):
if self.check_ua():
self.exploit()
else:
self.send_error(400, explain='This PS4 is not on the right firmware (4.05)')
print('>> Non-4.05 PS4 attempted to access exploits')
self.send_error(400, explain='This PS4 is not on the right firmware (4.55)')
print('>> Non-4.55 PS4 attempted to access exploits')
elif re.match(r'^\/static\/', self.path):
self.static_request()
else:
@@ -331,7 +331,7 @@ def check_update_pup(type, md5):
hasher.update(data)
system_hash = hasher.hexdigest().upper()
if system_hash != md5:
closer('ERROR: {} is not version 4.05'.format(update_name))
closer('ERROR: {} is not version 4.55'.format(update_name))
print('>> {} checksum matches '.format(update_name))
except IOError:
pass
@@ -1,13 +1,13 @@
<update_data_list>
<region id="{{REGION}}">
<system_pup label="4.05" sdk_version="04.050.000" version="04.050.000">
<system_pup label="4.55" sdk_version="04.550.000" version="04.550.000">
<update_data update_type="full">
<image size="312070144">http://d{{REGION}}01.ps4.update.playstation.net/update/ps4/image/2016_1026/sys_203c76c97f7be5b881dd0c77c8edf385/PS4UPDATE.PUP</image>
<image size="339864576">http://d{{REGION}}01.ps4.update.playstation.net/update/ps4/image/2017_0411/sys_9c85ce3a255719d56f2aa07f4be22f02/PS4UPDATE.PUP</image>
</update_data>
</system_pup>
<recovery_pup type="default">
<system_pup label="4.05" sdk_version="04.050.000" version="04.050.000"/>
<image size="891065856">http://d{{REGION}}01.ps4.update.playstation.net/update/ps4/image/2016_1026/rec_741Cfe2f0dec1bb4663571de78ae31cf/PS4UPDATE.PUP</image>
<system_pup label="4.55" sdk_version="04.550.000" version="04.550.000"/>
<image size="918867456">http://d{{REGION}}01.ps4.update.playstation.net/update/ps4/image/2017_0411/rec_6c28dbf66f63b7d3953491cc656f4e2d/PS4UPDATE.PUP</image>
</recovery_pup>
</region>
</update_data_list>

0 comments on commit 4b45015

Please sign in to comment.
You can’t perform that action at this time.