Clean up trailing and leading whitespace
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
class TutorialsController < ApplicationController
|
||||
|
||||
|
||||
skip_before_filter :has_info
|
||||
skip_before_filter :authenticated
|
||||
|
||||
|
||||
def index
|
||||
end
|
||||
|
||||
|
||||
def credentials
|
||||
render :partial => "layouts/tutorial/credentials/creds"
|
||||
end
|
||||
|
||||
|
||||
def show
|
||||
render "injection"
|
||||
end
|
||||
|
||||
|
||||
def injection
|
||||
end
|
||||
|
||||
|
||||
def xss
|
||||
@code = %{
|
||||
<li style="color: #FFFFFF">
|
||||
<!--
|
||||
<!--
|
||||
I'm going to use HTML safe because we had some weird stuff
|
||||
going on with funny chars and jquery, plus it says safe so I'm guessing
|
||||
nothing bad will happen
|
||||
@@ -29,13 +29,13 @@ class TutorialsController < ApplicationController
|
||||
</li>
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
def broken_auth
|
||||
end
|
||||
|
||||
|
||||
def insecure_dor
|
||||
end
|
||||
|
||||
|
||||
def csrf
|
||||
@meta_code_bad = %{<%#= csrf_meta_tags %> <!-- <~ What is this for? I hear it helps w/ JS and Sea-surfing.....whatevz -->}
|
||||
@meta_code_good = %{<%= csrf_meta_tags %> }
|
||||
@@ -55,10 +55,10 @@ class TutorialsController < ApplicationController
|
||||
\}
|
||||
\});
|
||||
\});
|
||||
|
||||
|
||||
\} }
|
||||
end
|
||||
|
||||
|
||||
def misconfig
|
||||
end
|
||||
|
||||
@@ -67,33 +67,33 @@ class TutorialsController < ApplicationController
|
||||
|
||||
def access_control
|
||||
end
|
||||
|
||||
|
||||
def crypto
|
||||
end
|
||||
|
||||
|
||||
def url_access
|
||||
end
|
||||
|
||||
|
||||
def ssl_tls
|
||||
end
|
||||
|
||||
|
||||
def redirects
|
||||
end
|
||||
|
||||
|
||||
def guard
|
||||
end
|
||||
|
||||
|
||||
def logic_flaws
|
||||
end
|
||||
|
||||
|
||||
def mass_assignment
|
||||
end
|
||||
|
||||
|
||||
def guantlt
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
||||
def metaprogramming
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user