Skip to content

Instantly share code, notes, and snippets.

View RufusJWB's full-sized avatar
🎯
Focusing

Rufus Buschart RufusJWB

🎯
Focusing
View GitHub Profile
P:17840; T:17880 2024-03-18 16:06:01.598 [opensc-notify] Looping...
P:8528; T:13012 2024-03-18 16:06:01.598 [cardmod] ===================================
P:17840; T:17880 2024-03-18 16:06:01.598 [opensc-notify] 'Alcorlink USB Smart Card Reader 0' before=0x00020010 now=0x00020010
P:8528; T:13012 2024-03-18 16:06:01.598 [cardmod] OpenSC version: 0.25.0
P:17840; T:17880 2024-03-18 16:06:01.598 [opensc-notify] 'certgate GmbH AirID BLE F4B3B1AA3B3B 0' before=0x00010422 now=0x00010122
P:8528; T:13012 2024-03-18 16:06:01.598 [cardmod] Configured for cardmod (C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE)
P:17840; T:17880 2024-03-18 16:06:01.598 [opensc-notify] 'Microsoft UICC ISO Reader f8e64934 0' before=0x00010020 now=0x00010020
P:17840; T:17880 2024-03-18 16:06:01.598 [opensc-notify] 'Windows Hello for Business 1' before=0x00000120 now=0x00000120
P:8528; T:13012 2024-03-18 16:06:01.598 [cardmod] PC/SC options: connect_exclusive=0 disconnect_action=0 transaction_end_action=0 reconnect_action=0 enable
2024-01-25 21:49:31 DEBU[0000] Copying file /buildDir/SRC/PROXY Protocol Tester/Dockerfile to /kaniko/Dockerfile
2024-01-25 21:49:31 DEBU[0000] Skip resolving path /kaniko/Dockerfile
2024-01-25 21:49:31 DEBU[0000] Skip resolving path /buildDir/SRC/PROXY Protocol Tester
2024-01-25 21:49:31 DEBU[0000] Skip resolving path /kaniko/cache
2024-01-25 21:49:31 DEBU[0000] Skip resolving path
2024-01-25 21:49:31 DEBU[0000] Skip resolving path
2024-01-25 21:49:31 DEBU[0000] Skip resolving path
2024-01-25 21:49:31 DEBU[0000] Skip resolving path
2024-01-25 21:49:31 INFO[0000] Resolved base name mcr.microsoft.com/dotnet/aspnet:8.0 to base
2024-01-25 21:49:31 INFO[0000] Resolved base name mcr.microsoft.com/dotnet/sdk:8.0 to build
2024-01-18 21:42:31 DEBU[0000] Copying file /buildDir/SRC/PROXY Protocol Tester/Dockerfile to /kaniko/Dockerfile
2024-01-18 21:42:31 DEBU[0000] Skip resolving path /kaniko/Dockerfile
2024-01-18 21:42:31 DEBU[0000] Skip resolving path /buildDir
2024-01-18 21:42:31 DEBU[0000] Skip resolving path /cache
2024-01-18 21:42:31 DEBU[0000] Skip resolving path
2024-01-18 21:42:31 DEBU[0000] Skip resolving path
2024-01-18 21:42:31 DEBU[0000] Skip resolving path
2024-01-18 21:42:31 DEBU[0000] Skip resolving path
2024-01-18 21:42:31 INFO[0000] Resolved base name mcr.microsoft.com/dotnet/aspnet:8.0 to base
2024-01-18 21:42:31 INFO[0000] Resolved base name mcr.microsoft.com/dotnet/sdk:8.0 to build
@RufusJWB
RufusJWB / gist:369d8428103dda76b47b5735de0994d7
Last active January 10, 2024 16:40
Build multistage build with Kaniko - failing
This file has been truncated, but you can view the full file.
2024-01-10 17:06:06 DEBU[0000] Copying file /buildDir/SRC/PROXY Protocol Tester/Dockerfile to /kaniko/Dockerfile
2024-01-10 17:06:06 DEBU[0000] Skip resolving path /kaniko/Dockerfile
2024-01-10 17:06:06 DEBU[0000] Skip resolving path /buildDir
2024-01-10 17:06:06 DEBU[0000] Skip resolving path /cache
2024-01-10 17:06:06 DEBU[0000] Skip resolving path
2024-01-10 17:06:06 DEBU[0000] Skip resolving path
2024-01-10 17:06:06 DEBU[0000] Skip resolving path
2024-01-10 17:06:06 DEBU[0000] Skip resolving path
2024-01-10 17:06:06 INFO[0000] Resolved base name mcr.microsoft.com/dotnet/aspnet:8.0 to base
2024-01-10 17:06:06 INFO[0000] Resolved base name mcr.microsoft.com/dotnet/sdk:8.0 to build
@RufusJWB
RufusJWB / gist:364b87c02e06c6940a750530954828b4
Last active January 10, 2024 16:29
Run multistage result image
2024-01-10 17:05:23 info: Microsoft.Hosting.Lifetime[14]
2024-01-10 17:05:23 Now listening on: http://[::]:8080
2024-01-10 17:05:23 info: Microsoft.Hosting.Lifetime[0]
2024-01-10 17:05:23 Application started. Press Ctrl+C to shut down.
2024-01-10 17:05:23 info: Microsoft.Hosting.Lifetime[0]
2024-01-10 17:05:23 Hosting environment: Production
2024-01-10 17:05:23 info: Microsoft.Hosting.Lifetime[0]
2024-01-10 17:05:23 Content root path: /app
2024-01-10 17:05:27 info: Microsoft.Hosting.Lifetime[0]
2024-01-10 17:05:27 Application is shutting down...
@RufusJWB
RufusJWB / gist:caa2371f5f1cdbdf46b6af593ca08913
Created January 10, 2024 16:22
Build Kaniko image with Docker
[internal] load build definition from Dockerfile
transferring 345/0 0.003
[internal] load metadata for gcr.io/kaniko-project/executor:debug
[internal] load .dockerignore
[internal] load build context
transferring 15872/0 0.01
[1/4] FROM gcr.io/kaniko-project/executor:debug@sha256:899886a2db1c127ff1565d5c7b1e574af1810bbdad048e9850e4f40b5848d79c
resolve gcr.io/kaniko-project/executor:debug@sha256:899886a2db1c127ff1565d5c7b1e574af1810bbdad048e9850e4f40b5848d79c 0/0 0.03
[3/4] COPY . .
[2/4] WORKDIR /buildDir/SRC
@RufusJWB
RufusJWB / gist:ebf95c6ff7aa85e487a55167fa3048df
Last active January 10, 2024 16:40
Build multistage build with Docker
[internal] load build definition from Dockerfile
transferring 1.1 kB 0.0s
[internal] load metadata for mcr.microsoft.com/dotnet/sdk:8.0
[internal] load metadata for mcr.microsoft.com/dotnet/aspnet:8.0
[internal] load .dockerignore
[internal] load build context
transferring 334 Bytes 0.0s
[build 1/8] FROM mcr.microsoft.com/dotnet/sdk:8.0@sha256:466256c75729ba0d7a08bb95c307f1e978b25716ab5fa5913b2c2c256e2a5dc2
resolve mcr.microsoft.com/dotnet/sdk:8.0@sha256:466256c75729ba0d7a08bb95c307f1e978b25716ab5fa5913b2c2c256e2a5dc2 0.0s
[base 1/3] FROM mcr.microsoft.com/dotnet/aspnet:8.0@sha256:98b1a1c082b85fef817e8bc6ec633dcbf899dc81aa8bcc575bde70d1f2fccfc5
@RufusJWB
RufusJWB / singleCertUploadToCTLog
Created March 3, 2023 14:42
Uploads a single certificate from the Windows certificate store to a certificate transparency (ct) log
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Text.Json;
namespace DodoLogUploader {
public class CTUploadObject {
public string[] chain { get; set; }
}
@RufusJWB
RufusJWB / DodoCTLogUploader
Created September 7, 2022 17:15
Upload all certificates signed by one RootCA from certificate store to a CT Log
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Text.Json;
namespace DodoLogUploader
{
public class CTUploadObject
{
public string[] chain { get; set; }
@RufusJWB
RufusJWB / Windows Defender Exclusions VS 2022.ps1
Last active December 3, 2021 19:53 — forked from dknoodle/Windows Defender Exclusions VS 2017.ps1
Adds Windows Defender exclusions for Visual Studio 2022
$userPath = $env:USERPROFILE
$pathExclusions = New-Object System.Collections.ArrayList
$processExclusions = New-Object System.Collections.ArrayList
$pathExclusions.Add('C:\Windows\Microsoft.NET') > $null
$pathExclusions.Add('C:\Windows\assembly') > $null
$pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio') > $null
$pathExclusions.Add('C:\ProgramData\Microsoft\VisualStudio\Packages') > $null
$pathExclusions.Add('C:\Program Files (x86)\MSBuild') > $null
$pathExclusions.Add('C:\Program Files (x86)\Microsoft Visual Studio 14.0') > $null