Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WDACConfig v0.3.5 #211

Merged
merged 9 commits into from
Mar 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions WDACConfig/Utilities/Hashes.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"RelativePath","FileName","FileHash"
"Preloader.ps1","Preloader.ps1","F5763D30DBD062B081EE355A53871B80F20D72C47411C15CA940B06A4386B790A71A0388D89FBB24C559D22C89E75BB33A1FB3FC54BD9780C161AFE70B460AA1"
"WDACConfig.psd1","WDACConfig.psd1","4BE124D53FD1758858B104826BFE6D7483B15EBC6B6CB7079BFAAD51674174DEEA908A6A46398289292CFAC1526B5D13D17B0C7288CCCC683731CA5E7755A648"
"Preloader.ps1","Preloader.ps1","4C822F6A351726D71EE95367FADE6F457093F890E5C63CC276288E6CC0DEE89E6BD6CAA8E63B16463D4ABAB1AD98C182053D123AE6428744DCE3810B73087492"
"WDACConfig.psd1","WDACConfig.psd1","7D8A75DDE1583A1412AF7D1A4B6D05BE981C61BAA2A7C388DDAAF79FA3827BCB528B07E5673A7B2F0E418E75DF86EEB2CB8535F85E0D2A72DCAE57ED704189E1"
"WDACConfig.psm1","WDACConfig.psm1","E92B896C59A2A6F5680783221C4B102362E83DA36863CC29A4E8BAE55D6FEA156EF361AD7E5D443172647C2962B3B2DF67422C4C1D582A2E27E5287E13022175"
"C#\AuthenticodeHashCalc.cs","AuthenticodeHashCalc.cs","6F005F578C098F0C95F4103D42B730BC5D59556CAA7EA886741C610464A798A4FD7F109F1DFF6C381983EFCEBFDCACEAA2C5D10BD733BFBB17E0F42053D98932"
"C#\Crypt32CertCN.cs","Crypt32CertCN.cs","B01570F8BF0E291FE54DEB7C64953913E6EAF46D7661AB3B7F29F6861E00D93D37FBC908B2F4E4EB5D6FA4F22A3CDB091129F3510687FAEB32808957E854C312"
Expand All @@ -12,8 +12,8 @@
"Core\Build-WDACCertificate.psm1","Build-WDACCertificate.psm1","8829A0D796FDE5524EC43526DE3B174016925D4ABE62F92FD9E12BC98F35AC251E84CC71962763003EA6194AB66A24D95DA5DA1B415E41B62EB0C32120F43BD8"
"Core\Confirm-WDACConfig.psm1","Confirm-WDACConfig.psm1","4D8C9149881F3874F83DE935E9ED9E79111A7EFF939B6A177F07E9D2010E57F81507FFE4AA32B8D01D4681ABC359469251C47603AAB216807D94CB64259869F6"
"Core\ConvertTo-WDACPolicy.psm1","ConvertTo-WDACPolicy.psm1","9810C717EFBDE8027ADE14A6ED00D9495B53931BC0F93B0799C8AB27B76C45EB0F74EDCD9F6CF08563857C752722C5160EF872FCD62D730C5D70BBF89F907751"
"Core\Deploy-SignedWDACConfig.psm1","Deploy-SignedWDACConfig.psm1","9B3C61E584B863D54FBF4F154F41A349572D1E158D390653B8BAB89191FCE01EC01F87DA3C4E7CB16E5B7EF5B4805842BD5DD3DE6CE6957577E74998F18FBB8D"
"Core\Edit-SignedWDACConfig.psm1","Edit-SignedWDACConfig.psm1","B4E5D8241E735C0D8AFC49CD94ADF4DF3457B8D6D6B81C3FF30F2BFCD766D3775880E1E026988FF3A7ECC7D2466DA6BF91F650DC42E9AE8393116DC7466A2976"
"Core\Deploy-SignedWDACConfig.psm1","Deploy-SignedWDACConfig.psm1","A252BC251EB7773E6EBD122F820551195ECAE3A047D28019B7584A035048326DA763BCEA2CE6412DA2A22BE1C83394F9C90B7B09929F056F8FEBE4E8C33BE01F"
"Core\Edit-SignedWDACConfig.psm1","Edit-SignedWDACConfig.psm1","43F796453F5DCAAD5F0BBF515B1725D16575CD9D52DEA60E2DE09F02C4C09C150B80069C75BF70772CDA49E10F3264BA629CEF058B35891C388F7347344B71F3"
"Core\Edit-WDACConfig.psm1","Edit-WDACConfig.psm1","B084DE1D0874EADF155297B46AD0F177CAB066EF38C54DBF550839243996C8116D6B95FA4ACE80A98899F84413597D4FF08261D92C123D8B28F9869776DA86A1"
"Core\Get-CiFileHashes.psm1","Get-CiFileHashes.psm1","D429847D687319F6606A6780EC7AB5413B5BFBC43A1BA65486558443740F0079EE34CD2015FA6C56B01B1FC7D75A5937B7D31D0613DEE4C74B3CF2709F7A90D1"
"Core\Get-CommonWDACConfig.psm1","Get-CommonWDACConfig.psm1","067CEA3BB211D60E00185DB9679B5F3EBC099CDE260D034D97FB4E504C21BFC319422438E0802C3246D8FA669608B40CD36CECC534E9CA595911087F2E7B78DC"
Expand All @@ -23,7 +23,7 @@
"Core\New-SupplementalWDACConfig.psm1","New-SupplementalWDACConfig.psm1","DE2CA8BA04643A4F35AA0B15C4650FF317104B235D23EB9FE5B844A050B0D187AB71396E061BC100AAA4398BC1ECFF39491F0287AE7ECAA18CDE7D2821C918A7"
"Core\New-WDACConfig.psm1","New-WDACConfig.psm1","54DF8CC2D091E3E879B26325EC2FAF2531E27BC5FEB9CBBE850A6915B5FA57E7EAD6439D8134B7FCDF3ADDB0618113559330907686C9719F9CB17C5EF71A3F35"
"Core\Remove-CommonWDACConfig.psm1","Remove-CommonWDACConfig.psm1","83E871644786BB2A0808B923FB0993800DEC11FBCF66405B76914157C36C3CD2D4A054FB386B464E8FF6D3905D7480E72E01F250456D5975B07F55AF27C85A23"
"Core\Remove-WDACConfig.psm1","Remove-WDACConfig.psm1","F1BEE0D96B80F3A18E376994B3FC3C3881869D8F53E3E2F6C4A92DF5B16530430AE3FB258C32713F811F05DCC1074D1D92B6017A756F1E41FCD6902E622DDCF3"
"Core\Remove-WDACConfig.psm1","Remove-WDACConfig.psm1","C32908ECEFA156A67CAF5233956AD9277EE7ADAC0A220F82EC6235652A4D56B70DAABAB218E8C853D66172EB708F82790CC53E5C11A0C4AD7040D118575DF689"
"Core\Set-CommonWDACConfig.psm1","Set-CommonWDACConfig.psm1","FF3BC72C2A341343016126378A3D595EEA28A97FA590BE98DBE8AB3FA2749F5EED5FA283CA8ED6810914ED0119A54F9344CED075FC9C7EC8DE38A5435F1EB23A"
"Core\Test-CiPolicy.psm1","Test-CiPolicy.psm1","269B0AAE9282F8A4BE7DA9AF21DA91508648A53FF2F398EA62E96C6E40ED6562A1677CD75BA7CBE54AACFCCEEEED8663783ACDDDC75DB9DE13ED84922CE42E96"
"CoreExt\ArgumentCompleters.ps1","ArgumentCompleters.ps1","2AA08D4681A2893CDB1BFD391F590CE3E8DF24801C26F23E19AA1EEED43A31BCA7DBE48EC3F34D7EE88DB688FB6B352E2010C4C4A0373696EDBC96971E6520A9"
Expand All @@ -43,13 +43,13 @@
"Shared\Get-GlobalRootDrives.psm1","Get-GlobalRootDrives.psm1","AFDF24ED353B7999AD32BF395CD8174E55B69AFA568A5AF9BCF3B0B9D3FAD803A6A8B5E157BB5AFDBD534BD6D940EB14D7818CFD07E57F0D4985152C1EE1EA8A"
"Shared\Get-KernelModeDriversAudit.psm1","Get-KernelModeDriversAudit.psm1","F305D97809C0697D7CAB9664F21E8A5C333EB7C2F4711AFFF4CDF193425A5439E22BD3720A72950B5D27D93BD41BF0E1757FD6FD885FD295DAFA1235F07930C7"
"Shared\Get-RuleRefs.psm1","Get-RuleRefs.psm1","70085C1AF7BB6E0463736112AF32392F388E931ED62640165BE1E86CA741C239589943FB1A881A22E3EFEC01BB5940655D53B5096951B1793446008BFA880209"
"Shared\Get-SignTool.psm1","Get-SignTool.psm1","C582B6A29B7344A852170B191F780E8700E604CAC9ADCA5944BCFE693DD839219EA852894ECE80A20A722A18B4CD68F5EA7B36DBA81715079EF1096BA44B6E52"
"Shared\Get-SignTool.psm1","Get-SignTool.psm1","3B1C8020C98F84F43F9D7E29171E3BE0BF70CB534C9424B55A1E3FEE066B7498B2742589AA52FA7F5627EE67095C7327C8A6A13A2B603F17D1A8CD7D4E695750"
"Shared\Move-UserModeToKernelMode.psm1","Move-UserModeToKernelMode.psm1","3A6ED962B591D757F0237C15B4566ADEC9F745950909DE84818BD1116DF1AF59C491D8B72AB9241DE3A5EB7F4CE3CC650EB62DDC022E9BB754F1598ED6D8DC8B"
"Shared\New-AppxPackageCiPolicy.psm1","New-AppxPackageCiPolicy.psm1","0527943450A1047C37D98EDB79AB1BE1F8A6E9770FB707C277E6536A820B77D98459F49CB8116578CD20844EFA48054B188E61C8BAF9912EF5F72A8913312D39"
"Shared\New-EmptyPolicy.psm1","New-EmptyPolicy.psm1","1611AE2E9056EF671CA6FC89E7D6BFA8D902E13E12B54AAEE5C1A4DE46BE612D152D8DBAC1FC03114B8346E8C649A1AF846DB646CA09C028BEB475C14B94C995"
"Shared\New-SnapBackGuarantee.psm1","New-SnapBackGuarantee.psm1","5AA83D8ABEA7C035BB4437FFD3A1F47CAB845153FA85C3ADB626C1D3407918AA44E4A0EAF32502DD84586A7C5CB82CDC7BA1AF98A310B07114A47E29F48C5F0F"
"Shared\New-StagingArea.psm1","New-StagingArea.psm1","CD8A3848EF01ACABD69A25B63C71EA57210290E8B7C5EB3FDDD488925E7EF0C24C6C3E99B45ABEDD5B775D175B338D70805E4AC0E62FA10BDD649C2696EBF2FD"
"Shared\Receive-CodeIntegrityLogs.psm1","Receive-CodeIntegrityLogs.psm1","E30AD1F34C7A69D38305211A13FB42C34C0AC73CEF20C6FFA995A4FDC6B8DA43C732AA65D2E61199BD927B72F0175CE8104A32C719F5DD2A663D27438839DC7E"
"Shared\Receive-CodeIntegrityLogs.psm1","Receive-CodeIntegrityLogs.psm1","ECA7FBE858CB368DF30EA786983DF73E86B4FCDC4612E0A5AF84053B456E49B7DF751831C473BC19985B4DEFE00DC8E9239A8CDA0F0B6F522BEC6C7473CE98D2"
"Shared\Remove-SupplementalSigners.psm1","Remove-SupplementalSigners.psm1","D84AACBCDAA29393961B288893FD1B46EABCE0ED810CA8E8B655261AC68E30537F6A43D0686942E24401DFB39066E4DF31E3ED6AA12664735BC713218997C86C"
"Shared\Set-LogSize.psm1","Set-LogSize.psm1","0BAC2DF856B5C8BA403ECC913493AFB435CA3F7498D71D960150D9F9373EBE120CF78F4600755393FC69B90D326BD8C632F77E6403C027654B638D53C71B9E72"
"Shared\Test-FilePath.psm1","Test-FilePath.psm1","D42A57517115D519FAE03873312528FBCF2EBD062462EADA3A86967534ED3E59D92AC80A7259115550E7F78325B62812C58CC8A5E942661426C57DD9608B0B8C"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@ Function Deploy-SignedWDACConfig {
#Region User-Configurations-Processing-Validation
# Get SignToolPath from user parameter or user config file or auto-detect it
if ($SignToolPath) {
$SignToolPathFinal = Get-SignTool -SignToolExePathInput $SignToolPath
[System.IO.FileInfo]$SignToolPathFinal = Get-SignTool -SignToolExePathInput $SignToolPath
} # If it is null, then Get-SignTool will behave the same as if it was called without any arguments.
else {
$SignToolPathFinal = Get-SignTool -SignToolExePathInput (Get-CommonWDACConfig -SignToolPath)
[System.IO.FileInfo]$SignToolPathFinal = Get-SignTool -SignToolExePathInput (Get-CommonWDACConfig -SignToolPath)
}

# If CertPath parameter wasn't provided by user, check if a valid value exists in user configs, if so, use it, otherwise throw an error
if (!$CertPath ) {
if (Test-Path -Path (Get-CommonWDACConfig -CertPath)) {
$CertPath = Get-CommonWDACConfig -CertPath
[System.IO.FileInfo]$CertPath = Get-CommonWDACConfig -CertPath
}
else {
throw 'CertPath parameter cannot be empty and no valid user configuration was found for it. Use the Build-WDACCertificate cmdlet to create one.'
Expand Down Expand Up @@ -322,8 +322,8 @@ Register-ArgumentCompleter -CommandName 'Deploy-SignedWDACConfig' -ParameterName
# SIG # Begin signature block
# MIILkgYJKoZIhvcNAQcCoIILgzCCC38CAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAr9zkcAKhAK41r
# EL4g9PQy3/xRLLvMsj9pqRI4IAFYKaCCB9AwggfMMIIFtKADAgECAhMeAAAABI80
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAfCfQJqiGUxvfo
# 1rrqH4STmRIzU1kcbZwO2BaccS1r16CCB9AwggfMMIIFtKADAgECAhMeAAAABI80
# LDQz/68TAAAAAAAEMA0GCSqGSIb3DQEBDQUAME8xEzARBgoJkiaJk/IsZAEZFgNj
# b20xIjAgBgoJkiaJk/IsZAEZFhJIT1RDQUtFWC1DQS1Eb21haW4xFDASBgNVBAMT
# C0hPVENBS0VYLUNBMCAXDTIzMTIyNzExMjkyOVoYDzIyMDgxMTEyMTEyOTI5WjB5
Expand Down Expand Up @@ -370,16 +370,16 @@ Register-ArgumentCompleter -CommandName 'Deploy-SignedWDACConfig' -ParameterName
# Q0FLRVgtQ0ECEx4AAAAEjzQsNDP/rxMAAAAAAAQwDQYJYIZIAWUDBAIBBQCggYQw
# GAYKKwYBBAGCNwIBDDEKMAigAoAAoQKAADAZBgkqhkiG9w0BCQMxDAYKKwYBBAGC
# NwIBBDAcBgorBgEEAYI3AgELMQ4wDAYKKwYBBAGCNwIBFTAvBgkqhkiG9w0BCQQx
# IgQgE6jp/7kqrVC0vvANjPkQvLEshbwkxr0Acz3mG0cPHoswDQYJKoZIhvcNAQEB
# BQAEggIAWGdF3o2+QAsfQAPlJ9cjMhyzi+HjASXRhS6JUJDJ2zrDvYZxe6poccKS
# x0CWbPYyec2IGlxJqdDFgbup5AEvrdqDcI3hV8oBswTyM7p2WPLDXqDFAL9WraGy
# utMpn61PN9o8jn7srPyqLvpyPVhqlc6LMxZzaITr5iqtD5W1l3adYSZ9nVD1E++c
# 1FWUq15rfDVJOqPBcwPVrtWfnFhaNxR2sZRPC6ADaabBm8DCPRiV9Eqda0YIFjuE
# 6gi+UsH9JmJFRaWN/o5R2WHOpFMImBx8Z9qLh49Pie8pHkEmyfU3LbBSe7k/e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iHyGn3AOwSdznszpWZTaeAowp+BKeNK7cEO9BCb+VX6smwqOyOQWBCWA+DZs
# MtfxHo0bbRRTOGbgdgPFVEk6mYiVFJIZcxFIXNuehOy6kdly2nQ=
# SIG # End signature block
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,16 @@ Function Edit-SignedWDACConfig {
#Region User-Configurations-Processing-Validation
# Get SignToolPath from user parameter or user config file or auto-detect it
if ($SignToolPath) {
$SignToolPathFinal = Get-SignTool -SignToolExePathInput $SignToolPath
[System.IO.FileInfo]$SignToolPathFinal = Get-SignTool -SignToolExePathInput $SignToolPath
} # If it is null, then Get-SignTool will behave the same as if it was called without any arguments.
else {
$SignToolPathFinal = Get-SignTool -SignToolExePathInput (Get-CommonWDACConfig -SignToolPath)
[System.IO.FileInfo]$SignToolPathFinal = Get-SignTool -SignToolExePathInput (Get-CommonWDACConfig -SignToolPath)
}

# If CertPath parameter wasn't provided by user, check if a valid value exists in user configs, if so, use it, otherwise throw an error
if (!$CertPath ) {
if (Test-Path -Path (Get-CommonWDACConfig -CertPath)) {
$CertPath = Get-CommonWDACConfig -CertPath
[System.IO.FileInfo]$CertPath = Get-CommonWDACConfig -CertPath
}
else {
throw 'CertPath parameter cannot be empty and no valid user configuration was found for it. Use the Build-WDACCertificate cmdlet to create one.'
Expand Down Expand Up @@ -1283,8 +1283,8 @@ Register-ArgumentCompleter -CommandName 'Edit-SignedWDACConfig' -ParameterName '
# SIG # Begin signature block
# MIILkgYJKoZIhvcNAQcCoIILgzCCC38CAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBV+70imw2t6YVw
# A5ygmCmLfE8+sHc99duxZXtRQs8CCqCCB9AwggfMMIIFtKADAgECAhMeAAAABI80
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDIuZ4SPwMthG/k
# vhcVWrat0mml0N+dMtlsAukb1hQY1aCCB9AwggfMMIIFtKADAgECAhMeAAAABI80
# LDQz/68TAAAAAAAEMA0GCSqGSIb3DQEBDQUAME8xEzARBgoJkiaJk/IsZAEZFgNj
# b20xIjAgBgoJkiaJk/IsZAEZFhJIT1RDQUtFWC1DQS1Eb21haW4xFDASBgNVBAMT
# C0hPVENBS0VYLUNBMCAXDTIzMTIyNzExMjkyOVoYDzIyMDgxMTEyMTEyOTI5WjB5
Expand Down Expand Up @@ -1331,16 +1331,16 @@ Register-ArgumentCompleter -CommandName 'Edit-SignedWDACConfig' -ParameterName '
# Q0FLRVgtQ0ECEx4AAAAEjzQsNDP/rxMAAAAAAAQwDQYJYIZIAWUDBAIBBQCggYQw
# GAYKKwYBBAGCNwIBDDEKMAigAoAAoQKAADAZBgkqhkiG9w0BCQMxDAYKKwYBBAGC
# NwIBBDAcBgorBgEEAYI3AgELMQ4wDAYKKwYBBAGCNwIBFTAvBgkqhkiG9w0BCQQx
# IgQg6MheobM/31OdWWlLMq7CJV0Sg/8VbKPHDBQzwoz0ugcwDQYJKoZIhvcNAQEB
# BQAEggIAZ7Y3DbYY9t8VZBmYi9zJp9m9DLj/AC94eN6Vys4E8eaeeGw0/ETAZYSd
# rGs4H9sT9iPOcFN23e9dMbTCnz4BtYPcuo7BzuDgYHmT0cUPUD+MEZ3i6z8BYvkD
# aPlBYau0NWSAOP63w5mTo7RIT+symqlTwgFNOfR2YXXYFtD6Cl2iDm1DJxJjv7sy
# c95y8T/TqU/gmCaZmfeIcxcSqqmbGZzCSEVApYnIVZx6eVel/HqE53NVC7DqiRbz
# inlS1+l8+9RW/Y9psZBl6uxraXfKwxYFU8iynvqYxwjYXoO8h/ILBajO6tOpseNQ
# xl3Vo/t8nET5lYxN8CQmpy+Q1VA1XdP1Xs2Lnq40qRdJkl+jke5HEHIkyRXj++/9
# qMZbx/OyRrctOtvqLTRSX2nlWCj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
32 changes: 16 additions & 16 deletions WDACConfig/WDACConfig Module Files/Core/Remove-WDACConfig.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ Function Remove-WDACConfig {

# Get SignToolPath from user parameter or user config file or auto-detect it
if ($SignToolPath) {
$SignToolPathFinal = Get-SignTool -SignToolExePathInput $SignToolPath
[System.IO.FileInfo]$SignToolPathFinal = Get-SignTool -SignToolExePathInput $SignToolPath
} # If it is null, then Get-SignTool will behave the same as if it was called without any arguments.
else {
$SignToolPathFinal = Get-SignTool -SignToolExePathInput (Get-CommonWDACConfig -SignToolPath)
[System.IO.FileInfo]$SignToolPathFinal = Get-SignTool -SignToolExePathInput (Get-CommonWDACConfig -SignToolPath)

}

Expand Down Expand Up @@ -417,8 +417,8 @@ Register-ArgumentCompleter -CommandName 'Remove-WDACConfig' -ParameterName 'Sign
# SIG # Begin signature block
# MIILkgYJKoZIhvcNAQcCoIILgzCCC38CAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCPivjcnTIswDET
# 9yT+dsdID/aGdG/HHl38DQgvmtez3KCCB9AwggfMMIIFtKADAgECAhMeAAAABI80
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAYBLhpiLXJCu/L
# ERhWcXmYGJ2SlgE+oaJ75J2VJu2bCqCCB9AwggfMMIIFtKADAgECAhMeAAAABI80
# LDQz/68TAAAAAAAEMA0GCSqGSIb3DQEBDQUAME8xEzARBgoJkiaJk/IsZAEZFgNj
# b20xIjAgBgoJkiaJk/IsZAEZFhJIT1RDQUtFWC1DQS1Eb21haW4xFDASBgNVBAMT
# C0hPVENBS0VYLUNBMCAXDTIzMTIyNzExMjkyOVoYDzIyMDgxMTEyMTEyOTI5WjB5
Expand Down Expand Up @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