Hacking Self-Hosting Pegascape, help

onibaku

Lurker
OP
Member
Joined
Aug 15, 2007
Messages
334
Trophies
1
XP
2,270
Country
Sweden
I'll start off by saying that I have never self-hosted any exploits and I am not familiar with terminals and commands. I've been trying to self-host Pegascape on my Windows 10. I installed node.js and npm (i believe they came in one package). I followed the readme file for pegascape and tried to run "npm install" in the pegascape master directory however, it seemed to load and extract some things but error messages followed:

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://github.com/Dwood15/blessed.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.


And when running the following command "[sudo] node start.js [--webapplet] [--ip <html_server_ip_override>] [--host <dns_server_ip_override] [--disable-dns]" I get the following message:

At line:1 char:8
+ [sudo] node start.js [--webapplet] [--ip <html_server_ip_override>] [ ...
+ ~~~~
Unexpected token 'node' in expression or statement.
At line:1 char:42
+ [sudo] node start.js [--webapplet] [--ip <html_server_ip_override>] [ ...
+ ~
The '<' operator is reserved for future use.
At line:1 char:77
+ ... t.js [--webapplet] [--ip <html_server_ip_override>] [--host <dns_serv ...
+ ~
The '<' operator is reserved for future use.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken

Has anyone successfully been able to self-host pegascape? Any help would be appreciated. Thank you
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,005
Trophies
2
Age
29
Location
New York City
XP
13,369
Country
United States
I'll start off by saying that I have never self-hosted any exploits and I am not familiar with terminals and commands. I've been trying to self-host Pegascape on my Windows 10. I installed node.js and npm (i believe they came in one package). I followed the readme file for pegascape and tried to run "npm install" in the pegascape master directory however, it seemed to load and extract some things but error messages followed:

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t https://github.com/Dwood15/blessed.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.


And when running the following command "[sudo] node start.js [--webapplet] [--ip <html_server_ip_override>] [--host <dns_server_ip_override] [--disable-dns]" I get the following message:

At line:1 char:8
+ [sudo] node start.js [--webapplet] [--ip <html_server_ip_override>] [ ...
+ ~~~~
Unexpected token 'node' in expression or statement.
At line:1 char:42
+ [sudo] node start.js [--webapplet] [--ip <html_server_ip_override>] [ ...
+ ~
The '<' operator is reserved for future use.
At line:1 char:77
+ ... t.js [--webapplet] [--ip <html_server_ip_override>] [--host <dns_serv ...
+ ~
The '<' operator is reserved for future use.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken

Has anyone successfully been able to self-host pegascape? Any help would be appreciated. Thank you
Why not just use Pegascape?
 

akira022

Well-Known Member
Member
Joined
Jun 1, 2010
Messages
111
Trophies
1
XP
1,234
Country
United States
From what i have found out so far is the format is

node start.js --webapplet --ip 192.168.0.11 --host 192.168.0.11

Also, if you go into node_module and

git clone https://github.com/Dwood15/blessed.git

it seems to do the same thing. though my knowledge of node is something like 2% at this moment...lol. I will try to help anyway that I can.
 
  • Like
Reactions: onibaku

onibaku

Lurker
OP
Member
Joined
Aug 15, 2007
Messages
334
Trophies
1
XP
2,270
Country
Sweden
From what i have found out so far is the format is

node start.js --webapplet --ip 192.168.0.11 --host 192.168.0.11

Also, if you go into node_module and

git clone https://github.com/Dwood15/blessed.git

it seems to do the same thing. though my knowledge of node is something like 2% at this moment...lol. I will try to help anyway that I can.

Just saw this, might give it another try :D
 

veesonic

Member
Newcomer
Joined
Aug 18, 2019
Messages
19
Trophies
0
Age
44
XP
462
Country
United States
I'm somewhat tech savvy but I get pretty lost when doing anything command prompt, terminal, or linux related. I was able to follow this tutorial and get Pegascape Self Hosting working on Windows 10. I made some adjustments on what I needed to get it working, you can follow the original post and refer to my reply to see my adjustments. B-)

https://gbatemp.net/threads/pegascape-self-hosting-in-windows-10.652216/post-10392861
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: At least maybe give context, the conversations going quicker.