Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
#!/bin/bash -e | |
modprobe libcomposite | |
cd /sys/kernel/config/usb_gadget/ | |
mkdir g && cd g | |
echo 0x1d6b > idVendor # Linux Foundation | |
echo 0x0104 > idProduct # Multifunction Composite Gadget | |
echo 0x0100 > bcdDevice # v1.0.0 |
#!/bin/sh | |
set -eufo pipefail | |
if [ "$#" -ne 2 ]; then | |
echo "usage: $0 source_repo_url target_repo_url" >&2 | |
exit 1 | |
fi | |
SOURCE_URL="$1" |
# copyright Threadsec Inc | |
# This script auto-configure and ssh auto-connect to RPi ZERO Ethernet gadget VID:0x1d6b PID:0x0137 | |
# This script require admin right to access to adapter conf. | |
# https://threadsec.wordpress.com/raspberry-pi-zero-usb-composite-gadget/ | |
# | |
# Edit $user="" | |
# Windows 10 : As Admin, run: | |
# powershell -ep bypass -file Configure-Ethernet-RNDIS-PiZero-connection.ps1 | |
# | |
Clear-Host |
from tqdm import tqdm | |
from urllib.parse import urljoin | |
import json | |
import os | |
import sys | |
import requests | |
import subprocess | |
API_URL = 'https://api.vancedapp.com/api/v1' | |
session = requests.Session() |