What's new

Tutorial How To Setup PiXploitHost

Red

Red

Newbie
VIP
Retired
Scaling the Mountain Mythical Veteran MotM
Messages
15,366
Solutions
3
Reaction score
10,426
Points
2,300
Sin$
7
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

  1. SSH into your Pi or open the terminal using the desktop environment
  2. Install DNSmasq using the following command
    Code:
    sudo apt-get install dnsmasq
  3. Add a forged DNS entry to the dnsmasq.conf file using nano
    Code:
    sudo nano /etc/dnsmasq.conf
  4. 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

  5. Hit ctrl + X to exit nano followed by Y + enter to save the file
  6. Restart the service with the following command
    Code:
    sudo service dnsmasq restart
  7. Install Apache Web Server
    Code:
    sudo apt-get install apache2 -y
  8. 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
  9. Setup a redirect rule in the .htaccess file using nano
    Code:
    nano /var/www/html/.htaccess
  10. Place the following text in the file
    Code:
    RedirectMatch 301 /document/[a-z]{2}/ps4(.*) $1
  11. Save the file the same way you saved the DNSmasq.conf
  12. Edit the Apache2 conf to allow redirects
    Code:
    sudo nano /etc/apache2/apache2.conf
  13. Find the following text

    Code:
    <Directory /var/www/>
        ...
    </Directory>
  14. 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>
  15. Save the file
  16. Restart Apache2
    Code:
    sudo service apache2 restart
  17. Install Git

    Code:
    cd ~   
    sudo apt-get install -y git dialog
  18. Clone the PiXploitHost Repo
    Code:
    git clone https://github.com/c0d3m4st4/PiXploitHost.git
    cd PiXploitHost
    git submodule init
    git submodule update
  19. Move the newly cloned files into Apache2
    Code:
    sudo chmod +x moveFiles.sh
    ./moveFiles.sh
    cd ..
    rm -rf PiXploitHost
  20. 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!
    PmfYlkO.png

  21. Turn on your PS4 and disable automatic updates if you have not done so already by navigating to Settings > System > Automatic Downloads > Disable All
  22. 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
  23. 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
    R3pvs1V.png

  24. 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!
 
Snowy

Snowy

Let it snow
Hidden Devils
Messages
2,605
Solutions
2
Reaction score
917
Points
790
Sin$
0
Is this for Jailbroken consoles? If not, does it work with the latest kernel?
 
Red

Red

Newbie
VIP
Retired
Scaling the Mountain Mythical Veteran MotM
Messages
15,366
Solutions
3
Reaction score
10,426
Points
2,300
Sin$
7
Is this for Jailbroken consoles? If not, does it work with the latest kernel?
You can use it on the latest kernal, but the only benefit you will receive is that system updates will be blocked.

This is geared towards jailbroken systems since all of the exploits you need can be accessed quickly
 
HuskerHeaven

HuskerHeaven

when I took his glass of champagne...
Retired
Messages
8,249
Reaction score
3,370
Points
1,680
Sin$
7
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

  1. SSH into your Pi or open the terminal using the desktop environment
  2. Install DNSmasq using the following command
    Code:
    sudo apt-get install dnsmasq
  3. Add a forged DNS entry to the dnsmasq.conf file using nano
    Code:
    sudo nano /etc/dnsmasq.conf
  4. 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

  5. Hit ctrl + X to exit nano followed by Y + enter to save the file
  6. Restart the service with the following command
    Code:
    sudo service dnsmasq restart
  7. Install Apache Web Server
    Code:
    sudo apt-get install apache2 -y
  8. 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
  9. Setup a redirect rule in the .htaccess file using nano
    Code:
    nano /var/www/html/.htaccess
  10. Place the following text in the file
    Code:
    RedirectMatch 301 /document/[a-z]{2}/ps4(.*) $1
  11. Save the file the same way you saved the DNSmasq.conf
  12. Edit the Apache2 conf to allow redirects
    Code:
    sudo nano /etc/apache2/apache2.conf
  13. Find the following text

    Code:
    <Directory /var/www/>
        ...
    </Directory>
  14. 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>
  15. Save the file
  16. Restart Apache2
    Code:
    sudo service apache2 restart
  17. Install Git

    Code:
    cd ~   
    sudo apt-get install -y git dialog
  18. Clone the PiXploitHost Repo
    Code:
    git clone https://github.com/c0d3m4st4/PiXploitHost.git
    cd PiXploitHost
    git submodule init
    git submodule update
  19. Move the newly cloned files into Apache2
    Code:
    sudo chmod +x moveFiles.sh
    ./moveFiles.sh
    cd ..
    rm -rf PiXploitHost
  20. 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!
    PmfYlkO.png

  21. Turn on your PS4 and disable automatic updates if you have not done so already by navigating to Settings > System > Automatic Downloads > Disable All
  22. 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
  23. 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
    R3pvs1V.png

  24. 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!
Does this have to be done the Pi? Basically, could we load up Ubuntu server in a VM and accomplish the same thing...
 
Red

Red

Newbie
VIP
Retired
Scaling the Mountain Mythical Veteran MotM
Messages
15,366
Solutions
3
Reaction score
10,426
Points
2,300
Sin$
7
Does this have to be done the Pi? Basically, could we load up Ubuntu server in a VM and accomplish the same thing...
I'm theory you should be able too. Provided that the VM uses a flavor of linux
 
Snowy

Snowy

Let it snow
Hidden Devils
Messages
2,605
Solutions
2
Reaction score
917
Points
790
Sin$
0
I'm theory you should be able too. Provided that the VM uses a flavor of linux
Ubuntu is a flavour of linux.
Does this have to be done the Pi? Basically, could we load up Ubuntu server in a VM and accomplish the same thing...
The main thing that may differ is APT. I'm pretty sure Ubuntu has APT but it might be one of the ones that uses yum (I know redhat uses yum) or another.
 
HuskerHeaven

HuskerHeaven

when I took his glass of champagne...
Retired
Messages
8,249
Reaction score
3,370
Points
1,680
Sin$
7
Ubuntu is a flavour of linux.

The main thing that may differ is APT. I'm pretty sure Ubuntu has APT but it might be one of the ones that uses yum (I know redhat uses yum) or another.
Ubuntu uses APT. Run a few different Ubuntu servers. Main reason I was asking is this is geared towards having a Pi, which not everyone has. But, most people own a computer and can run a VM of any Linux version and could accomplish the same thing with buying more hardware. Not that the Pi is expensive, but you should be able to do it on both. I just didn't know if something in the git repository was made special for a Pi or if that's just what they used.
 
P

PiMikeB

Newbie
Messages
2
Reaction score
0
Points
10
Sin$
7
After going through the instruction i end with Apache2 page.
What I'm doing wrong!
 
P

PiMikeB

Newbie
Messages
2
Reaction score
0
Points
10
Sin$
7
Sounds like you never set up the webpage

try steps 9 and onward again
After
nano /var/www/html/.htaccess

I had this in the code

RewriteEngine on
RewriteBase /

RewriteCond %{HTTP_USER_AGENT} "PlayStation 4 5.05" [NC]
RewriteRule ^document/[a-z]{2}/ps4(.*)$ PiXploitHost/ps4/ps4_505_index.html [L,R]

RewriteCond %{HTTP_USER_AGENT} "PlayStation 4 4.55" [NC]
RewriteRule ^document/[a-z]{2}/ps4(.*)$ PiXploitHost/ps4/ps4_455_index.html [L,R]


Does that make any difference?
 
Top Bottom
Login
Register