From b280d84955a7f570efe400fd3e57aa91085e78a7 Mon Sep 17 00:00:00 2001 From: Ken Johnson Date: Thu, 23 May 2013 16:57:18 -0400 Subject: [PATCH] refactored injection --- .../injection/_injection_first.html.erb | 69 +++++++++++++++++ app/views/tutorials/injection.html.erb | 74 +------------------ 2 files changed, 72 insertions(+), 71 deletions(-) create mode 100644 app/views/layouts/tutorial/injection/_injection_first.html.erb diff --git a/app/views/layouts/tutorial/injection/_injection_first.html.erb b/app/views/layouts/tutorial/injection/_injection_first.html.erb new file mode 100644 index 0000000..759afdc --- /dev/null +++ b/app/views/layouts/tutorial/injection/_injection_first.html.erb @@ -0,0 +1,69 @@ +
+
+
+ A1 - SQL Injection +
+
+
+
+
+ +
+
+

+ Injection flaws, such as SQL, OS, and LDAP injection, occur when untrusted data is sent to an interpreter as part of a command or query. The attacker’s hostile data can trick the interpreter into executing unintended commands or accessing unauthorized data. +

+
+
+
+
+ +
+
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor +
+
+
+
+ +
+
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor +
+
+
+
+ +
+
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor +
+
+
+
+
+
\ No newline at end of file diff --git a/app/views/tutorials/injection.html.erb b/app/views/tutorials/injection.html.erb index 2b72588..e5789ae 100644 --- a/app/views/tutorials/injection.html.erb +++ b/app/views/tutorials/injection.html.erb @@ -1,77 +1,9 @@
-
-
-
-
- A1 - SQL Injection -
-
-
-
-
- -
-
-

- Injection flaws, such as SQL, OS, and LDAP injection, occur when untrusted data is sent to an interpreter as part of a command or query. The attacker’s hostile data can trick the interpreter into executing unintended commands or accessing unauthorized data. -

-
-
-
-
- -
-
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor -
-
-
-
- -
-
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor -
-
-
-
- -
-
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor -
-
-
-
-
-
-
+
+ <%= render :partial => "layouts/tutorial/injection/injection_first"%> +