https://hub.docker.com/r/bumblecito/pegascape
Docker Image
PegaScape Public DNS IP Addresses are no longer available. To add more possibilities for users who still use deja-vu exploit to hack their 1.0.0 - 3.0.0 and 4.0.1 - 4.1.0 switch, this container image aims to make pegascape easily self-hostable. As a bonus, the execution of these exploits is quicker and more stable when used from a local appliance.
PegaScape is a user-friendly public frontend for common PegaSwitch scripts including Nereba, Caffeine, HBL and more.
With PegaScape, you can easily reboot from a stock Switch console running firmwares between 1.0.0-3.0.0 and 4.0.1-4.1.0 into full custom firmware and emuMMC. You can also install the Fake News entrypoint to make accessing PegaScape easier, and access the Homebrew Menu without running full custom firmware if you prefer.
This means an easy-to-use entrypoint to fully featured CFW on 4.1.0 IPATCHED units.
| Fake News | Installer | Reboot to RCM | Nereba | HBL | Caffeine |
|---|---|---|---|---|---|
| 1.0.0 | ✓ | ✓ | ✓ | ✓ | ✗ |
| 2.0.0-3.0.0 | ✗ | ✗ | ✗ | ✓ | ✓ |
| 4.0.0 | ✗ | ✗ | ✗ | ✗† | ✗ |
| 4.0.1-4.1.0 | ✗ | ✗ | ✗ | ✓ | ✓ |
| Other | ✗ | ✗ | ✗ | ✗ | ✗ |
† nvcore offsets missing for 4.0.0
Build image Build pegascape image is as simple as using docker build.
docker build .
Launch container
docker run -p 80:80 -p 53:53/udp -p 8100:8100 -e IP_ADDR=<YOUR_DOCKER_HOST_IP> --name pegascape -d -t bumblecito/pegascape
Pegascape must be exposed on
port 80
in order to reach frontend
port 53
in order to expose a DNS server which forbidden access to nintendo services, and redirect switch to this container
port 8100
for exploit to work
-t
options is needed to attach a tty to container, in order to keep alive the node command
Modify your internet configuration on switch to use as primary and secondary to the device IP which is used to launch PegaScape.
You can install Fake News with Fake News Injector
You can run these images together into the same proyect within the same macvlan driver network with this compose.yml.
Change IPs to those of your router. E.g. 192.168.1.254 to 192.168.0.1.
Remember to set the IP's as primary and secundary DNS addresses on your consoles internet settings, e.g. (according to this yml):
- Nintendo Switch DNS Primary and Secundary address:
192.168.1.110 - Playstation 4 and/or Playstation 5 Primary DNS address:
192.168.1.111
---
version: "3.8"
services:
pegascape:
image: bumblecito/pegascape:latest
ports:
- 80:80/tcp
- 53:53/udp
- 8100:8100/udp
environment:
IP_ADDR: 192.168.1.110
tty: true
restart: unless-stopped
networks:
lan:
ipv4_address: 192.168.1.110 # Change me for some ip inside your macvlan subnet!
dns:
image: alazif/exploit-host-dns
ports:
- 53:53/tcp
- 53:53/udp
environment:
REDIRECT_IPV4: 192.168.1.111 # Change me for ipv4_address
# REDIRECT_IPV6: # Set me if wanted and uncomment line
restart: unless-stopped
networks:
lan:
ipv4_address: 192.168.1.111 # Change me for some ip inside your macvlan subnet!
http:
image: alazif/exploit-host-http
ports:
- 80:80/tcp
- 443:443/tcp
environment:
REDIRECT_TYPE: https # http or https
ROOT_DOMAIN: github.com
ROOT_DOMAIN_PATH: /Al-Azif/
# HIJACK_URL: www.google.com
restart: unless-stopped
networks:
lan:
ipv4_address: 192.168.1.112 # Change me for some ip inside your macvlan subnet!
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --cleanup --interval 300
restart: unless-stopped
networks:
lan:
ipv4_address: 192.168.1.113 # Change me for some ip inside your macvlan subnet!
networks:
lan:
driver: macvlan
driver_opts:
parent: eth0 # Change me if necessary!
ipam:
config:
- subnet: "192.168.1.0/24"
gateway: "192.168.1.1" # Change me for your router lan ip!- ReSwitched, hexkyz and other contributors for PegaSwitch.
- Al-Azif for PS4/PS5 Exploit Host DNS
- Everyone who worked on smhax, nvhax, nspwn, etc.
- liuervehc for Caffeine, bringing the first CFW to IPATCHED Switches, and dealing with my random support DMs.
- stuck_pixel for Nereba and reboot_to_rcm.
- Switchbrew for nx-hbloader.
- bernv3 for the sexy background art.
