JoelGMSec / EvilnoVNC

Ready to go Phishing Platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Des and Md5 files not found

thib-d opened this issue · comments

commented

Hey,
I followed the doc
`
git clone https://github.com/JoelGMSec/EvilnoVNC
cd EvilnoVNC ; sudo chown -R 103 Downloads
sudo docker build -t joelgmsec/evilnovnc .
./start.sh 1280x720x16 http://example.com

`

And in the browser session I get an error:

GET http://localhost:5980/core/des.js 404 (File not found)
GET http://localhost:5980/core/util/md5.js net::ERR_ABORTED 404 (File not found)

Is someone know why ?

image

I doubt JoelGM cares about this tool anymore

Of course, I will soon release the new version with many improvements and these bugs fixed.

Regards!

There were some updates to noVNC within the last 3 weeks. The noVNC/core/rfb.js file, in the container, tries to import libraries from locations they no longer exist in and there other changes as well.

I found that one work around was to update rfb.js in the docker container and move some files around. There is actually an updated version of the rfb.js file located, on the host, in the EvilNoVNC/Files directory. You should be able to copy it over to your container and move around the necessary files using the following commands:

# Assumes you only have one container running and you are inside the EvilnoVNC directory
sudo docker cp Files/rfb.js $(docker ps -q):/home/user/noVNC/core/rfb.js
sudo docker exec $(docker ps -q) cp noVNC/core/crypto/des.js noVNC/core/des.js
sudo docker exec $(docker ps -q) cp noVNC/core/crypto/md5.js noVNC/core/util/md5.js

I eventually started seeing error related to des.js not exporting a class named "default". In that case I had to add the following commands as well.

wget https://raw.githubusercontent.com/novnc/noVNC/262a90b0e03da1ddf0b6ac5acd55a3167c4b558d/core/des.js
sudo docker cp des.js $(docker ps -q):/home/user/noVNC/core/des.js

did you fix this?

Fixed! :)