Skip to content

Instantly share code, notes, and snippets.

View prettydiff's full-sized avatar
💭
Home from military deployment

Austin Cheney prettydiff

💭
Home from military deployment
View GitHub Profile
[2024-01-09 06:59:55.867 D] command line: '"K:\Games\Tools\modding\ModOrganizer.exe" '
[2024-01-09 06:59:55.867 I] starting Mod Organizer version 2.5.0 revision 22714e5c in K:/Games/Tools/modding, usvfs: 0.5.5.1
[2024-01-09 06:59:55.867 I] data path: K:/Games/Tools/modding
[2024-01-09 06:59:55.867 I] working directory: K:/Games/Tools/modding
[2024-01-09 06:59:55.867 D] timing: MOApplication setup() 8 ms
[2024-01-09 06:59:56.882 I] using game plugin 'Skyrim Special Edition' ('SkyrimSE', variant Steam, steam id '489830') at K:/Games/Windows/Series - Elder Scrolls/Elder Scrolls 5 - Skyrim
[2024-01-09 07:10:45.676 E] failed to open directory '\??\..\..\Windows\Series - Elder Scrolls\Elder Scrolls 5 - Skyrim\overwrite': {PathNotFound}Thepath%hsdoesnotexist. (0xc000003a)
[2024-01-09 07:10:45.685 E] failed to open directory '\??\..\..\Windows\Series - Elder Scrolls\Elder Scrolls 5 - Skyrim\downloads': {PathNotFound}Thepath%hsdoesnotexist. (0xc000003a)
[2024-01-09 07:10:46.029 E] failed to open directory '\??\..\..\W
00:59:56.116 [I] usvfs dll 0.5.5.1 initialized in process 16760
00:59:56.116 [D] remove from process 16760
00:59:56.116 [I] create config in 16760
00:59:56.116 [I] 0 processes
00:59:56.117 [I] mod_organizer_instance_1 created in process 16760
00:59:56.117 [I] attached to mod_organizer_instance_1 with 1 nodes, size 4,194,304 B
00:59:56.117 [I] inv_mod_organizer_instance_1 created in process 16760
00:59:56.117 [I] attached to inv_mod_organizer_instance_1 with 1 nodes, size 131,072 B
00:59:56.117 [D] context current shm: mod_organizer_instance (now 2 connections)
00:59:56.117 [D] clearing blacklist
const slicer = function (obj, list) {
const keys = Object.keys(obj),
output = {};
let oIndex = keys.length,
lIndex = list.length
do {
oIndex = oIndex - 1;
do {
lIndex = lIndex - 1;
if (obj[list[lIndex]] !== undefined) {
{"0eb9ffa92736e09e303331a6b071098f6f3266a77e5b07ffce5c7458939085e82dd99399c7ae69f7822ac29b7899bab88736ca87b08790699349b1807322d89e":{"deviceData":{"cpuCores":12,"cpuID":"Intel(R) Xeon(R) CPU E5-1660 0 @ 3.30GHz","platform":"win32","memTotal":68639502336,"osType":"Windows_NT","osVersion":"10.0.19044"},"ipAll":{"IPv4":["192.168.0.145","192.168.56.1"],"IPv6":["2600:1700:70e1:14bf::3"]},"ipSelected":"192.168.56.1","name":"desktop","ports":{"http":443,"ws":444},"shares":{},"status":"active"},"754ba418d2f79a429e40a2969cfd37e1fe53acba499e5fbdcc4a781ece28906649b1f45af6c498b24c20eb8752fc760f120e9c33562b595cbeee02dc336b03c3":{"deviceData":{"cpuCores":1,"cpuID":"Intel(R) Xeon(R) CPU E5-1660 0 @ 3.30GHz","platform":"linux","memTotal":8341577728,"osType":"Linux","osVersion":"5.11.0-40-generic"},"ipAll":{"IPv4":["10.0.2.15","192.168.56.101"],"IPv6":[]},"ipSelected":"192.168.56.101","name":"vm1-device","ports":{"http":443,"ws":444},"shares":{},"status":"offline"}}
node_modules/@types/node/globals.d.ts:72:13 - error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(reason?: any): AbortSignal; timeout(milliseconds: number): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'.
72 declare var AbortSignal: {
~~~~~~~~~~~
node_modules/typescript/lib/lib.dom.d.ts:2071:13
2071 declare var AbortSignal: {
~~~~~~~~~~~
'AbortSignal' was also declared here.
IF customer = 'A' THEN
SET headers = 'header 1', 'header 2', 'header 3', ''
SET summary = 'item 1', 'item 2', 'item 3', ''
ELSE
SET headers = 'header aa', 'header dd', 'header ff', 'header ad'
SET summary = data_x, data_y, data_a, data_b
END IF
SELECT
headers
```javascript
// before compile
import agent_hash from "./utilities/agent_hash.js";
import agent_management from "./utilities/agent_management.js";
import agent_status from "./utilities/agent_status.js";
import browser from "./utilities/browser.js";
(function browser_init():void {
// code here
}());
Current Problem:
"This certificate has an invalid digital signature."
The server certificate is a proper child of the root certificate, and the root certificate is not showing any errors.
The server certificate is reporting an invalid signature.
Certificate Creation:
openssl genpkey -algorithm RSA -out share-file-ca.key -pkeyopt rsa_keygen_bits:4096
openssl req -x509 -new -nodes -key share-file-ca.key -sha256 -days 16384 -out share-file-ca.crt -subj "/CN=share-file-ca/O=share-file"
openssl req -new -nodes -out share-file.csr -newkey rsa:4096 -keyout share-file.key -subj "/CN=share-file/O=share-file"
problem - Windows:
Cert does not work unless both the root and signed certs are added to the Windows trust store.
---
certificate create steps:
openssl genpkey -algorithm RSA -out share-file-ca.key
openssl req -x509 -key share-file-ca.key -days 16384 -out share-file-ca.crt -subj "/CN=share-file-ca/O=share-file"
openssl genpkey -algorithm RSA -out share-file.key
openssl req -new -key share-file.key -out share-file.csr -subj "/CN=share-file/O=share-file"
problem - Ubuntu:
Cert does not work at all. When connecting to localhost the browser throws the Privacy Error screen with Chrome error NET::ERR_CERT_AUTHORITY_INVALID
---
certificate create steps:
openssl genpkey -algorithm RSA -out share-file-ca.key
openssl req -x509 -key share-file-ca.key -days 16384 -out share-file-ca.crt -subj "/CN=share-file-ca/O=share-file"
openssl genpkey -algorithm RSA -out share-file.key
openssl req -new -key share-file.key -out share-file.csr -subj "/CN=share-file/O=share-file"