├── .gitattributes
├── .gitignore
├── OSCP Practice Exam Generator.sln
├── OSCP Practice Exam Generator
├── App.config
├── Form1.Designer.cs
├── Form1.cs
├── Form1.resx
├── OSCP Practice Exam Generator.csproj
├── Program.cs
└── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
└── README.md
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Build results
17 | [Dd]ebug/
18 | [Dd]ebugPublic/
19 | [Rr]elease/
20 | [Rr]eleases/
21 | x64/
22 | x86/
23 | [Aa][Rr][Mm]/
24 | [Aa][Rr][Mm]64/
25 | bld/
26 | [Bb]in/
27 | [Oo]bj/
28 | [Ll]og/
29 |
30 | # Visual Studio 2015/2017 cache/options directory
31 | .vs/
32 | # Uncomment if you have tasks that create the project's static files in wwwroot
33 | #wwwroot/
34 |
35 | # Visual Studio 2017 auto generated files
36 | Generated\ Files/
37 |
38 | # MSTest test Results
39 | [Tt]est[Rr]esult*/
40 | [Bb]uild[Ll]og.*
41 |
42 | # NUNIT
43 | *.VisualState.xml
44 | TestResult.xml
45 |
46 | # Build Results of an ATL Project
47 | [Dd]ebugPS/
48 | [Rr]eleasePS/
49 | dlldata.c
50 |
51 | # Benchmark Results
52 | BenchmarkDotNet.Artifacts/
53 |
54 | # .NET Core
55 | project.lock.json
56 | project.fragment.lock.json
57 | artifacts/
58 |
59 | # StyleCop
60 | StyleCopReport.xml
61 |
62 | # Files built by Visual Studio
63 | *_i.c
64 | *_p.c
65 | *_h.h
66 | *.ilk
67 | *.meta
68 | *.obj
69 | *.iobj
70 | *.pch
71 | *.pdb
72 | *.ipdb
73 | *.pgc
74 | *.pgd
75 | *.rsp
76 | *.sbr
77 | *.tlb
78 | *.tli
79 | *.tlh
80 | *.tmp
81 | *.tmp_proj
82 | *_wpftmp.csproj
83 | *.log
84 | *.vspscc
85 | *.vssscc
86 | .builds
87 | *.pidb
88 | *.svclog
89 | *.scc
90 |
91 | # Chutzpah Test files
92 | _Chutzpah*
93 |
94 | # Visual C++ cache files
95 | ipch/
96 | *.aps
97 | *.ncb
98 | *.opendb
99 | *.opensdf
100 | *.sdf
101 | *.cachefile
102 | *.VC.db
103 | *.VC.VC.opendb
104 |
105 | # Visual Studio profiler
106 | *.psess
107 | *.vsp
108 | *.vspx
109 | *.sap
110 |
111 | # Visual Studio Trace Files
112 | *.e2e
113 |
114 | # TFS 2012 Local Workspace
115 | $tf/
116 |
117 | # Guidance Automation Toolkit
118 | *.gpState
119 |
120 | # ReSharper is a .NET coding add-in
121 | _ReSharper*/
122 | *.[Rr]e[Ss]harper
123 | *.DotSettings.user
124 |
125 | # JustCode is a .NET coding add-in
126 | .JustCode
127 |
128 | # TeamCity is a build add-in
129 | _TeamCity*
130 |
131 | # DotCover is a Code Coverage Tool
132 | *.dotCover
133 |
134 | # AxoCover is a Code Coverage Tool
135 | .axoCover/*
136 | !.axoCover/settings.json
137 |
138 | # Visual Studio code coverage results
139 | *.coverage
140 | *.coveragexml
141 |
142 | # NCrunch
143 | _NCrunch_*
144 | .*crunch*.local.xml
145 | nCrunchTemp_*
146 |
147 | # MightyMoose
148 | *.mm.*
149 | AutoTest.Net/
150 |
151 | # Web workbench (sass)
152 | .sass-cache/
153 |
154 | # Installshield output folder
155 | [Ee]xpress/
156 |
157 | # DocProject is a documentation generator add-in
158 | DocProject/buildhelp/
159 | DocProject/Help/*.HxT
160 | DocProject/Help/*.HxC
161 | DocProject/Help/*.hhc
162 | DocProject/Help/*.hhk
163 | DocProject/Help/*.hhp
164 | DocProject/Help/Html2
165 | DocProject/Help/html
166 |
167 | # Click-Once directory
168 | publish/
169 |
170 | # Publish Web Output
171 | *.[Pp]ublish.xml
172 | *.azurePubxml
173 | # Note: Comment the next line if you want to checkin your web deploy settings,
174 | # but database connection strings (with potential passwords) will be unencrypted
175 | *.pubxml
176 | *.publishproj
177 |
178 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
179 | # checkin your Azure Web App publish settings, but sensitive information contained
180 | # in these scripts will be unencrypted
181 | PublishScripts/
182 |
183 | # NuGet Packages
184 | *.nupkg
185 | # The packages folder can be ignored because of Package Restore
186 | **/[Pp]ackages/*
187 | # except build/, which is used as an MSBuild target.
188 | !**/[Pp]ackages/build/
189 | # Uncomment if necessary however generally it will be regenerated when needed
190 | #!**/[Pp]ackages/repositories.config
191 | # NuGet v3's project.json files produces more ignorable files
192 | *.nuget.props
193 | *.nuget.targets
194 |
195 | # Microsoft Azure Build Output
196 | csx/
197 | *.build.csdef
198 |
199 | # Microsoft Azure Emulator
200 | ecf/
201 | rcf/
202 |
203 | # Windows Store app package directories and files
204 | AppPackages/
205 | BundleArtifacts/
206 | Package.StoreAssociation.xml
207 | _pkginfo.txt
208 | *.appx
209 |
210 | # Visual Studio cache files
211 | # files ending in .cache can be ignored
212 | *.[Cc]ache
213 | # but keep track of directories ending in .cache
214 | !?*.[Cc]ache/
215 |
216 | # Others
217 | ClientBin/
218 | ~$*
219 | *~
220 | *.dbmdl
221 | *.dbproj.schemaview
222 | *.jfm
223 | *.pfx
224 | *.publishsettings
225 | orleans.codegen.cs
226 |
227 | # Including strong name files can present a security risk
228 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
229 | #*.snk
230 |
231 | # Since there are multiple workflows, uncomment next line to ignore bower_components
232 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
233 | #bower_components/
234 |
235 | # RIA/Silverlight projects
236 | Generated_Code/
237 |
238 | # Backup & report files from converting an old project file
239 | # to a newer Visual Studio version. Backup files are not needed,
240 | # because we have git ;-)
241 | _UpgradeReport_Files/
242 | Backup*/
243 | UpgradeLog*.XML
244 | UpgradeLog*.htm
245 | ServiceFabricBackup/
246 | *.rptproj.bak
247 |
248 | # SQL Server files
249 | *.mdf
250 | *.ldf
251 | *.ndf
252 |
253 | # Business Intelligence projects
254 | *.rdl.data
255 | *.bim.layout
256 | *.bim_*.settings
257 | *.rptproj.rsuser
258 | *- Backup*.rdl
259 |
260 | # Microsoft Fakes
261 | FakesAssemblies/
262 |
263 | # GhostDoc plugin setting file
264 | *.GhostDoc.xml
265 |
266 | # Node.js Tools for Visual Studio
267 | .ntvs_analysis.dat
268 | node_modules/
269 |
270 | # Visual Studio 6 build log
271 | *.plg
272 |
273 | # Visual Studio 6 workspace options file
274 | *.opt
275 |
276 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
277 | *.vbw
278 |
279 | # Visual Studio LightSwitch build output
280 | **/*.HTMLClient/GeneratedArtifacts
281 | **/*.DesktopClient/GeneratedArtifacts
282 | **/*.DesktopClient/ModelManifest.xml
283 | **/*.Server/GeneratedArtifacts
284 | **/*.Server/ModelManifest.xml
285 | _Pvt_Extensions
286 |
287 | # Paket dependency manager
288 | .paket/paket.exe
289 | paket-files/
290 |
291 | # FAKE - F# Make
292 | .fake/
293 |
294 | # JetBrains Rider
295 | .idea/
296 | *.sln.iml
297 |
298 | # CodeRush personal settings
299 | .cr/personal
300 |
301 | # Python Tools for Visual Studio (PTVS)
302 | __pycache__/
303 | *.pyc
304 |
305 | # Cake - Uncomment if you are using it
306 | # tools/**
307 | # !tools/packages.config
308 |
309 | # Tabs Studio
310 | *.tss
311 |
312 | # Telerik's JustMock configuration file
313 | *.jmconfig
314 |
315 | # BizTalk build output
316 | *.btp.cs
317 | *.btm.cs
318 | *.odx.cs
319 | *.xsd.cs
320 |
321 | # OpenCover UI analysis results
322 | OpenCover/
323 |
324 | # Azure Stream Analytics local run output
325 | ASALocalRun/
326 |
327 | # MSBuild Binary and Structured Log
328 | *.binlog
329 |
330 | # NVidia Nsight GPU debugger configuration file
331 | *.nvuser
332 |
333 | # MFractors (Xamarin productivity tool) working folder
334 | .mfractor/
335 |
336 | # Local History for Visual Studio
337 | .localhistory/
338 |
339 | # BeatPulse healthcheck temp database
340 | healthchecksdb
--------------------------------------------------------------------------------
/OSCP Practice Exam Generator.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30804.86
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OSCP Practice Exam Generator", "OSCP Practice Exam Generator\OSCP Practice Exam Generator.csproj", "{84B8842F-08FD-4B0D-A0DA-F119BA910E3A}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {84B8842F-08FD-4B0D-A0DA-F119BA910E3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {84B8842F-08FD-4B0D-A0DA-F119BA910E3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {84B8842F-08FD-4B0D-A0DA-F119BA910E3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {84B8842F-08FD-4B0D-A0DA-F119BA910E3A}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {CA0046BA-B04B-4C02-BC3D-92531ABF395C}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/OSCP Practice Exam Generator/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/OSCP Practice Exam Generator/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace OSCP_Practice_Exam_Generator
3 | {
4 | partial class form1
5 | {
6 | ///
7 | /// Required designer variable.
8 | ///
9 | private System.ComponentModel.IContainer components = null;
10 |
11 | ///
12 | /// Clean up any resources being used.
13 | ///
14 | /// true if managed resources should be disposed; otherwise, false.
15 | protected override void Dispose(bool disposing)
16 | {
17 | if (disposing && (components != null))
18 | {
19 | components.Dispose();
20 | }
21 | base.Dispose(disposing);
22 | }
23 |
24 | #region Windows Form Designer generated code
25 |
26 | ///
27 | /// Required method for Designer support - do not modify
28 | /// the contents of this method with the code editor.
29 | ///
30 | private void InitializeComponent()
31 | {
32 | this.components = new System.ComponentModel.Container();
33 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(form1));
34 | this.btnGenerate = new System.Windows.Forms.Button();
35 | this.rtbOut = new System.Windows.Forms.RichTextBox();
36 | this.cbVuln = new System.Windows.Forms.CheckBox();
37 | this.cbPG = new System.Windows.Forms.CheckBox();
38 | this.cbHTB = new System.Windows.Forms.CheckBox();
39 | this.cbHarder = new System.Windows.Forms.CheckBox();
40 | this.btnStart = new System.Windows.Forms.Button();
41 | this.btnStop = new System.Windows.Forms.Button();
42 | this.groupBox1 = new System.Windows.Forms.GroupBox();
43 | this.lblStopWatch = new System.Windows.Forms.Label();
44 | this.btnReset = new System.Windows.Forms.Button();
45 | this.lblTimer = new System.Windows.Forms.Timer(this.components);
46 | this.richTextBox1 = new System.Windows.Forms.RichTextBox();
47 | this.statusStrip1 = new System.Windows.Forms.StatusStrip();
48 | this.groupBox1.SuspendLayout();
49 | this.SuspendLayout();
50 | //
51 | // btnGenerate
52 | //
53 | this.btnGenerate.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
54 | this.btnGenerate.Location = new System.Drawing.Point(12, 258);
55 | this.btnGenerate.Name = "btnGenerate";
56 | this.btnGenerate.Size = new System.Drawing.Size(295, 39);
57 | this.btnGenerate.TabIndex = 0;
58 | this.btnGenerate.Text = "Create Practice Exam";
59 | this.btnGenerate.UseVisualStyleBackColor = true;
60 | this.btnGenerate.Click += new System.EventHandler(this.button1_Click);
61 | //
62 | // rtbOut
63 | //
64 | this.rtbOut.Location = new System.Drawing.Point(12, 39);
65 | this.rtbOut.Name = "rtbOut";
66 | this.rtbOut.Size = new System.Drawing.Size(295, 213);
67 | this.rtbOut.TabIndex = 1;
68 | this.rtbOut.Text = "";
69 | //
70 | // cbVuln
71 | //
72 | this.cbVuln.AutoSize = true;
73 | this.cbVuln.Location = new System.Drawing.Point(12, 16);
74 | this.cbVuln.Name = "cbVuln";
75 | this.cbVuln.Size = new System.Drawing.Size(67, 17);
76 | this.cbVuln.TabIndex = 2;
77 | this.cbVuln.Text = "VulnHub";
78 | this.cbVuln.UseVisualStyleBackColor = true;
79 | //
80 | // cbPG
81 | //
82 | this.cbPG.AutoSize = true;
83 | this.cbPG.Checked = true;
84 | this.cbPG.CheckState = System.Windows.Forms.CheckState.Checked;
85 | this.cbPG.Location = new System.Drawing.Point(85, 16);
86 | this.cbPG.Name = "cbPG";
87 | this.cbPG.Size = new System.Drawing.Size(105, 17);
88 | this.cbPG.TabIndex = 3;
89 | this.cbPG.Text = "Proving Grounds";
90 | this.cbPG.UseVisualStyleBackColor = true;
91 | //
92 | // cbHTB
93 | //
94 | this.cbHTB.AutoSize = true;
95 | this.cbHTB.Checked = true;
96 | this.cbHTB.CheckState = System.Windows.Forms.CheckState.Checked;
97 | this.cbHTB.Location = new System.Drawing.Point(196, 16);
98 | this.cbHTB.Name = "cbHTB";
99 | this.cbHTB.Size = new System.Drawing.Size(91, 17);
100 | this.cbHTB.TabIndex = 4;
101 | this.cbHTB.Text = "Hack the Box";
102 | this.cbHTB.UseVisualStyleBackColor = true;
103 | //
104 | // cbHarder
105 | //
106 | this.cbHarder.AutoSize = true;
107 | this.cbHarder.Location = new System.Drawing.Point(463, 12);
108 | this.cbHarder.Name = "cbHarder";
109 | this.cbHarder.Size = new System.Drawing.Size(131, 17);
110 | this.cbHarder.TabIndex = 5;
111 | this.cbHarder.Text = "Include harder boxes?";
112 | this.cbHarder.UseVisualStyleBackColor = true;
113 | //
114 | // btnStart
115 | //
116 | this.btnStart.Location = new System.Drawing.Point(17, 19);
117 | this.btnStart.Name = "btnStart";
118 | this.btnStart.Size = new System.Drawing.Size(75, 23);
119 | this.btnStart.TabIndex = 6;
120 | this.btnStart.Text = "Start";
121 | this.btnStart.UseVisualStyleBackColor = true;
122 | this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
123 | //
124 | // btnStop
125 | //
126 | this.btnStop.Location = new System.Drawing.Point(98, 19);
127 | this.btnStop.Name = "btnStop";
128 | this.btnStop.Size = new System.Drawing.Size(75, 23);
129 | this.btnStop.TabIndex = 7;
130 | this.btnStop.Text = "Stop";
131 | this.btnStop.UseVisualStyleBackColor = true;
132 | this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
133 | //
134 | // groupBox1
135 | //
136 | this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
137 | | System.Windows.Forms.AnchorStyles.Right)));
138 | this.groupBox1.Controls.Add(this.lblStopWatch);
139 | this.groupBox1.Controls.Add(this.btnReset);
140 | this.groupBox1.Controls.Add(this.btnStart);
141 | this.groupBox1.Controls.Add(this.btnStop);
142 | this.groupBox1.Location = new System.Drawing.Point(313, 39);
143 | this.groupBox1.Name = "groupBox1";
144 | this.groupBox1.Size = new System.Drawing.Size(293, 128);
145 | this.groupBox1.TabIndex = 8;
146 | this.groupBox1.TabStop = false;
147 | this.groupBox1.Text = "Timer";
148 | //
149 | // lblStopWatch
150 | //
151 | this.lblStopWatch.AutoSize = true;
152 | this.lblStopWatch.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
153 | this.lblStopWatch.Location = new System.Drawing.Point(93, 76);
154 | this.lblStopWatch.Name = "lblStopWatch";
155 | this.lblStopWatch.Size = new System.Drawing.Size(80, 24);
156 | this.lblStopWatch.TabIndex = 9;
157 | this.lblStopWatch.Text = "00:00:00";
158 | //
159 | // btnReset
160 | //
161 | this.btnReset.Location = new System.Drawing.Point(179, 19);
162 | this.btnReset.Name = "btnReset";
163 | this.btnReset.Size = new System.Drawing.Size(75, 23);
164 | this.btnReset.TabIndex = 8;
165 | this.btnReset.Text = "Reset";
166 | this.btnReset.UseVisualStyleBackColor = true;
167 | this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
168 | //
169 | // lblTimer
170 | //
171 | this.lblTimer.Enabled = true;
172 | this.lblTimer.Tick += new System.EventHandler(this.lblTimer_Tick);
173 | //
174 | // richTextBox1
175 | //
176 | this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
177 | | System.Windows.Forms.AnchorStyles.Left)
178 | | System.Windows.Forms.AnchorStyles.Right)));
179 | this.richTextBox1.Location = new System.Drawing.Point(313, 173);
180 | this.richTextBox1.Name = "richTextBox1";
181 | this.richTextBox1.ReadOnly = true;
182 | this.richTextBox1.Size = new System.Drawing.Size(292, 110);
183 | this.richTextBox1.TabIndex = 9;
184 | this.richTextBox1.Text = resources.GetString("richTextBox1.Text");
185 | //
186 | // statusStrip1
187 | //
188 | this.statusStrip1.Location = new System.Drawing.Point(0, 302);
189 | this.statusStrip1.Name = "statusStrip1";
190 | this.statusStrip1.Size = new System.Drawing.Size(618, 22);
191 | this.statusStrip1.TabIndex = 10;
192 | this.statusStrip1.Text = "statusStrip1";
193 | //
194 | // form1
195 | //
196 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
197 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
198 | this.ClientSize = new System.Drawing.Size(618, 324);
199 | this.Controls.Add(this.statusStrip1);
200 | this.Controls.Add(this.richTextBox1);
201 | this.Controls.Add(this.groupBox1);
202 | this.Controls.Add(this.cbHarder);
203 | this.Controls.Add(this.cbHTB);
204 | this.Controls.Add(this.cbPG);
205 | this.Controls.Add(this.cbVuln);
206 | this.Controls.Add(this.rtbOut);
207 | this.Controls.Add(this.btnGenerate);
208 | this.Name = "form1";
209 | this.Text = "Practice Exam Generator";
210 | this.Load += new System.EventHandler(this.form1_Load);
211 | this.groupBox1.ResumeLayout(false);
212 | this.groupBox1.PerformLayout();
213 | this.ResumeLayout(false);
214 | this.PerformLayout();
215 |
216 | }
217 |
218 | #endregion
219 |
220 | private System.Windows.Forms.Button btnGenerate;
221 | private System.Windows.Forms.RichTextBox rtbOut;
222 | private System.Windows.Forms.CheckBox cbVuln;
223 | private System.Windows.Forms.CheckBox cbPG;
224 | private System.Windows.Forms.CheckBox cbHTB;
225 | private System.Windows.Forms.CheckBox cbHarder;
226 | private System.Windows.Forms.Button btnStart;
227 | private System.Windows.Forms.Button btnStop;
228 | private System.Windows.Forms.GroupBox groupBox1;
229 | private System.Windows.Forms.Label lblStopWatch;
230 | private System.Windows.Forms.Button btnReset;
231 | private System.Windows.Forms.Timer lblTimer;
232 | private System.Windows.Forms.RichTextBox richTextBox1;
233 | private System.Windows.Forms.StatusStrip statusStrip1;
234 | }
235 | }
236 |
237 |
--------------------------------------------------------------------------------
/OSCP Practice Exam Generator/Form1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Timers;
4 | using System.Collections.Generic;
5 | using System.ComponentModel;
6 | using System.Data;
7 | using System.Drawing;
8 | using System.Linq;
9 | using System.Text;
10 | using System.Threading.Tasks;
11 | using System.Windows.Forms;
12 |
13 | namespace OSCP_Practice_Exam_Generator
14 | {
15 | public partial class form1 : Form
16 | {
17 | static Stopwatch sw = new Stopwatch();
18 | static System.Timers.Timer t = new System.Timers.Timer(1000);
19 |
20 | private void form1_Load(object sender, EventArgs e)
21 | {
22 |
23 | }
24 |
25 | private void lblTimer_Tick(object sender, EventArgs e)
26 | {
27 | updateTimer();
28 | }
29 |
30 | private void updateTimer()
31 | {
32 | TimeSpan ts = sw.Elapsed;
33 | int eHours = ts.Hours;
34 | int eMinutes = ts.Minutes;
35 | int eSeconds = ts.Seconds;
36 |
37 | string tstring = "";
38 |
39 | if (eHours < 10) { tstring = tstring + "0" + eHours + ":"; } else { tstring = tstring + eHours + ":"; }
40 | if (eMinutes < 10) { tstring = tstring + "0" + eMinutes + ":"; } else { tstring = tstring + eMinutes + ":"; }
41 | if (eSeconds < 10) { tstring = tstring + "0" + eSeconds; } else { tstring = tstring + eSeconds; }
42 |
43 |
44 |
45 | //lblStopWatch.Text = "Hello World";
46 | lblStopWatch.Text = tstring;
47 | }
48 |
49 | public form1()
50 | {
51 | InitializeComponent();
52 | }
53 |
54 | private void button1_Click(object sender, EventArgs e)
55 | {
56 |
57 | sw.Restart();
58 | sw.Start();
59 |
60 |
61 | rtbOut.Text = "";
62 | List winboxes = new List();
63 | List linboxes = new List();
64 |
65 | //Include machines which were deemed harder than OSCP
66 | if (cbHarder.Checked)
67 | {
68 | if (cbHTB.Checked)
69 | {
70 | winboxes.Add("Jeeves - HTB");
71 | winboxes.Add("Bart - HTB");
72 | winboxes.Add("Tally - HTB");
73 | winboxes.Add("Netmon - HTB");
74 | winboxes.Add("Sizzle - HTB");
75 | winboxes.Add("Sniper - HTB");
76 | winboxes.Add("Control - HTB");
77 | winboxes.Add("Nest - HTB");
78 | winboxes.Add("Sauna - HTB");
79 | winboxes.Add("Cascade - HTB");
80 | winboxes.Add("Querier - HTB");
81 | winboxes.Add("BlackField - HTB");
82 | winboxes.Add("APT - HTB");
83 | winboxes.Add("Atom - HTB");
84 |
85 | linboxes.Add("Kotarak - HTB");
86 | linboxes.Add("Falafel - HTB");
87 | linboxes.Add("Devops - HTB");
88 | linboxes.Add("Hawk - HTB");
89 | linboxes.Add("Lightweight - HTB");
90 | linboxes.Add("La Casa Del Papel - HTB");
91 | linboxes.Add("Jail - HTB");
92 | linboxes.Add("Safe - HTB");
93 | linboxes.Add("Bitlab - HTB");
94 | linboxes.Add("October - HTB");
95 | linboxes.Add("Mango - HTB");
96 | linboxes.Add("Book - HTB");
97 | linboxes.Add("Quick - HTB");
98 | }
99 |
100 | if (cbPG.Checked)
101 | {
102 | linboxes.Add("Bratarina - PG Practice");
103 | linboxes.Add("Clyde - PG Practice");
104 | linboxes.Add("Shifty - PG Practice");
105 | linboxes.Add("XposedAPI - PG Practice");
106 | linboxes.Add("Twiggy - PG Practice");
107 |
108 | winboxes.Add("Internal - PG Practice");
109 | winboxes.Add("Vector - PG Practice");
110 | winboxes.Add("HelpDesk - PG Practice");
111 | }
112 | }
113 |
114 | //Include PG Practice Machines
115 | if (cbPG.Checked)
116 | {
117 | winboxes.Add("Nickel - PG Practice");
118 | winboxes.Add("Slort - PG Practice");
119 | winboxes.Add("Authby - PG Practice");
120 | winboxes.Add("Jacko - PG Practice");
121 | winboxes.Add("Meathead - PG Practice");
122 | winboxes.Add("UT99 - PG Practice");
123 | winboxes.Add("MedJed - PG Practice");
124 | winboxes.Add("Algeron - PG Practice");
125 | winboxes.Add("BillyBoss - PG Practice");
126 | winboxes.Add("Kevin - PG Practice");
127 | winboxes.Add("Butch - PG Practice");
128 | winboxes.Add("Metallus - PG Practice");
129 |
130 | linboxes.Add("ClamAV - PG Practice");
131 | linboxes.Add("Wombo - PG Practice");
132 | linboxes.Add("Payday - PG Practice");
133 | linboxes.Add("Fail - PG Practice");
134 | linboxes.Add("Nibbles - PG Practice");
135 | linboxes.Add("Banzai - PG Practice");
136 | linboxes.Add("Hunit - PG Practice");
137 | linboxes.Add("Dibble - PG Practice");
138 | linboxes.Add("Zino - PG Practice");
139 | linboxes.Add("Hetemit - PG Practice");
140 | linboxes.Add("Peppo - PG Practice");
141 | linboxes.Add("Postfish - PG Practice");
142 | //linboxes.Add("Malbec - PG Practice"); Removed not simulating BOF
143 | linboxes.Add("Sybaris - PG Practice");
144 | }
145 |
146 | //Include Hack The Box machines
147 | if (cbHTB.Checked)
148 | {
149 | winboxes.Add("Legacy - HTB");
150 | winboxes.Add("Blue - HTB");
151 | winboxes.Add("Devel - HTB");
152 | winboxes.Add("Optimum - HTB");
153 | winboxes.Add("Bastard - HTB");
154 | winboxes.Add("Granny - HTB");
155 | winboxes.Add("Arctic - HTB");
156 | winboxes.Add("Grandpa - HTB");
157 | winboxes.Add("Silo - HTB");
158 | winboxes.Add("Bounty - HTB");
159 | winboxes.Add("Jerry - HTB");
160 | winboxes.Add("Conceal - HTB");
161 | winboxes.Add("Chatterbox - HTB");
162 | winboxes.Add("Forest - HTB");
163 | winboxes.Add("BankRobber - HTB");
164 | winboxes.Add("Secnotes - HTB");
165 | winboxes.Add("Bastion - HTB");
166 | winboxes.Add("Buff - HTB");
167 | winboxes.Add("Servmon - HTB");
168 | winboxes.Add("Active - HTB");
169 | winboxes.Add("Remote - HTB");
170 | winboxes.Add("Fuse - HTB");
171 | winboxes.Add("Omni - HTB");
172 | winboxes.Add("Worker - HTB");
173 |
174 | linboxes.Add("Lame - HTB");
175 | linboxes.Add("Brainfuck - HTB");
176 | linboxes.Add("Shocker - HTB");
177 | linboxes.Add("Bashed - HTB");
178 | linboxes.Add("Nibbles - HTB");
179 | linboxes.Add("Beep - HTB");
180 | linboxes.Add("Cronos - HTB");
181 | linboxes.Add("Nineveh - HTB");
182 | linboxes.Add("Sense - HTB");
183 | linboxes.Add("Solidstate - HTB");
184 | linboxes.Add("Node - HTB");
185 | linboxes.Add("Valentine - HTB");
186 | linboxes.Add("Poison - HTB");
187 | linboxes.Add("Sunday - HTB");
188 | linboxes.Add("Tartarsauce - HTB");
189 | linboxes.Add("Irked - HTB");
190 | linboxes.Add("Friendzone - HTB");
191 | linboxes.Add("Swagshop - HTB");
192 | linboxes.Add("Networked - HTB");
193 | linboxes.Add("Jarvis - HTB");
194 | linboxes.Add("Mirai - HTB");
195 | linboxes.Add("Popcorn - HTB");
196 | linboxes.Add("Haircut - HTB");
197 | linboxes.Add("Blocky - HTB");
198 | linboxes.Add("Frolic - HTB");
199 | linboxes.Add("Postman - HTB");
200 | linboxes.Add("Traverxec - HTB");
201 | linboxes.Add("OpenAdmin - HTB");
202 | linboxes.Add("Magic - HTB");
203 | linboxes.Add("Admirer - HTB");
204 | linboxes.Add("Blunder - HTB");
205 | linboxes.Add("Tabby - HTB");
206 | linboxes.Add("Doctor - HTB");
207 | linboxes.Add("SneakyMailer - HTB");
208 | linboxes.Add("Passage - HTB");
209 | linboxes.Add("Luanne - HTB");
210 | linboxes.Add("Time - HTB");
211 | linboxes.Add("Ready - HTB");
212 | linboxes.Add("Delivery - HTB");
213 | linboxes.Add("Ophiuchi - HTB");
214 | }
215 |
216 |
217 | if (cbVuln.Checked)
218 | {
219 | linboxes.Add("DC 9: https://www.vulnhub.com/entry/dc-9,412/");
220 | linboxes.Add("Digitalworld.local (Bravery): https://www.vulnhub.com/entry/digitalworldlocal-bravery,281/");
221 | linboxes.Add("Digitalworld.local (Development): https://www.vulnhub.com/entry/digitalworldlocal-development,280/");
222 | linboxes.Add("Digitalworld.local (Mercy v2): https://www.vulnhub.com/entry/digitalworldlocal-mercy-v2,263/");
223 | linboxes.Add("Digitalworld.local (JOY): https://www.vulnhub.com/entry/digitalworldlocal-joy,298/");
224 | linboxes.Add("Prime 1: https://www.vulnhub.com/entry/prime-1,358/");
225 | linboxes.Add("Symfonos 1: https://www.vulnhub.com/entry/symfonos-1,322/");
226 | linboxes.Add("Symfonos 2: https://www.vulnhub.com/entry/symfonos-2,331/");
227 | linboxes.Add("Symfonos 3: https://www.vulnhub.com/entry/symfonos-3,332/");
228 | linboxes.Add("Symfonos 4: https://www.vulnhub.com/entry/symfonos-4,347/");
229 | linboxes.Add("Symfonos 5.2: https://www.vulnhub.com/entry/symfonos-52,415/");
230 | linboxes.Add("Misdirection 1: https://www.vulnhub.com/entry/misdirection-1,371/");
231 | linboxes.Add("Sar 1: https://www.vulnhub.com/entry/sar-1,425/");
232 | linboxes.Add("Djinn 1: https://www.vulnhub.com/entry/djinn-1,397/");
233 | linboxes.Add("EVM 1: https://www.vulnhub.com/entry/evm-1,391/");
234 | linboxes.Add("DerpNStink 1: https://www.vulnhub.com/entry/derpnstink-1,221/");
235 | linboxes.Add("RickdiculouslyEasy 1: https://www.vulnhub.com/entry/rickdiculouslyeasy-1,207/");
236 | linboxes.Add("Tommy Boy 1: https://www.vulnhub.com/entry/tommy-boy-1,157/");
237 | linboxes.Add("Breach 1: https://www.vulnhub.com/entry/breach-1,152/");
238 | linboxes.Add("Breach 2.1: https://www.vulnhub.com/entry/breach-21,159/");
239 | linboxes.Add("Breach 3.0.1: https://www.vulnhub.com/entry/breach-301,177/");
240 | linboxes.Add("NullByte: https://www.vulnhub.com/entry/nullbyte-1,126/");
241 | linboxes.Add("Bob 1.0.1: https://www.vulnhub.com/entry/bob-101,226/");
242 | linboxes.Add("Toppo 1: https://www.vulnhub.com/entry/toppo-1,245/");
243 | linboxes.Add("W34kn3ss 1: https://www.vulnhub.com/entry/w34kn3ss-1,270/");
244 | linboxes.Add("GoldenEye 1: https://www.vulnhub.com/entry/goldeneye-1,240/");
245 | linboxes.Add("Infosec Prep OSCP Box: https://www.vulnhub.com/entry/infosec-prep-oscp,508/");
246 | linboxes.Add("LemonSqueezy: https://www.vulnhub.com/entry/lemonsqueezy-1,473/");
247 | linboxes.Add("Brainpan 1: https://www.vulnhub.com/entry/brainpan-1,51/");
248 | linboxes.Add("Pinkys Palace v1: https://www.vulnhub.com/entry/pinkys-palace-v1,225/");
249 | linboxes.Add("Lord of the root 1.0.1: https://www.vulnhub.com/entry/lord-of-the-root-101,129/");
250 | linboxes.Add("Tiki-1: https://www.vulnhub.com/entry/tiki-1,525/");
251 | linboxes.Add("Healthcare 1: https://www.vulnhub.com/entry/healthcare-1,522/");
252 | linboxes.Add("Photographer 1: https://www.vulnhub.com/entry/photographer-1,519/");
253 | linboxes.Add("Glasglow 1.1: https://www.vulnhub.com/entry/glasgow-smile-11,491/");
254 | linboxes.Add("DevGuru 1: https://www.vulnhub.com/entry/devguru-1,620/");
255 | linboxes.Add("Alpha 1: https://www.vulnhub.com/entry/alfa-1,655/");
256 | }
257 |
258 |
259 | Random r = new Random();
260 |
261 | rtbOut.AppendText("-- LINUX --\n");
262 | for (int i = 1; i <= 2; i++)
263 | {
264 | int id = r.Next(0, (linboxes.Count - 1));
265 | rtbOut.AppendText(linboxes[id] + "\n");
266 | linboxes.RemoveAt(id);
267 | }
268 |
269 | rtbOut.AppendText("\n\n");
270 | rtbOut.AppendText("-- WIN --\n");
271 |
272 | for (int i = 1; i <= 2; i++)
273 | {
274 | int id = r.Next(0, (winboxes.Count - 1));
275 | rtbOut.AppendText(winboxes[id] + "\n");
276 | winboxes.RemoveAt(id);
277 | }
278 |
279 |
280 | }
281 |
282 |
283 | private void btnStop_Click(object sender, EventArgs e)
284 | {
285 | sw.Stop();
286 | }
287 |
288 | private void btnReset_Click(object sender, EventArgs e)
289 | {
290 | sw.Restart();
291 | }
292 |
293 | private void btnStart_Click(object sender, EventArgs e)
294 | {
295 | sw.Start();
296 | }
297 |
298 |
299 | }
300 | }
301 |
--------------------------------------------------------------------------------
/OSCP Practice Exam Generator/Form1.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 | 17, 17
122 |
123 |
124 | Based on TJ Null's Curated list:
125 |
126 | https://docs.google.com/spreadsheets/d/1dwSMIAPIam0PuRBkCiDI88pU3yzrqqHkDtBngUHNCw8/edit#gid=1097814569
127 |
128 | Not simulating BOF. Do Tiberius's THM rooms for that.
129 | https://tryhackme.com/room/bufferoverflowprep
130 |
131 |
132 | 149, 17
133 |
134 |
--------------------------------------------------------------------------------
/OSCP Practice Exam Generator/OSCP Practice Exam Generator.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {84B8842F-08FD-4B0D-A0DA-F119BA910E3A}
8 | WinExe
9 | OSCP_Practice_Exam_Generator
10 | OSCP Practice Exam Generator
11 | v4.7.2
12 | 512
13 | true
14 | true
15 |
16 |
17 | AnyCPU
18 | true
19 | full
20 | false
21 | bin\Debug\
22 | DEBUG;TRACE
23 | prompt
24 | 4
25 |
26 |
27 | AnyCPU
28 | pdbonly
29 | true
30 | bin\Release\
31 | TRACE
32 | prompt
33 | 4
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 | Form
51 |
52 |
53 | Form1.cs
54 |
55 |
56 |
57 |
58 | Form1.cs
59 |
60 |
61 | ResXFileCodeGenerator
62 | Resources.Designer.cs
63 | Designer
64 |
65 |
66 | True
67 | Resources.resx
68 |
69 |
70 | SettingsSingleFileGenerator
71 | Settings.Designer.cs
72 |
73 |
74 | True
75 | Settings.settings
76 | True
77 |
78 |
79 |
80 |
81 |
82 |
83 |
--------------------------------------------------------------------------------
/OSCP Practice Exam Generator/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using System.Windows.Forms;
6 |
7 | namespace OSCP_Practice_Exam_Generator
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// The main entry point for the application.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new form1());
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/OSCP Practice Exam Generator/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("OSCP Practice Exam Generator")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("OSCP Practice Exam Generator")]
13 | [assembly: AssemblyCopyright("Copyright © 2021")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("84b8842f-08fd-4b0d-a0da-f119ba910e3a")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/OSCP Practice Exam Generator/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 |
12 | namespace OSCP_Practice_Exam_Generator.Properties
13 | {
14 | ///
15 | /// A strongly-typed resource class, for looking up localized strings, etc.
16 | ///
17 | // This class was auto-generated by the StronglyTypedResourceBuilder
18 | // class via a tool like ResGen or Visual Studio.
19 | // To add or remove a member, edit your .ResX file then rerun ResGen
20 | // with the /str option, or rebuild your VS project.
21 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
22 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
23 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
24 | internal class Resources
25 | {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources()
33 | {
34 | }
35 |
36 | ///
37 | /// Returns the cached ResourceManager instance used by this class.
38 | ///
39 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
40 | internal static global::System.Resources.ResourceManager ResourceManager
41 | {
42 | get
43 | {
44 | if ((resourceMan == null))
45 | {
46 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OSCP_Practice_Exam_Generator.Properties.Resources", typeof(Resources).Assembly);
47 | resourceMan = temp;
48 | }
49 | return resourceMan;
50 | }
51 | }
52 |
53 | ///
54 | /// Overrides the current thread's CurrentUICulture property for all
55 | /// resource lookups using this strongly typed resource class.
56 | ///
57 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
58 | internal static global::System.Globalization.CultureInfo Culture
59 | {
60 | get
61 | {
62 | return resourceCulture;
63 | }
64 | set
65 | {
66 | resourceCulture = value;
67 | }
68 | }
69 | }
70 | }
71 |
--------------------------------------------------------------------------------
/OSCP Practice Exam Generator/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 | text/microsoft-resx
107 |
108 |
109 | 2.0
110 |
111 |
112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
113 |
114 |
115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
--------------------------------------------------------------------------------
/OSCP Practice Exam Generator/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 |
12 | namespace OSCP_Practice_Exam_Generator.Properties
13 | {
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
17 | {
18 |
19 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
20 |
21 | public static Settings Default
22 | {
23 | get
24 | {
25 | return defaultInstance;
26 | }
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/OSCP Practice Exam Generator/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # OSCP-Practice-Exam-Generator
2 |
3 | Just a little app I wrote to streamline picking and practicing machines for the OSCP. Nothing fancy, nothing elegant. I don't program for a living, sorry.
4 |
5 | THIS DOES NOT GUARANTEE YOU WILL PASS THE OSCP!!!!
6 |
7 | Big thanks Thanks to TJ Null and his OSCP like list.
8 |
9 | It doesn't do points or anything. But if you can reliably knock out 4 machines in a decent time. You should be in a good spot.
10 |
11 | 
12 |
--------------------------------------------------------------------------------