NCRYPT_USE_PER_BOOT_KEY_FLAG
will be erased after reboot, even persisted with name.NCRYPT_USE_PER_BOOT_KEY_FLAG
will not take effect, if same named key was already created withNCRYPT_REQUIRE_VBS_FLAG
only.- Same, if a key was created with
NCRYPT_USE_PER_BOOT_KEY_FLAG
and was created again withNCRYPT_OVERWRITE_KEY_FLAG
withoutNCRYPT_USE_PER_BOOT_KEY_FLAG
, this flag will not be overwritten, and the key will keep being erased across boots.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <winsock2.h> | |
#include <windows.h> | |
#include <ws2tcpip.h> | |
#include <afunix.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <MSWSock.h> | |
#include <string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"crypto/ecdsa" | |
"crypto/elliptic" | |
"crypto/rand" | |
"crypto/subtle" | |
"crypto/x509" | |
"log" | |
"math/big" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP --> | |
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Empty --> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<!-- You can also require other files to run in this process --> | |
<script> |
OlderNewer