Railsgoat can be used by either software developers or security professionals as a means of training themselves on Ruby on Rails security.
We describe software developers as "builders" and security professionals as "breakers".
Please choose the category that you fall under for more information.
-
+
-
@@ -50,5 +56,12 @@ function makeActive(){
$('li[id="tutorials_home"]').addClass('active');
};
+$('#breaker').click(function(event){
+ event.preventDefault();
+ $("#main").empty()
+ $("#info").empty()
+ $("#info").load(<%= sanitize breaker_tutorials_path.inspect %>)
+});
+
$(document).ready(makeActive);
\ No newline at end of file
diff --git a/config/routes.rb b/config/routes.rb
index 35ef733..05e5739 100755
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -66,6 +66,8 @@ Railsgoat::Application.routes.draw do
get "gauntlt"
get "logic_flaws"
get "metaprogramming"
+ get "breaker"
+ get "builder"
end
end