this is an install script to setup a dns server(blocker), web server, wifi access point and a exploit host on a Raspberry PI 3/4/400 5, Raspberry PI Zero 2 W, ROCK 4C Plus or BTT Pi.
the script will prompt you to install a ftp server and setup a samba share to access the exploit/payload files.
you can setup either one or both or none at all.
it is using PS5-Exploit-Host by idlesauce.
install the Armbian os onto your pi
i have tested the following images:
Raspberry PI 3/4/400 image
Raspberry PI 5 image
Rock PI 4C+ image
BTT PI v1.2 image
it may work on other variants of raspberry pi hardware if you can find the armbian image to suit that board.
if you have a Raspberry PI Zero 2 W you can use Raspberry Pi OS Lite
i have tested the following images:
Raspberry PI Zero 2 W image
during the first run of armbian if you are asked to "choose the default system command shell" make sure you select bash which is normally option 1
if you are using the BTT Pi and you setup a wifi connection to your home network use wlan0 because wlan1 will be used for the wifi access point.
boot up the pi and set your credentials then login using a keyboard/screen on the pi or use putty or something similar to access ssh remotely.
once you have done that just run the following commands:
install git
sudo apt update
sudo apt install git -y
clone this repo and enter the cloned directory
sudo git clone https://github.com/stooged/PS5-PI-Server
cd PS5-PI-Server
run the install script
sudo chmod 777 install.sh
sudo ./install.sh
if you install FTP to access the www folder for the exploit files/payloads you can use your pi login user/pass to access the server.
if you setup samba to access the www folder for the exploit files/payloads you can access the drive on \\ps5.local\www or smb:\\ps5.local\www
the share has no user/password required to access it.
if you do not set the SSID and password during the install the default settings are
ssid=PS5_WEB_AP
wpa_passphrase=password
if you want to change those settings you can run the following command to edit those values then reboot the pi for the changes to take effect.
sudo nano /etc/hostapd/hostapd.conf
the SSID must be between 2 and 32 characters long.
the password must be between 8 and 63 characters long.
you should be able to access the exploit page on http://ps5.local
if you are not using the wifi AP then edit the dns settings on your ps5 to the ip of the pi and you can then go to the user guide to run the exploit.