##Custom SSL Certificate for Windows RDP Service
Requirements
- Windows 8+ or Server 2012+
- Certificate with private key (*.p12)
- Intermediate CA certificate (*.cer)
- Administrative rights to modify the certificate store
import argparse | |
from PIL import Image | |
import numpy as np | |
from pathlib import Path | |
import xlsxwriter | |
from tqdm.auto import trange | |
from matplotlib.colors import rgb2hex | |
def main(input_file: Path, output_file: Path, column_width: float, row_height: float): |
class Delta: | |
def __init__(self,old,new): | |
newset = set(new.rules) | |
oldset = set(old.rules) | |
self.deleted = list(oldset - newset) | |
self.added = list(newset - oldset) | |
self.retained = list(oldset & newset) |
import sys | |
import json | |
import requests | |
def get_clients(): | |
PORTAL_URL = 'https://0.0.0.0:8443/' | |
PORTAL_LOGIN_PARAMS = { | |
'username': '', | |
'password': '', |
##Custom SSL Certificate for Windows RDP Service
Requirements
package enum_example | |
import ( | |
"bytes" | |
"encoding/json" | |
) | |
// TaskState represents the state of task, moving through Created, Running then Finished or Errorred | |
type TaskState int |