Compare commits

..

No commits in common. "3.9.0.787" and "v1.6" have entirely different histories.

7 changed files with 28 additions and 32 deletions

View File

@ -3,12 +3,12 @@ name: Bug Report
about: Create a bug report to help us improve the Safe Exam Browser Patch about: Create a bug report to help us improve the Safe Exam Browser Patch
title: '' title: ''
labels: bug labels: bug
assignees: theitaliandeveloper assignees: usefulstuffs
--- ---
> [!IMPORTANT] > [!IMPORTANT]
> - Please _always_ consult the FAQs before creating an issue: https://git.vichingo455.freeddns.org/school-cheating/SEBPatch/wiki/FAQs. > - Please _always_ consult the FAQs before creating an issue: https://github.com/school-cheating/SEBPatch/wiki/FAQs.
> - Please _always_ attach the log file(s) of the affected session(s)! They can be found under `%LocalAppData%\SafeExamBrowser\Logs`. > - Please _always_ attach the log file(s) of the affected session(s)! They can be found under `%LocalAppData%\SafeExamBrowser\Logs`.
> - Please follow this issue template. Saves me some work while reading all issues. > - Please follow this issue template. Saves me some work while reading all issues.

View File

@ -1,11 +1,11 @@
blank_issues_enabled: false blank_issues_enabled: false
contact_links: contact_links:
- name: FAQs - name: FAQs
url: https://git.vichingo455.freeddns.org/school-cheating/SEBPatch/wiki/FAQs url: https://github.com/school-cheating/SEBPatch/wiki/FAQs
about: Before opening an issue, check out the FAQs. Any issue corresponding to the FAQs will be ignored and closed. about: Before opening an issue, check out the FAQs. Any issue corresponding to the FAQs will be ignored and closed.
- name: Questions - name: Questions
url: https://github.com/theitaliandeveloper/SEBPatch/discussions/categories/q-a url: https://github.com/school-cheating/SEBPatch/discussions/categories/q-a
about: Ask questions here about the Safe Exam Browser Patch about: Ask questions here about the Safe Exam Browser Patch
- name: Feature Requests - name: Feature Requests
url: https://github.com/theitaliandeveloper/SEBPatch/discussions/categories/ideas url: https://github.com/school-cheating/SEBPatch/discussions/categories/ideas
about: Propose a feature or a change for the Safe Exam Browser Patch. about: Propose a feature or a change for the Safe Exam Browser Patch.

View File

@ -3,8 +3,8 @@ A patch to bypass Safe Exam Browser restrictions.
- Currently supported SEB version: 3.9.0.787 - Currently supported SEB version: 3.9.0.787
## Downloading and installing ## [HOW TO INSTALL](https://git.vichingo455.freeddns.org/school-cheating/SEBPatch/wiki)
You can get the latest executable from [releases](https://git.vichingo455.freeddns.org/school-cheating/SEBPatch/releases/latest). If you need help about the installation, check the [wiki](https://git.vichingo455.freeddns.org/school-cheating/SEBPatch/wiki). I put this bigger so you actually read it and stop asking how to install the patch.
## Mirrors ## Mirrors
In case you can't download from the latest release, here is a list of mirrors (will be updated eventually): In case you can't download from the latest release, here is a list of mirrors (will be updated eventually):

View File

@ -42,9 +42,9 @@
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Font = new System.Drawing.Font("Segoe UI", 10.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(180, 9); this.label1.Location = new System.Drawing.Point(149, 5);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(212, 23); this.label1.Size = new System.Drawing.Size(259, 30);
this.label1.TabIndex = 0; this.label1.TabIndex = 0;
this.label1.Text = "Safe Exam Browser Patch"; this.label1.Text = "Safe Exam Browser Patch";
this.label1.Click += new System.EventHandler(this.label1_Click); this.label1.Click += new System.EventHandler(this.label1_Click);
@ -79,9 +79,9 @@
this.checkBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) this.checkBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.checkBox1.AutoSize = true; this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(12, 276); this.checkBox1.Location = new System.Drawing.Point(12, 274);
this.checkBox1.Name = "checkBox1"; this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(71, 21); this.checkBox1.Size = new System.Drawing.Size(86, 25);
this.checkBox1.TabIndex = 3; this.checkBox1.TabIndex = 3;
this.checkBox1.Text = "Backup"; this.checkBox1.Text = "Backup";
this.checkBox1.UseVisualStyleBackColor = true; this.checkBox1.UseVisualStyleBackColor = true;
@ -93,16 +93,16 @@
this.checkBox2.AutoSize = true; this.checkBox2.AutoSize = true;
this.checkBox2.Checked = true; this.checkBox2.Checked = true;
this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox2.Location = new System.Drawing.Point(127, 276); this.checkBox2.Location = new System.Drawing.Point(128, 274);
this.checkBox2.Name = "checkBox2"; this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(125, 21); this.checkBox2.Size = new System.Drawing.Size(151, 25);
this.checkBox2.TabIndex = 4; this.checkBox2.TabIndex = 4;
this.checkBox2.Text = "Install Certificate"; this.checkBox2.Text = "Install Certificate";
this.checkBox2.UseVisualStyleBackColor = true; this.checkBox2.UseVisualStyleBackColor = true;
// //
// Form1 // Form1
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(571, 330); this.ClientSize = new System.Drawing.Size(571, 330);
this.Controls.Add(this.checkBox2); this.Controls.Add(this.checkBox2);

View File

@ -58,7 +58,7 @@
this.label1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(215, 9); this.label1.Location = new System.Drawing.Point(215, 9);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(273, 23); this.label1.Size = new System.Drawing.Size(324, 28);
this.label1.TabIndex = 0; this.label1.TabIndex = 0;
this.label1.Text = "Safe Exam Browser Offline Patch"; this.label1.Text = "Safe Exam Browser Offline Patch";
this.label1.Click += new System.EventHandler(this.label1_Click); this.label1.Click += new System.EventHandler(this.label1_Click);
@ -90,7 +90,7 @@
this.label2.AutoSize = true; this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(6, 47); this.label2.Location = new System.Drawing.Point(6, 47);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(134, 19); this.label2.Size = new System.Drawing.Size(149, 21);
this.label2.TabIndex = 1; this.label2.TabIndex = 1;
this.label2.Text = "Installation to patch:"; this.label2.Text = "Installation to patch:";
// //
@ -100,7 +100,7 @@
this.partitionComboBox.FormattingEnabled = true; this.partitionComboBox.FormattingEnabled = true;
this.partitionComboBox.Location = new System.Drawing.Point(178, 44); this.partitionComboBox.Location = new System.Drawing.Point(178, 44);
this.partitionComboBox.Name = "partitionComboBox"; this.partitionComboBox.Name = "partitionComboBox";
this.partitionComboBox.Size = new System.Drawing.Size(381, 25); this.partitionComboBox.Size = new System.Drawing.Size(381, 29);
this.partitionComboBox.TabIndex = 0; this.partitionComboBox.TabIndex = 0;
// //
// groupBox2 // groupBox2
@ -127,7 +127,7 @@
this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox2.Location = new System.Drawing.Point(26, 111); this.checkBox2.Location = new System.Drawing.Point(26, 111);
this.checkBox2.Name = "checkBox2"; this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(410, 23); this.checkBox2.Size = new System.Drawing.Size(467, 25);
this.checkBox2.TabIndex = 6; this.checkBox2.TabIndex = 6;
this.checkBox2.Text = "Install custom certificate on the offline system (recommended)"; this.checkBox2.Text = "Install custom certificate on the offline system (recommended)";
this.checkBox2.UseVisualStyleBackColor = true; this.checkBox2.UseVisualStyleBackColor = true;
@ -135,9 +135,9 @@
// checkBox1 // checkBox1
// //
this.checkBox1.AutoSize = true; this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(26, 82); this.checkBox1.Location = new System.Drawing.Point(25, 80);
this.checkBox1.Name = "checkBox1"; this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(75, 23); this.checkBox1.Size = new System.Drawing.Size(86, 25);
this.checkBox1.TabIndex = 5; this.checkBox1.TabIndex = 5;
this.checkBox1.Text = "Backup"; this.checkBox1.Text = "Backup";
this.checkBox1.UseVisualStyleBackColor = true; this.checkBox1.UseVisualStyleBackColor = true;
@ -147,7 +147,7 @@
this.x86.AutoSize = true; this.x86.AutoSize = true;
this.x86.Location = new System.Drawing.Point(607, 50); this.x86.Location = new System.Drawing.Point(607, 50);
this.x86.Name = "x86"; this.x86.Name = "x86";
this.x86.Size = new System.Drawing.Size(52, 23); this.x86.Size = new System.Drawing.Size(60, 25);
this.x86.TabIndex = 4; this.x86.TabIndex = 4;
this.x86.Text = "x86"; this.x86.Text = "x86";
this.x86.UseVisualStyleBackColor = true; this.x86.UseVisualStyleBackColor = true;
@ -157,7 +157,7 @@
this.x64.AutoSize = true; this.x64.AutoSize = true;
this.x64.Location = new System.Drawing.Point(520, 50); this.x64.Location = new System.Drawing.Point(520, 50);
this.x64.Name = "x64"; this.x64.Name = "x64";
this.x64.Size = new System.Drawing.Size(52, 23); this.x64.Size = new System.Drawing.Size(60, 25);
this.x64.TabIndex = 3; this.x64.TabIndex = 3;
this.x64.Text = "x64"; this.x64.Text = "x64";
this.x64.UseVisualStyleBackColor = true; this.x64.UseVisualStyleBackColor = true;
@ -168,7 +168,7 @@
this.autodetect.Checked = true; this.autodetect.Checked = true;
this.autodetect.Location = new System.Drawing.Point(260, 50); this.autodetect.Location = new System.Drawing.Point(260, 50);
this.autodetect.Name = "autodetect"; this.autodetect.Name = "autodetect";
this.autodetect.Size = new System.Drawing.Size(206, 23); this.autodetect.Size = new System.Drawing.Size(233, 25);
this.autodetect.TabIndex = 2; this.autodetect.TabIndex = 2;
this.autodetect.TabStop = true; this.autodetect.TabStop = true;
this.autodetect.Text = "Auto-Detect (recommended)"; this.autodetect.Text = "Auto-Detect (recommended)";
@ -179,7 +179,7 @@
this.selectedinstallation.AutoSize = true; this.selectedinstallation.AutoSize = true;
this.selectedinstallation.Location = new System.Drawing.Point(21, 25); this.selectedinstallation.Location = new System.Drawing.Point(21, 25);
this.selectedinstallation.Name = "selectedinstallation"; this.selectedinstallation.Name = "selectedinstallation";
this.selectedinstallation.Size = new System.Drawing.Size(168, 19); this.selectedinstallation.Size = new System.Drawing.Size(190, 21);
this.selectedinstallation.TabIndex = 1; this.selectedinstallation.TabIndex = 1;
this.selectedinstallation.Text = "Selected Installation: none"; this.selectedinstallation.Text = "Selected Installation: none";
// //
@ -188,7 +188,7 @@
this.label3.AutoSize = true; this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(21, 50); this.label3.Location = new System.Drawing.Point(21, 50);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(204, 19); this.label3.Size = new System.Drawing.Size(233, 21);
this.label3.TabIndex = 0; this.label3.TabIndex = 0;
this.label3.Text = "Safe Exam Browser Architecture:"; this.label3.Text = "Safe Exam Browser Architecture:";
// //
@ -225,7 +225,7 @@
// //
// OfflinePatcher // OfflinePatcher
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 21F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(742, 691); this.ClientSize = new System.Drawing.Size(742, 691);
this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox3);

View File

@ -87,10 +87,6 @@ namespace patch_seb
{ {
AddLog($"[WARNING] Partition {drive.Name} contains unsupported Safe Exam Browser version, not adding to the list."); AddLog($"[WARNING] Partition {drive.Name} contains unsupported Safe Exam Browser version, not adding to the list.");
} }
else if (drive.Name + @"Windows" == Environment.GetFolderPath(Environment.SpecialFolder.Windows) || drive.Name + @"windows" == Environment.GetFolderPath(Environment.SpecialFolder.Windows))
{
AddLog($"[WARNING] Partition {drive.Name} is an online image, not adding to the list.");
}
else if (SEBVersion.ProductVersion == Variables.SupportedSEB || SEBDLLVersion.ProductVersion == "1.0.0.0") // Somehow the patched version string differs from the official version string. else if (SEBVersion.ProductVersion == Variables.SupportedSEB || SEBDLLVersion.ProductVersion == "1.0.0.0") // Somehow the patched version string differs from the official version string.
{ {
AddLog($"[WARNING] Partition {drive.Name} contains an already patched Safe Exam Browser, adding to the list anyway."); AddLog($"[WARNING] Partition {drive.Name} contains an already patched Safe Exam Browser, adding to the list anyway.");

View File

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Numero di build // Numero di build
// Revisione // Revisione
// //
[assembly: AssemblyVersion("1.6.0.1")] [assembly: AssemblyVersion("1.6.0.0")]
[assembly: AssemblyFileVersion("1.6.0.1")] [assembly: AssemblyFileVersion("1.6.0.0")]