Permalink
Browse files

Fixed an example.

  • Loading branch information...
1 parent cc05d26 commit d92a0fe354e2b7a9093e5bdc1d5259d285dc1dd7 @postmodern postmodern committed Jan 22, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -48,11 +48,11 @@ Injecting a `1=1` test into a Integer comparison:
sqli = Ronin::SQL::Injection.new
sqli.or { 1 == 1 }
puts sqli
- # 1' OR '1'='1
+ # 1 OR 1=1
Injecting a `1=1` test into a String comparison:
- sqli = Ronin::SQL::Injection.new(:escape => :string)
+ sqli = Ronin::SQL::Injection.new(escape: :string)
sqli.or { string(1) == string(1) }
puts sqli
# 1' OR '1'='1

0 comments on commit d92a0fe

Please sign in to comment.