2019-04-10 15:47:50 +10:00
|
|
|
|
|
|
|
// Get some libraries
|
2019-04-19 10:56:18 +10:00
|
|
|
const fs = require('fs');
|
|
|
|
const net = require('net');
|
|
|
|
const path = require('path');
|
|
|
|
const node_rsa = require('node-rsa');
|
|
|
|
const bsplit = require('buffer-split');
|
2019-04-10 15:47:50 +10:00
|
|
|
const child_process = require('child_process');
|
2019-04-19 10:56:18 +10:00
|
|
|
const proxysocket = require('proxysocket');
|
|
|
|
const showdown = require('showdown');
|
|
|
|
const open = require('open');
|
2019-04-17 08:53:12 +10:00
|
|
|
|
|
|
|
// Create the markdown converter
|
|
|
|
var md = new showdown.Converter();
|
2019-04-10 15:47:50 +10:00
|
|
|
|
|
|
|
const PORT_DEFAULT = 22068;
|