empireproject / empire-gui Goto Github PK
View Code? Open in Web Editor NEWEmpire client application
License: MIT License
Empire client application
License: MIT License
running nmp install getting following error
29563 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
29564 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
29565 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
29565 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
29565 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux
29565 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
29566 verbose stack Error: [email protected] install: node ./download-chromedriver.js
29566 verbose stack Exit status 1
29566 verbose stack at EventEmitter. (/usr/share/npm/node_modules/npm-lifecycle/index.js:283:16)
29566 verbose stack at emitTwo (events.js:126:13)
29566 verbose stack at EventEmitter.emit (events.js:214:7)
29566 verbose stack at ChildProcess. (/usr/share/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
29566 verbose stack at emitTwo (events.js:126:13)
29566 verbose stack at ChildProcess.emit (events.js:214:7)
29566 verbose stack at maybeClose (internal/child_process.js:925:16)
29566 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
29567 verbose pkgid [email protected]
29568 verbose cwd /opt/empire-gui
29569 verbose Linux 4.18.0-parrot8-amd64
29570 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
29571 verbose node v8.11.2
29572 verbose npm v5.8.0
29573 error code ELIFECYCLE
29574 error errno 1
29575 error [email protected] install: node ./download-chromedriver.js
29575 error Exit status 1
29576 error Failed at the [email protected] install script.
29576 error This is probably not a problem with npm. There is likely additional logging output above.
29577 verbose exit [ 1, true ]
Regards
System: Linux kalix 4.14.0-kali3-amd64 #1 SMP Debian 4.14.17-1kali1 (2018-02-16) x86_64 GNU/Linux
Steps to repro:
git clone
npm install
npm start
Output:
/opt/Empire-GUI dev
❯❯ npm install
npm WARN lifecycle [email protected]~postinstall: cannot run in wd %s %s (wd=%s) [email protected] electron-builder install-app-deps /opt/Empire-GUI
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/7zip-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 1 package in 6.478s
/opt/Empire-GUI dev
❯❯ npm start
> [email protected] start /opt/Empire-GUI
> node build/start.js
DONE Compiled successfully in 1240ms 14:24:00
/opt/Empire-GUI/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron: 5: /opt/Empire-GUI/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron: Syntax error: EOF in backquote substitution
on server side I'm getting an error when I launch the server with:
./empire --server --shared_password password --port 1337
"error starting collaboration server port already in use"??
I did already set a listener to that port...
also on the client GUI side, I'm getting refused to connect messages:
socket.io.min.js:1 GET https://xxx.xx.xxx.xxx/socket.io/?EIO=3&transport=polling&t=1564004359993-38 net::ERR_CONNECTION_REFUSED
i.create @ socket.io.min.js:1
i @ socket.io.min.js:1
o.request @ socket.io.min.js:1
o.doPoll @ socket.io.min.js:1
n.poll @ socket.io.min.js:2
n.doOpen @ socket.io.min.js:2
n.open @ socket.io.min.js:1
r.open @ socket.io.min.js:1
r @ socket.io.min.js:1
r @ socket.io.min.js:1
n.open.n.connect @ socket.io.min.js:1
(anonymous) @ socket.io.min.js:1
It would be rather neat to have the option to use a SOCKS5 proxy when connecting to the Empire server, largely for cases where you have bound the API interface to localhost on a remote box, and want to use "ssh -D" type tunnel to access it, for paranoia/security reasons.
More details on these steps would be nice:
Start your Empire Server
Install the Empire Framework
Switch to the 3.0-Beta branch git checkout 3.0-Beta
Setup your listeners and generate stagers (as this is not yet supported in the GUI)
Luckily these mass produced hackor tools are not so easy for the unskilled like me to run them :)
system:
Kali light with Rolling repo's.
terminal:
npm install
npm WARN lifecycle [email protected]~postinstall: cannot run in wd [email protected] electron-builder install-app-deps (wd=/opt/Empire-GUI)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
up to date in 6.007s
[!] 16 vulnerabilities found [6029 packages audited]
Severity: 7 Low | 7 Moderate | 2 Critical
Run npm audit
for more detail
when I run:
last few lines:
DONE Compiled successfully in 792ms 5:03:28 PM
/opt/Empire-GUI/node_modules/electron/dist/electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
┌──(root㉿d3m0n)-[/home/d3m0n/Empire-GUI]
└─# npm run
/usr/bin/node: 1: Syntax error: "(" unexpected
┌──(root㉿d3m0n)-[/home/d3m0n/Empire-GUI]
└─# npm install
/usr/bin/node: 1: Syntax error: "(" unexpected
┌──(root㉿d3m0n)-[/home/d3m0n/Empire-GUI]
└─# npm start
/usr/bin/node: 1: Syntax error: "(" unexpected
┌──(root㉿d3m0n)-[/home/d3m0n/Empire-GUI]
└─#
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.