Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Mouad Cherkaoui mouadcherkaoui

🎯
Focusing
View GitHub Profile
View opencore-2021-01-14-204546.txt
00:000 00:000 AAPL: #[EB|LOG:INIT] 2021-01-14T20:45:49
00:093 00:093 AAPL: #[EB|VERSION] <"bootbase.efi 495.60.1~4 (Official), built 2020-11-23T06:28:08-0800">
00:185 00:091 AAPL: #[EB|BUILD] <"BUILD-INFO[304]:{"DisplayName":"bootbase.efi","DisplayVersion":"495.60.1~4","RecordUuid":"02584802-F48C-4E06-A7EE-8B40DB1D21EF","BuildTime":"2020-11-23T06:28:08-0800","ProjectName":"efiboot","ProductName":"bootbase.efi","SourceVersion":"495.60.1","BuildVersion":"4","BuildConfiguration":"Release","BuildType":"Official"}">
00:270 00:084 AAPL: #[EB|CFG:DEV] r2 0x0 0x0
00:355 00:085 AAPL: #[EB|H:IS] 0
00:449 00:093 AAPL: #[EB|WL:MODE] 0
00:532 00:083 AAPL: #[EB|CFG:ARG] boot-save-log 0x0000000000000002 (0x0000000000000002 < 0xFFFFFFFFFFFFFFFF) default
00:615 00:083 AAPL: #[EB|CFG:ARG] wake-save-log 0x0000000000000002 (0x0000000000000002 < 0x0000000000000002) default
00:707 00:091 AAPL: #[EB|CFG:ARG] console 0x0000000000000001 (0x0000000000000001 < 0x0000000000000001) default
00:793 00:085 AAPL: #[EB|CFG:ARG] serial
View biosdecode.txt
# biosdecode 3.2
SMBIOS 3.1 present.
Structure Table Length: 4084 bytes
Structure Table Address: 0x000E0410
Number Of Structures: 91
Maximum Structure Size: 312 bytes
SMBIOS 3.1.1 present.
Structure Table Maximum Length: 4084 bytes
Structure Table 64-bit Address: 0x00000000000E2410
ACPI 2.0 present.
View opencore-2021-01-13-221155.txt
00:000 00:000 AAPL: #[EB|LOG:INIT] 2021-01-13T22:19:23
00:069 00:069 AAPL: #[EB|VERSION] <"bootbase.efi 495.60.1~4 (Official), built 2020-11-23T06:28:08-0800">
00:131 00:062 AAPL: #[EB|BUILD] <"BUILD-INFO[304]:{"DisplayName":"bootbase.efi","DisplayVersion":"495.60.1~4","RecordUuid":"02584802-F48C-4E06-A7EE-8B40DB1D21EF","BuildTime":"2020-11-23T06:28:08-0800","ProjectName":"efiboot","ProductName":"bootbase.efi","SourceVersion":"495.60.1","BuildVersion":"4","BuildConfiguration":"Release","BuildType":"Official"}">
00:201 00:070 AAPL: #[EB|CFG:DEV] r2 0x0 0x0
00:262 00:060 AAPL: #[EB|H:IS] 0
00:323 00:060 AAPL: #[EB|WL:MODE] 0
00:383 00:060 AAPL: #[EB|CFG:ARG] boot-save-log 0x0000000000000002 (0x0000000000000002 < 0xFFFFFFFFFFFFFFFF) default
00:444 00:060 AAPL: #[EB|CFG:ARG] wake-save-log 0x0000000000000002 (0x0000000000000002 < 0x0000000000000002) default
00:513 00:069 AAPL: #[EB|CFG:ARG] console 0x0000000000000001 (0x0000000000000001 < 0x0000000000000001) default
00:574 00:060 AAPL: #[EB|CFG:ARG] serial
@mouadcherkaoui
mouadcherkaoui / opencore-2021-01-13-193850.txt
Last active Jan 13, 2021
opencore-2021-01-13-193850.txt
View opencore-2021-01-13-193850.txt
00:000 00:000 AAPL: #[EB|LOG:INIT] 2021-01-13T20:44:13
00:064 00:064 AAPL: #[EB|VERSION] <"bootbase.efi 495.60.1~4 (Official), built 2020-11-23T06:28:08-0800">
00:115 00:051 AAPL: #[EB|BUILD] <"BUILD-INFO[304]:{"DisplayName":"bootbase.efi","DisplayVersion":"495.60.1~4","RecordUuid":"02584802-F48C-4E06-A7EE-8B40DB1D21EF","BuildTime":"2020-11-23T06:28:08-0800","ProjectName":"efiboot","ProductName":"bootbase.efi","SourceVersion":"495.60.1","BuildVersion":"4","BuildConfiguration":"Release","BuildType":"Official"}">
00:167 00:051 AAPL: #[EB|CFG:DEV] r2 0x0 0x0
00:218 00:051 AAPL: #[EB|H:IS] 0
00:288 00:069 AAPL: #[EB|WL:MODE] 0
00:340 00:052 AAPL: #[EB|CFG:ARG] boot-save-log 0x0000000000000002 (0x0000000000000002 < 0xFFFFFFFFFFFFFFFF) default
00:393 00:052 AAPL: #[EB|CFG:ARG] wake-save-log 0x0000000000000002 (0x0000000000000002 < 0x0000000000000002) default
00:445 00:052 AAPL: #[EB|CFG:ARG] console 0x0000000000000001 (0x0000000000000001 < 0x0000000000000001) default
00:515 00:069 AAPL: #[EB|CFG:ARG] serial
View chipsec-out.txt
################################################################
## ##
## CHIPSEC: Platform Hardware Security Assessment Framework ##
## ##
################################################################
[CHIPSEC] Version 1.5.8
[CHIPSEC] Arguments: 

****** Chipsec Linux Kernel module is licensed under GPL 2.0
[CHIPSEC] API mode: using CHIPSEC kernel module API
View opencore-2021-01-13-170307.txt
00:000 00:000 AAPL: #[EB|LOG:INIT] 2021-01-13T17:03:12
00:059 00:059 AAPL: #[EB|VERSION] <"boot.efi 495.40.10~62 (Official), built 2020-10-22T14:08:24-0700">
00:118 00:059 AAPL: #[EB|BUILD] <"BUILD-INFO[300]:{"DisplayName":"boot.efi","DisplayVersion":"495.40.10~62","RecordUuid":"556801AA-BF30-431E-9BC2-AF24D3AF99ED","BuildTime":"2020-10-22T14:08:24-0700","ProjectName":"efiboot","ProductName":"boot.efi","SourceVersion":"495.40.10","BuildVersion":"62","BuildConfiguration":"Release","BuildType":"Official"}">
00:186 00:067 AAPL: #[EB|CFG:DEV] r2 0x0 0x0
00:245 00:059 AAPL: #[EB|H:IS] 0
00:305 00:059 AAPL: #[EB|WL:MODE] 0
00:365 00:059 AAPL: #[EB|CFG:ARG] boot-save-log 0x0000000000000002 (0x0000000000000002 < 0xFFFFFFFFFFFFFFFF) default
00:433 00:068 AAPL: #[EB|CFG:ARG] wake-save-log 0x0000000000000002 (0x0000000000000002 < 0x0000000000000002) default
00:492 00:059 AAPL: #[EB|CFG:ARG] console 0x0000000000000001 (0x0000000000000001 < 0x0000000000000001) default
00:551 00:059 AAPL: #[EB|CFG:ARG] serial
View opencorelog-2020-12-11.log
00:000 00:000 OC: OpenCore DBG-065-2020-12-24 is loading in Optional mode (0/0)...
00:075 00:075 OC: Boot timestamp - 2020.12.24 20:37:59
00:159 00:083 OCCPU: MP services threads 8 (enabled 8) - Success
00:235 00:076 OCCPU: MP services Pkg 1 Cores 4 Threads 2 - Success
00:311 00:075 OCCPU: Found Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
00:387 00:075 OCCPU: Signature 706E5 Stepping 5 Model 7E Family 6 Type 0 ExtModel 7 ExtFamily 0 uCode A0
00:469 00:082 OCCPU: EIST CFG Lock 0
00:543 00:073 OCCPU: Ratio Min 4 Max 15 Current 35 Turbo 39 38 35 35
00:617 00:073 OCCPU: TSC Adjust 0
00:699 00:082 OCCPU: Queried Core Crystal Clock Frequency 38400000Hz
View AzureMgmtFluentNsgs.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using Microsoft.Azure.Management.Fluent;
using Microsoft.Azure.Management.Network;
using Microsoft.Azure.Management.Network.Fluent;
namespace AzureManagmentExample
{
View powershell-script-webcam.ps1
Get-PnpDevice -FriendlyName *webcam*
Get-PnpDevice -FriendlyName *webcam* -Class Camera,image
Disable-PnpDevice -InstanceId (Get-PnpDevice -FriendlyName *webcam* -Class Image -Status OK).InstanceId
Disable-PnpDevice -InstanceId (Get-PnpDevice -FriendlyName *webcam* -Class Camera -Status OK).InstanceId
Enable-PnpDevice -InstanceId (Get-PnpDevice -FriendlyName *webcam* -Class Image -Status Error).InstanceId
Enable-PnpDevice -InstanceId (Get-PnpDevice -FriendlyName *webcam* -Class Camera -Status Error).InstanceId
View UpdateDrivers.ps1
#search and list all missing Drivers
$Session = New-Object -ComObject Microsoft.Update.Session
$Searcher = $Session.CreateUpdateSearcher()
$Searcher.ServiceID = '7971f918-a847-4430-9279-4a52d1efe18d'
$Searcher.SearchScope = 1 # MachineOnly
$Searcher.ServerSelection = 3 # Third Party
$Criteria = "IsInstalled=0 and Type='Driver' and ISHidden=0"