This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Update repos | |
sudo apt update | |
# Install XFCE4 | |
echo "----Install Xubuntu-desktop" | |
sudo apt install xfce4 xfce4-goodies -y | |
echo "----Install VNC Server" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
@@@ | |
@@@ npm install crypto-js js-base64 prompt | |
@@@ | |
*/ | |
// подключим либы для шифрования | |
// первым делом это crypto-js - набор библиотек для шифрования различными алгоритмами | |
var CryptoJS = require('crypto-js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"net" | |
"strings" | |
) | |
// accepting connections | |
func main() { | |
ln, err := net.Listen("tcp", ":6000") |