Red
Newbie
VIP
Retired
Requirements;
A Raspberry Pi running Raspbian Jessie
Note: This guide assumes you already know how to flash an img to your Pi. set a static IP, and SSH into it
A Raspberry Pi running Raspbian Jessie
Note: This guide assumes you already know how to flash an img to your Pi. set a static IP, and SSH into it
- SSH into your Pi or open the terminal using the desktop environment
- Install DNSmasq using the following command
Code:sudo apt-get install dnsmasq
- Add a forged DNS entry to the dnsmasq.conf file using nano
Code:sudo nano /etc/dnsmasq.conf
- Add the following lines to the end of the file, and replace **YOUR_RASPBERRY_PI_STATIC_IP** with your Pi's static IP that you set up in your router
Code:# Wii U Update Blocker address=/nus.cdn.shop.wii.com/127.0.0.1 address=/nus.cdn.wup.shop.nintendo.net/127.0.0.1 address=/nus.wup.shop.nintendo.net/127.0.0.1 address=/nus.c.shop.nintendowifi.net/127.0.0.1 # PS4 Update Blocker address=/manuals.playstation.net/**YOUR_RASPBERRY_PI_STATIC_IP** address=/.net.playstation.net/**YOUR_RASPBERRY_PI_STATIC_IP** address=/.ps4.update.playstation.net/**YOUR_RASPBERRY_PI_STATIC_IP** address=/gs2.ww.prod.dl.playstation.net/**YOUR_RASPBERRY_PI_STATIC_IP** address=/.207.net/127.0.0.1 address=/.akadns.net/127.0.0.1 address=/.akamai.net/127.0.0.1 address=/.akamaiedge.net/127.0.0.1 address=/.cddbp.net/127.0.0.1 address=/.ea.com/127.0.0.1 address=/.edgekey.net/127.0.0.1 address=/.edgesuite.net/127.0.0.1 address=/.llnwd.net/127.0.0.1 address=/.playstation.com/127.0.0.1 address=/.playstation.net/127.0.0.1 address=/.playstation.org/127.0.0.1 address=/.ribob01.net/127.0.0.1 address=/.sbdnpd.com/127.0.0.1 address=/.scea.com/127.0.0.1 address=/.sonyentertainmentnetwork.com/127.0.0.1
- Hit ctrl + X to exit nano followed by Y + enter to save the file
- Restart the service with the following command
Code:sudo service dnsmasq restart
- Install Apache Web Server
Code:sudo apt-get install apache2 -y
- Set the proper permissions
Code:sudo chown -R pi:www-data /var/www sudo chmod u+rxw,g+rx-w,o-rwx /var/www sudo chmod g+s /var/www
- Setup a redirect rule in the .htaccess file using nano
Code:nano /var/www/html/.htaccess
- Place the following text in the file
Code:RedirectMatch 301 /document/[a-z]{2}/ps4(.*) $1
- Save the file the same way you saved the DNSmasq.conf
- Edit the Apache2 conf to allow redirects
Code:sudo nano /etc/apache2/apache2.conf
- Find the following text
Code:<Directory /var/www/> ... </Directory>
- Edit the entry so it looks similar to the following snippet. You should only need to edit the AllowOverride line from None to All
Code:<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
- Save the file
- Restart Apache2
Code:sudo service apache2 restart
- Install Git
Code:cd ~ sudo apt-get install -y git dialog
- Clone the PiXploitHost Repo
Code:git clone https://github.com/c0d3m4st4/PiXploitHost.git cd PiXploitHost git submodule init git submodule update
- Move the newly cloned files into Apache2
Code:sudo chmod +x moveFiles.sh ./moveFiles.sh cd .. rm -rf PiXploitHost
- Once this is complete, navigate to your Pi's IP in your internet browser and you should see a page similar to this. If you did than that means the install was a success and you can begin setting up your PS4!
- Turn on your PS4 and disable automatic updates if you have not done so already by navigating to Settings > System > Automatic Downloads > Disable All
- Navigate to your network configuration to set up your newly created DNS(your pi's IP) Settings > Network > Set up internet connection > Select Cable or Wifi depending on your use > Custom > Manual IP Address(enter whatever you want here) > Primary DNS(enter your PI's IP) > > Keep the secondary DNS at 0.0.0.0 >
Set the manual IP to something similar to your default gateway. I.e. if your default gateway is 10.0.0.xx set your manual IP to 10.0.0.99
If you don't know what your default gateway or subnet mask is, you can find them on your PC using the command prompt and the ipconfig command - Once this is done, navigate back to your settings, scroll all the way to the top and select User's Guide. If done correctly you should see something similar to this
- Now you can run any exploit you want with ease, as well as have the added benefit of having system updates blocked on your system!