Pegascape alternative?

  • Thread starter Thread starter tusmavan
  • Start date Start date
  • Views Views 20,465
  • Replies Replies 76
  • Likes Likes 1
Finally was able to succeed by self hosting.. The trick was using node v9.11.2 (npm v5.6.0) to execute the npm install command.
10x for the tip!
but now i have another problem:
I'm on Windows 10. It seems that 'npm install' ran ok but when i start 'startpega_webapplet.bat' I get
node start.js --webapplet --ip 192.168.0.11 --host 192.168.0.11 PegaScape\node_modules\marked-terminal\index.cjs:333 && Number(osRelease[2]) >= 10_586 ^^ SyntaxError: Invalid or unexpected token at new Script (vm.js:51:7) at createScript (vm.js:136:10) at Object.runInThisContext (vm.js:197:10) at Module._compile (internal/modules/cjs/loader.js:618:28) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32) at tryModuleLoad (internal/modules/cjs/loader.js:506:12) at Function.Module._load (internal/modules/cjs/loader.js:498:3) at Module.require (internal/modules/cjs/loader.js:598:17) at require (internal/modules/cjs/helpers.js:11:18)

Tried bumping versions. messed up...
Someone managed to run this on Windows?
 
Pegascape isn't needed if you install a modchip. Pegascape is an entry point for switches thats on firmware 4.0 and lower
i know already, i was asking about linux on win10 (which didn't worked btw and it's too frustrating to look for a solution so i give up)
 
10x for the tip!
but now i have another problem:
I'm on Windows 10. It seems that 'npm install' ran ok but when i start 'startpega_webapplet.bat' I get
node start.js --webapplet --ip 192.168.0.11 --host 192.168.0.11 PegaScape\node_modules\marked-terminal\index.cjs:333 && Number(osRelease[2]) >= 10_586 ^^ SyntaxError: Invalid or unexpected token at new Script (vm.js:51:7) at createScript (vm.js:136:10) at Object.runInThisContext (vm.js:197:10) at Module._compile (internal/modules/cjs/loader.js:618:28) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32) at tryModuleLoad (internal/modules/cjs/loader.js:506:12) at Function.Module._load (internal/modules/cjs/loader.js:498:3) at Module.require (internal/modules/cjs/loader.js:598:17) at require (internal/modules/cjs/helpers.js:11:18)

Tried bumping versions. messed up...
Someone managed to run this on Windows?
I want to run it on a debion server for people how would I go about that
 
10x for the tip!
but now i have another problem:
I'm on Windows 10. It seems that 'npm install' ran ok but when i start 'startpega_webapplet.bat' I get
node start.js --webapplet --ip 192.168.0.11 --host 192.168.0.11 PegaScape\node_modules\marked-terminal\index.cjs:333 && Number(osRelease[2]) >= 10_586 ^^ SyntaxError: Invalid or unexpected token at new Script (vm.js:51:7) at createScript (vm.js:136:10) at Object.runInThisContext (vm.js:197:10) at Module._compile (internal/modules/cjs/loader.js:618:28) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32) at tryModuleLoad (internal/modules/cjs/loader.js:506:12) at Function.Module._load (internal/modules/cjs/loader.js:498:3) at Module.require (internal/modules/cjs/loader.js:598:17) at require (internal/modules/cjs/helpers.js:11:18)

Tried bumping versions. messed up...
Someone managed to run this on Windows?
when you try only this command "node start.js --webapplet" what for a Message will come?
 
Thanks to this post I was able to set up my local Pegascape server. If it helps you, I managed to do it following this procedure. I have a Nintendo Switch Mariko chip with firmware 4.1.0 and the only solution is Pegascape to avoid using a modchip.

1. Download Linux Titan


1710905634305.png


1710905374751.png


1710905416535.png
 
Thanks to this post I was able to set up my local Pegascape server. If it helps you, I managed to do it following this procedure. I have a Nintendo Switch Mariko chip with firmware 4.1.0 and the only solution is Pegascape to avoid using a modchip.

1. Download Linux Titan


View attachment 426751

View attachment 426749

View attachment 426750
Hello. I have managed to get the dns ip like you, I put it on the PC and it opens the pegascape exploit. Then I put this dns ip in the internet configuration on my Nintendo and in the connection orieba to access the exploit it gives me a dns error.... I don't know what I'm doing wrong, let's see if you can help me...
 

Attachments

  • Screenshot_2024-03-19-07-46-22-976_com.miui.gallery.jpg
    Screenshot_2024-03-19-07-46-22-976_com.miui.gallery.jpg
    315.3 KB · Views: 65
  • Screenshot_2024-03-19-07-44-58-573_com.miui.gallery.jpg
    Screenshot_2024-03-19-07-44-58-573_com.miui.gallery.jpg
    415.9 KB · Views: 56
  • Screenshot_2024-03-19-07-44-34-579_com.miui.gallery.jpg
    Screenshot_2024-03-19-07-44-34-579_com.miui.gallery.jpg
    334.4 KB · Views: 87
Guys i have a question,
Thanks to @impeeza I got the pegascape running
and i managed to get it running on the switch with the dns

however when i enter there and get to the part where it says
"Tap the text field below, wait three seconds, then tap the power button",
i do this and then nothing happens

I even tried to wait a full minute before I "Tap the text field"
and then another full minute before I "tap the power button"
when in the past i did his it worked perfectly

I even tried to turn on the logger in the pegascape, and there were no logs after the step when i pressed the scenario

Is there something i am missing?
 
Thanks to this post I was able to set up my local Pegascape server. If it helps you, I managed to do it following this procedure. I have a Nintendo Switch Mariko chip with firmware 4.1.0 and the only solution is Pegascape to avoid using a modchip.

1. Download Linux Titan


View attachment 426751

View attachment 426749

View attachment 426750
Hey, I managed to get the dns ip, but i get what seems to be the default ip that the vm uses: "10.0.2.15", i can't access the page from a browser nor my switch with that IP, even though it says it is responding. Not sure about what to do, i hope it doesn't have something to do with my router or something.
 
  • Wow
Reactions: impeeza
Hi @SrJeff
Did you check your firewall?
I would check from another computer also that the port 53 is opened (at least that's where its running on my pc)
also if you are on a router check the settings there, they may have a firewall there
 
when you try only this command "node start.js --webapplet" what for a Message will come?
same
Post automatically merged:

10x for the tip!
but now i have another problem:
I'm on Windows 10. It seems that 'npm install' ran ok but when i start 'startpega_webapplet.bat' I get
node start.js --webapplet --ip 192.168.0.11 --host 192.168.0.11 PegaScape\node_modules\marked-terminal\index.cjs:333 && Number(osRelease[2]) >= 10_586 ^^ SyntaxError: Invalid or unexpected token at new Script (vm.js:51:7) at createScript (vm.js:136:10) at Object.runInThisContext (vm.js:197:10) at Module._compile (internal/modules/cjs/loader.js:618:28) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32) at tryModuleLoad (internal/modules/cjs/loader.js:506:12) at Function.Module._load (internal/modules/cjs/loader.js:498:3) at Module.require (internal/modules/cjs/loader.js:598:17) at require (internal/modules/cjs/helpers.js:11:18)

Tried bumping versions. messed up...
Someone managed to run this on Windows?
Edit:
I managed to run on ubuntu VM. Thanks @impeeza !!!

If someone actually managed to run directly on windows, please share.
 
Last edited by hamehandes,
Manage to self host it in Windows 10.


1. Install NodeJS (NPM is included already)

2. Go to PegaScape repo then click Green button "<Code>". Find the last option Download as Zip. Save and Extract to your desired location in your pc. For example you save and extract it to drive C:\PegaScape-master

3. On Windows 10, find Windows PowerShell application, Right Click and Run as Administrator.

4. Change the directory to where you extract the Pegascape repo. Type cd C:\PegaScape-master

5. Type npm install. Wait for it to finish installing modules (like 2-3 minutes). If it stops on installing/extracting Press Ctrl C to terminate the command. Just type npm install again to repeat the installation of node modules.

6. Go to the directory where you extract Pegascape. C:\PegaScape-master. Find the windows batch file startpega_webapplet.bat. Right Click and Edit. Change the IP Address --ip 192.168.0.11 --host 192.168.0.11 to your computer ip address. For example my ip address (192.168.8.161) node start.js --webapplet --ip 192.168.8.161 --host 192.168.8.161. Save and close the batch file. Open the startpega_webapplet.bat by double clicking or right click then open.

It should display the message Responding with address (your IP Address)
Switch DNS IP: (your IP Address)

7. Change the Primary DNS of your Nintendo Switch to your IP Address. (mine is 192.168.8.161). Your switch and computer should be in the same network or same internet router. Open Fake News and the Exploit Page should load just like before.

I made it like this for folks who is having a hard time following the original steps on self hosting.
 
Last edited by Teo_Nightcrow,
Manage to self host it in Windows 10.


1. Install NodeJS (NPM is included already)

2. Go to PegaScape repo then click Green button "<Code>". Find the last option Download as Zip. Save and Extract to your desired location in your pc. For example you save and extract it to drive C:\PegaScape-master

3. On Windows 10, find Windows PowerShell application, Right Click and Run as Administrator.

4. Change the directory to where you extract the Pegascape repo. Type cd C:\PegaScape-master

5. Type npm install. Wait for it to finish installing modules (like 2-3 minutes). If it stops on installing/extracting Press Ctrl C to terminate the command. Just type npm install again to repeat the installation of node modules.

6. Go to the directory where you extract Pegascape. C:\PegaScape-master. Find the windows batch file startpega_webapplet.bat. Right Click and Edit. Change the IP Address --ip 192.168.0.11 --host 192.168.0.11 to your computer ip address. For example my ip address (192.168.8.161) node start.js --webapplet --ip 192.168.8.161 --host 192.168.8.161. Save and close the batch file. Open the startpega_webapplet.bat by double clicking or right click then open.

It should display the message Responding with address (your IP Address)
Switch DNS IP: (your IP Address)

7. Change the Primary DNS of your Nintendo Switch to your IP Address. (mine is 192.168.8.161). Your switch and computer should be in the same network or same internet router. Open Fake News and the Exploit Page should load just like before.

I made it like this for folks who is having a hard time following the original steps on self hosting.
1.
Link? Any specific version or do I just download whatever I find through Google if I look for NodeJS?
2.
How do I go to PegaScape? Is there a link with a package I need to download? Any specific version?

The rest looks fairly straightforward.

Edit: Is this amount of errors and warnings typical when running the "npm install"? or is it already effed?
 

Attachments

  • PegaErrors.JPG
    PegaErrors.JPG
    338 KB · Views: 82
Last edited by DrahosR,
1.
Link? Any specific version or do I just download whatever I find through Google if I look for NodeJS?
2.
How do I go to PegaScape? Is there a link with a package I need to download? Any specific version?

The rest looks fairly straightforward.

Edit: Is this amount of errors and warnings typical when running the "npm install"? or is it already effed?
1. see attachment. try the current version.

2. see attachment. download as zip

2. npm install Did it finished downloading/extracting? if the installation is complete, ignore the warning just proceed in the next step.
 

Attachments

1. see attachment. try the current version.

2. see attachment. download as zip

2. npm install Did it finished downloading/extracting? if the installation is complete, ignore the warning just proceed in the next step.
Errors say I need Visual Studio. Is that one of the requirements? Your guide didn't mention anything. Thanks for the links. I didn't wait for your response and found the "nodejs", when I tried to run your version it complains that I already have higher version. Is that ok, or I need to uninstall and install yours?
Post automatically merged:

Try the next step and edit startpega_webapplet.bat the run. I don't have visual studio installed.
I did that, but when I run the bat file it doesn't stay open. It just disappears
 
Errors say I need Visual Studio. Is that one of the requirements? You guide didn't mention anything. Thanks for the links. I didn't wait for your response and found the "nodejs", when I tried to run your version it complains that I already have higher version. Is that ok, or I need to uninstall and install yours?
Post automatically merged:


I did that, but when I run the bat file it doesn't stay open. It just disappears
edit startpega_webapplet.bat add @Echo in the first line.
 

Site & Scene News

Popular threads in this forum