Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| eaa78d1583 | |||
| c6b0deb359 |
@@ -12,6 +12,9 @@ You can get the latest executable from [releases](https://git.vichingo455.freedd
|
||||
In case you can't download from the latest release, here is a list of mirrors (will be updated eventually):
|
||||
* [Vichingo455's Software Repository](https://software-repository-website.vercel.app/Random%20Files/Projects/SEBPatch/)
|
||||
|
||||
## Reporting an issue
|
||||
The issues reporting has been moved from GitHub to [Bugzilla](https://bugs.vichingo455.freeddns.org/describecomponents.cgi?product=Safe%20Exam%20Browser%20Patch). Click [here](https://bugs.vichingo455.freeddns.org/describecomponents.cgi?product=Safe%20Exam%20Browser%20Patch) to go to Bugzilla.
|
||||
|
||||
## Credits
|
||||
This project uses the same license as Safe Exam Browser, so it's completely legal.
|
||||
However, it should be used with caution. I don't recommend cheating in exams as it could lead to educational consequences.
|
||||
|
||||
@@ -99,9 +99,16 @@ namespace SafeExamBrowser.Configuration.Integrity
|
||||
browserExamKey = default;
|
||||
|
||||
try
|
||||
{
|
||||
if (File.Exists(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + @"\Vichingo455\SEBPatch\bek.txt"))
|
||||
{
|
||||
browserExamKey = File.ReadAllText(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + @"\Vichingo455\SEBPatch\bek.txt");
|
||||
}
|
||||
else
|
||||
{
|
||||
browserExamKey = CalculateBrowserExamKey(configurationKey, salt);
|
||||
}
|
||||
}
|
||||
catch (DllNotFoundException)
|
||||
{
|
||||
logger.Warn("Integrity module is not available!");
|
||||
@@ -122,7 +129,8 @@ namespace SafeExamBrowser.Configuration.Integrity
|
||||
|
||||
try
|
||||
{
|
||||
isValid = VerifyCodeSignature();
|
||||
//isValid = VerifyCodeSignature();
|
||||
isValid = true;
|
||||
success = true;
|
||||
}
|
||||
catch (DllNotFoundException)
|
||||
@@ -145,7 +153,8 @@ namespace SafeExamBrowser.Configuration.Integrity
|
||||
|
||||
if (TryReadSessionCache(out var sessions))
|
||||
{
|
||||
isValid = sessions.All(s => s.configurationKey != configurationKey && s.startUrl != startUrl);
|
||||
//isValid = sessions.All(s => s.configurationKey != configurationKey && s.startUrl != startUrl);
|
||||
isValid = true;
|
||||
success = true;
|
||||
logger.Debug($"Successfully verified session integrity, session is {(isValid ? "valid." : "compromised!")}");
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ namespace SafeExamBrowser.Monitoring.Display
|
||||
else
|
||||
{
|
||||
result.IsAllowed = settings.IgnoreError;
|
||||
logger.Warn($"Failed to validate display configuration, {(result.IsAllowed ? "ignoring error" : "active configuration is not allowed")}.");
|
||||
//logger.Warn($"Failed to validate display configuration, {(result.IsAllowed ? "ignoring error" : "active configuration is not allowed")}.");
|
||||
}
|
||||
|
||||
return result;
|
||||
@@ -199,7 +199,7 @@ namespace SafeExamBrowser.Monitoring.Display
|
||||
catch (Exception e)
|
||||
{
|
||||
success = false;
|
||||
logger.Error("Failed to query displays!", e);
|
||||
//logger.Error("Failed to query displays!", e);
|
||||
}
|
||||
|
||||
foreach (var display in displays)
|
||||
|
||||
@@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
||||
// Numero di build
|
||||
// Revisione
|
||||
//
|
||||
[assembly: AssemblyVersion("1.7.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.0.0")]
|
||||
[assembly: AssemblyVersion("1.8.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.8.0.0")]
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user