aboutsummaryrefslogtreecommitdiffstats
path: root/novnc.txt
diff options
context:
space:
mode:
authorCristian Cezar Moisés <[email protected]>2024-10-20 20:14:54 +0000
committerCristian Cezar Moisés <[email protected]>2024-10-20 20:14:54 +0000
commitbbf27fb75d0e1ea6856057857b9267d7fb5c6cb5 (patch)
tree99533966b78e01e4298cdcb25d16b1e6409e7d3b /novnc.txt
parentc4d28f43343c27c936d8ed9a66e372c5340605cf (diff)
Upload files to "/"HEADmain
Diffstat (limited to 'novnc.txt')
-rw-r--r--novnc.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/novnc.txt b/novnc.txt
new file mode 100644
index 0000000..6fb2ef1
--- /dev/null
+++ b/novnc.txt
@@ -0,0 +1,22 @@
+# GRAPHICAL INTERFACE
+apt install xfce-desktop xorg -y
+# CONFIGURE A PASSWORD FOR ROOT ON KALI
+passwd
+# FIREWALL - HOST CONFIG
+iptables -A INPUT -i docker0 -j ACCEPT
+# CONFIG FOR KALI LINUX
+apt update && apt upgrade && apt install novnc x11vnc tigervnc-standalone-server dbus-x11 python-py python3-pip -y
+# NUMPY INSTALL
+user > pip install numpy
+user > pip3 install numpy
+# START DBUS
+dbus-launch
+# START VNCSERVER
+vncserver
+# START NOVNC
+/usr/share/novnc/utils/novnc_proxy --listen 8081 --vnc localhost:5900
+# ACESS VIA BROWSER
+CONTAINER_IP:8081/vnc.html
+# THAT'S ALL :)
+# FIX SOME HOSTNAME BUGS
+echo $(hostname -I | cut -d\ -f1) $(hostname) | sudo tee -a /etc/hosts