Serial connection at 9600 8-E-1
Device issues e0
until initialized with 81 40
. Initialization code can be sent at any time.
import serial
# python -m pip install pyreadpartitions | |
# Update the volume_id to a volume with one or more snapshots you have access to | |
# Run the script! | |
from pyreadpartitions import get_disk_partitions_info | |
def main(): | |
ebs = EbsDirectIO(volume_id='vol-0ec018d77cf9af4dd') | |
print(f''' |
Import-Module MSOnline | |
Connect-MsolService | |
$upn = "[email protected]" | |
Set-MsolUserPrincipalName -UserPrincipalName $upn -NewUserPrincipalName $upn.Replace("geniuscentral","geniuscentral.onmicrosoft") | |
add to | |
https://aad.portal.azure.com/#blade/Microsoft_AAD_IAM/GroupDetailsMenuBlade/Members/groupId/d3992f53-022d-4e63-84a7-0d38b0731011 |
# Requires python3.9 and | |
# pip3.9 install --user requests pyodbc threading | |
# Outputs results.csv | |
import requests | |
import pyodbc | |
import threading | |
import queue | |
from time import sleep |
FROM alpine | |
WORKDIR /root | |
ADD system.tar.gz /root | |
RUN apk add --update qemu-system-x86_64 qemu-img spice-server qemu-hw-display-qxl | |
EXPOSE 80 | |
EXPOSE 3001 | |
ENTRYPOINT ["qemu-system-x86_64", \ | |
"-m", "512", \ | |
"-drive", "file=/root/system.qcow2", \ | |
"--spice", "disable-ticketing=on,addr=0.0.0.0,port=3001", \ |
# sample deployment command | |
# aws cloudformation deploy --template-file template.yaml --capabilities CAPABILITY_NAMED_IAM --stack-name ws-test --profile dev | |
# sample testing uri | |
# aws cloudformation describe-stacks --query "Stacks[?contains(@.StackName,'ws-test')].Outputs[0][?OutputKey=='WebSocketURI'].OutputValue" --profile dev | ConvertFrom-Json | |
# You can test with the test.html produced by the TestHtmlPage output | |
# or | |
# npm install -g wscat | |
# wscat -c $(aws cloudformation describe-stacks --query "Stacks[?contains(@.StackName,'ws-test')].Outputs[0][?OutputKey=='WebSocketURI'].OutputValue" --profile dev | ConvertFrom-Json) | |
# and paste this test message: | |
# {"action":"message","message":"Hello, world!"} |
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"sync" | |
"sync/atomic" | |
"time" | |
) |
# escape=` | |
FROM mcr.microsoft.com/windows/servercore:20H2 | |
# Windows Features | |
RUN powershell -Command ` | |
Add-WindowsFeature Web-Server; ` | |
Add-WindowsFeature NET-Framework-45-ASPNET; ` | |
Add-WindowsFeature Web-Asp-Net45; ` | |
Add-WindowsFeature NET-WCF-TCP-Activation45; ` | |
Add-WindowsFeature NET-WCF-HTTP-Activation45; | |
# Chocolatey |
FROM lambci/lambda:build-python3.7 | |
WORKDIR /root | |
RUN yum -y update | |
RUN curl ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.5.tar.gz -O && \ | |
tar xvzf unixODBC-2.3.5.tar.gz && \ | |
cd unixODBC-2.3.5 && \ | |
./configure --sysconfdir=/opt/python --disable-gui --disable-drivers --enable-iconv --with-iconv-char-enc=UTF8 --with-iconv-ucode-enc=UTF16LE --prefix=/home && \ | |
make install && \ | |
cd .. && \ | |
mv /home/* . && \ |
I hereby claim:
To claim this, I am signing this object: