Skip to content

Commit

Permalink
its official. I just moved try ruby into a rails app. I will have it …
Browse files Browse the repository at this point in the history
…rails 3 ready right after I do the console thing. I am not sure why this build is more secure, but for some reason it solved this bug. I will look into why later.
  • Loading branch information
Sophrinix committed Jul 10, 2010
1 parent ec91419 commit b7f37c3
Showing 1 changed file with 206 additions and 0 deletions.
206 changes: 206 additions & 0 deletions tryruby/log/development.log
Original file line number Diff line number Diff line change
Expand Up @@ -4102,3 +4102,209 @@ Completed in 244ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=begin%3B%
Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:07:11) [GET]
Parameters: {"cmd"=>"begin; q = ->{`echo hi`}.(); rescue Exception =>e; p e; end;p q"}
Completed in 6ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=begin%3B%20q%20%3D%20-%3E%7B%60echo%20hi%60%7D.%28%29%3B%20rescue%20Exception%20%3D%3Ee%3B%20p%20e%3B%20end%3Bp%20q]


Processing TryrubyController#index (for 127.0.0.1 at 2010-07-09 22:12:09) [GET]
Rendering template within layouts/tryruby
Rendering tryruby/index
Completed in 46ms (View: 45 | 200 OK [http://localhost/]


Processing TutorialsController#intro (for 127.0.0.1 at 2010-07-09 22:12:10) [GET]
Rendering tutorials/intro
Completed in 24ms (View: 22 | 200 OK [http://localhost/tutorials/intro]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:12:16) [GET]
Parameters: {"cmd"=>"!INIT!IRB!"}
Completed in 2ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=%21INIT%21IRB%21]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:12:16) [GET]
Parameters: {"cmd"=>"2 + 6"}
Completed in 34ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=2%20%2B%206]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:12:20) [GET]
Parameters: {"cmd"=>"4 * 10"}
Completed in 6ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=4%20*%2010]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:12:26) [GET]
Parameters: {"cmd"=>"\"jimmy\""}
Completed in 4611ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=%22jimmy%22]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:12:35) [GET]
Parameters: {"cmd"=>"\"jimmy\".reverse"}
Completed in 25ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=%22jimmy%22.reverse]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:12:40) [GET]
Parameters: {"cmd"=>"\"jimmy\".length"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=%22jimmy%22.length]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:12:55) [GET]
Parameters: {"cmd"=>"\"jimmy\" * 5"}
Completed in 6ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=%22jimmy%22%20*%205]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:13:00) [GET]
Parameters: {"cmd"=>"40.reverse"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=40.reverse]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:13:04) [GET]
Parameters: {"cmd"=>"40.to_s.reverse"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=40.to_s.reverse]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:13:08) [GET]
Parameters: {"cmd"=>"[]"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=%5B%5D]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:13:12) [GET]
Parameters: {"cmd"=>"[12,34,56]"}
Completed in 16ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=%5B12%2C34%2C56%5D]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:13:15) [GET]
Parameters: {"cmd"=>"[12,34,56].max"}
Completed in 6ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=%5B12%2C34%2C56%5D.max]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:13:21) [GET]
Parameters: {"cmd"=>"ticket =[12,34,45]"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=ticket%20%3D%5B12%2C34%2C45%5D]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:13:24) [GET]
Parameters: {"cmd"=>"ticket"}
Completed in 44ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=ticket]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:13:28) [GET]
Parameters: {"cmd"=>"ticket.sort!"}
Completed in 6ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=ticket.sort%21]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:13:28) [GET]
Parameters: {"cmd"=>"poem = \"My toast has flown from my hand\\nAnd my toast has gone to the\nmoon.\\nBut when I saw it on television,\\nPlanting our flag on Halley's\ncomet,\\nMore still did I want to eat it.\\n\""}
Completed in 6ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=poem%20%3D%20%22My%20toast%20has%20flown%20from%20my%20hand%5CnAnd%20my%20toast%20has%20gone%20to%20the%0Amoon.%5CnBut%20when%20I%20saw%20it%20on%20television%2C%5CnPlanting%20our%20flag%20on%20Halley%27s%0Acomet%2C%5CnMore%20still%20did%20I%20want%20to%20eat%20it.%5Cn%22]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:13:34) [GET]
Parameters: {"cmd"=>"print poem"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=print%20poem]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:13:47) [GET]
Parameters: {"cmd"=>"poem['toast'] = 'honeydew'"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=poem%5B%27toast%27%5D%20%3D%20%27honeydew%27]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:13:50) [GET]
Parameters: {"cmd"=>"print poem"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=print%20poem]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:14:00) [GET]
Parameters: {"cmd"=>"print poem"}
Completed in 13ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=print%20poem]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:14:09) [GET]
Parameters: {"cmd"=>"poem.reverse"}
Completed in 49ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=poem.reverse]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:14:16) [GET]
Parameters: {"cmd"=>"poem.reverse.linex.to_a.reverse"}
Completed in 6ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=poem.reverse.linex.to_a.reverse]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:14:21) [GET]
Parameters: {"cmd"=>"poem.reverse.lines.to_a.reverse"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=poem.reverse.lines.to_a.reverse]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:14:28) [GET]
Parameters: {"cmd"=>"poem.lines.to_a.reverse"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=poem.lines.to_a.reverse]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:14:34) [GET]
Parameters: {"cmd"=>"poem.lines.to_a.reverse.join"}
Completed in 6ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=poem.lines.to_a.reverse.join]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:14:41) [GET]
Parameters: {"cmd"=>"print poem.lines.to_a.reverse.join"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=print%20poem.lines.to_a.reverse.join]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:14:47) [GET]
Parameters: {"cmd"=>"books ={}"}
Completed in 16ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=books%20%3D%7B%7D]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:15:04) [GET]
Parameters: {"cmd"=>"Dir.entries"}
Completed in 6ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=Dir.entries]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:15:14) [GET]
Parameters: {"cmd"=>"Dir.entries \"/\""}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=Dir.entries%20%22/%22]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:15:55) [GET]
Parameters: {"cmd"=>"begin; q = ->{`echo`}.(); recue Exception => e; p e; end;p q"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=begin%3B%20q%20%3D%20-%3E%7B%60echo%60%7D.%28%29%3B%20recue%20Exception%20%3D%3E%20e%3B%20p%20e%3B%20end%3Bp%20q]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:15:58) [GET]
Parameters: {"cmd"=>"begin; q = ->{`echo`}.(); recue Exception => e; p e; end;p q"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=begin%3B%20q%20%3D%20-%3E%7B%60echo%60%7D.%28%29%3B%20recue%20Exception%20%3D%3E%20e%3B%20p%20e%3B%20end%3Bp%20q]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:16:01) [GET]
Parameters: {"cmd"=>"begin; q = ->{`echo`}.(); recue Exception => e; p e; end;p q"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=begin%3B%20q%20%3D%20-%3E%7B%60echo%60%7D.%28%29%3B%20recue%20Exception%20%3D%3E%20e%3B%20p%20e%3B%20end%3Bp%20q]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:16:21) [GET]
Parameters: {"cmd"=>"begin; q = ->{`$SAFE=1`}.(); recue Exception => e; p e; end;p q"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=begin%3B%20q%20%3D%20-%3E%7B%60%24SAFE%3D1%60%7D.%28%29%3B%20recue%20Exception%20%3D%3E%20e%3B%20p%20e%3B%20end%3Bp%20q]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:16:32) [GET]
Parameters: {"cmd"=>"exit"}
Completed in 158ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=exit]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:16:35) [GET]
Parameters: {"cmd"=>"exit"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=exit]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:16:37) [GET]
Parameters: {"cmd"=>"exit"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=exit]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:16:46) [GET]
Parameters: {"cmd"=>"system(\"ls\")"}
Completed in 5ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=system%28%22ls%22%29]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:16:49) [GET]
Parameters: {"cmd"=>"end"}
Completed in 3ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=end]


Processing TryrubyController#run (for 127.0.0.1 at 2010-07-09 22:16:50) [GET]
Parameters: {"cmd"=>"end"}
Completed in 3ms (View: 1 | 200 OK [http://localhost/tryruby/run?cmd=end]

0 comments on commit b7f37c3

Please sign in to comment.