- This topic has 18 replies, 2 voices, and was last updated 1 year, 3 months ago by Diego Pérez.
- AuthorPosts
- August 26, 2023 at 6:47 am #77963kareem zakyParticipant
i follow all steps in browser in browser attack , finally i got a blank page ,
kindly check the attached screen shot
Attachments:
You must be logged in to view attached files.August 26, 2023 at 7:11 am #77965kareem zakyParticipanton on my machine i got this error
└─# websockify –web /usr/share/novnc –target-config /home/tokens –cert /etc/letsencrypt/live/buildyourcareer.shop/fullchain.pem –key /etc/letsencrypt/live/buildyourcareer.shop/privkey.pem my_ip:443
WebSocket server settings:
– Listen on my_ip:443
– Web server. Web root: /usr/share/novnc
– SSL/TLS support
– proxying from my_ip:443 to targets generated by TokenFile
Syntax error in /home/tokens on line 1
Syntax error in /home/tokens on line 2
77.31.254.28: Token ‘trythis’ not found
Syntax error in /home/tokens on line 1
Syntax error in /home/tokens on line 2
77.31.254.28: Token ‘trythis’ not foundthis is token file content
trythis localhost:5901
tryme localhost:5902August 26, 2023 at 8:59 pm #78225Diego PérezModeratorHi!
Make sure that all vnc servers are running properly. Also make sure to use the eth0 ip address in the websockify command not the public ip.Greetings!
DiegoAugust 26, 2023 at 9:06 pm #78226kareem zakyParticipantAll vnc running well , i already use etho ip in websokify command
And got the same error
August 28, 2023 at 4:25 am #78516kareem zakyParticipantany update ?
August 28, 2023 at 9:11 pm #78807Diego PérezModeratorHi!
Once you start the VNC ervers run the command “ss -lntp” and share a screenshot here.
Can you share a screenshot with the websockify command used and the result please?Thanks!
DiegoAugust 29, 2023 at 8:58 am #78864kareem zakyParticipantthis is the result of the command
sudo vncserver -geometry 1080×1920 -depth 32 -localhost no
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 5 0.0.0.0:5902 0.0.0.0:* users:((“Xtigervnc”,pid=2947,fd=9))
LISTEN 0 5 0.0.0.0:5903 0.0.0.0:* users:((“Xtigervnc”,pid=16927,fd=9))
LISTEN 0 5 0.0.0.0:5901 0.0.0.0:* users:((“Xtigervnc”,pid=700,fd=9))
LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:((“sshd”,pid=600,fd=3))
LISTEN 0 5 [::]:5902 [::]:* users:((“Xtigervnc”,pid=2947,fd=10))
LISTEN 0 5 [::]:5903 [::]:* users:((“Xtigervnc”,pid=16927,fd=10))
LISTEN 0 5 [::]:5901 [::]:* users:((“Xtigervnc”,pid=700,fd=10))
LISTEN 0 128 [::]:22 [::]:* users:((“sshd”,pid=600,fd=4))websockify command :
websockify –web /usr/share/novnc –target-config /tokens –cert /etc/letsencrypt/live/mydomain.shop/fullchain.pem –key /etc/letsencrypt/live/mydomain.shop/privkey.pem my_cloud_machine_IP:443
WebSocket server settings:
– Listen on my_cloud_machine_IP:443
– Web server. Web root: /usr/share/novnc
– SSL/TLS support
– proxying from my_cloud_machine_IP:443 to targets generated by TokenFileAugust 29, 2023 at 9:04 am #78865kareem zakyParticipanti got this error
websockify –web /usr/share/novnc –target-config tokens –cert /etc/letsencrypt/live/buildyourcareer.shop/fullchain.pem –key /etc/letsencrypt/live/buildyourcareer.shop/privkey.pem 172.104.15.223:443
WebSocket server settings:
– Listen on 172.104.15.223:443
– Web server. Web root: /usr/share/novnc
– SSL/TLS support
– proxying from 172.104.15.223:443 to targets generated by TokenFile
Syntax error in /root/tokens on line 1
Syntax error in /root/tokens on line 2
170.133.124.37: Token ‘trythis’ not found
Syntax error in /root/tokens on line 1
Syntax error in /root/tokens on line 2
170.133.124.37: Token ‘connect’ not foundmy token file
connect localhost:5901
gmail localhost:5902August 29, 2023 at 9:31 pm #79142Diego PérezModeratorHi!
Can you share the screenshot with the result of the command requested above?
Also, it would be better to share screenshots as the copy/paste is not accurate. Share a screenshot with the contents of the token file as well.Greetings!
DiegoAugust 30, 2023 at 12:40 pm #79267kareem zakyParticipant“ss -lntp” command result
Attachments:
You must be logged in to view attached files.August 30, 2023 at 1:05 pm #79271kareem zakyParticipanttoken file content
Attachments:
You must be logged in to view attached files.August 30, 2023 at 1:08 pm #79281kareem zakyParticipantwebsokify command
Attachments:
You must be logged in to view attached files.August 30, 2023 at 1:15 pm #79295kareem zakyParticipantfinal error
Attachments:
You must be logged in to view attached files.August 30, 2023 at 9:30 pm #79445Diego PérezModeratorHi!
So, are you getting that error message after trying to access the vnc server through the browser? If so, can you share the URL used to try to access it?Greetings!
DiegoAugust 31, 2023 at 11:54 am #79536 - AuthorPosts
- You must be logged in to reply to this topic.