From bd3f3e96bcde98ead25cea2491ff53d37aaca688 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Tue, 12 Jan 2016 12:40:39 -0500 Subject: [PATCH] Added 5.4.0 and 5.5.1. --- README.md | 3 ++- wiiu_browserhax_common.php | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c55eb07..4789087 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,8 @@ Currently only binary ROP-chains are supported, hence no support for using this You must specify the "sysver={val}" URL parameter for pages using this codebase, for selecting your Wii U system-version: * "532": 5.3.2 -* "550": 5.5.0 +* "540": 5.4.0 +* "550": 5.5.0 / 5.5.1 # Usage diff --git a/wiiu_browserhax_common.php b/wiiu_browserhax_common.php index 7064348..e6df58d 100644 --- a/wiiu_browserhax_common.php +++ b/wiiu_browserhax_common.php @@ -12,6 +12,10 @@ if(isset($_REQUEST['sysver'])) { $sysver = 532; } + else if($_REQUEST['sysver']==="540") + { + $sysver = 540; + } else if($_REQUEST['sysver']==="550") { $sysver = 550; @@ -20,7 +24,10 @@ if(isset($_REQUEST['sysver'])) if($sysver===-1)die("The system-version must be specified via an URL parameter."); -require_once("wiiuhaxx_rop_sysver_$sysver.php"); +$filesysver = $sysver; +if($filesysver == 540)$filesysver = 532; + +require_once("wiiuhaxx_rop_sysver_$filesysver.php"); if(!isset($ropchainselect))$ropchainselect = -1; if($ropchainselect == -1)