stooged / PS5-PI-Server

For Raspberry PI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PS5 PI Server

this is an install script to setup a dns server(blocker), web server, wifi access point and a exploit host on a raspberry 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.

Tested PI Models

Raspberry Pi 5
Raspberry Pi 4 Model B
Raspberry Pi 400
Raspberry Pi 3B+
Raspberry Pi Zero 2 W
ROCK PI 4C Plus with armbian Image

Install

You need to install Raspberry Pi OS Lite or Armbian Cli / Minimal onto a sd card.

it may work on other variants of pi type hardware if you can find the armbian image to suit that board.


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



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:

sudo apt update
sudo apt install git -y
sudo git clone https://github.com/stooged/PS5-PI-Server
cd PS5-PI-Server
sudo chmod 777 install.sh
sudo bash install.sh



Console FTP / Elfload / PKG Install

you can access the ftp, klog, Elfload, Pkg install servers on the console
Your pi must be connected to your home network via wifi or a second ethernet connection
To connect to the servers from your pc just connect to the raspberry pi ip on your network and all requests will be forwarded to the console

For ftp make sure you set the transfer mode on your ftp client software to Active not passive.



PI FTP


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.



PI Samba


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.



Wifi AP


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.



Console DNS

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.

About

For Raspberry PI


Languages

Language:JavaScript 92.3%Language:HTML 3.4%Language:Shell 2.8%Language:CSS 1.4%