Class: Ruckus::Mutator::SQLStrings

Inherits:
Modifier show all
Defined in:
lib/ruckus/mutator.rb

Overview

Things that will break SQL queries.

Constant Summary collapse

STRINGS =
[ "'sql0", "+sql1", "sql2;", "sql3 ;--", "(sql4)" ]

Instance Method Summary collapse

Methods inherited from Modifier

#<<, #go?, #initialize

Constructor Details

This class inherits a constructor from Ruckus::Mutator::Modifier

Instance Method Details

#modObject



207
208
209
# File 'lib/ruckus/mutator.rb', line 207

def mod
    x + STRINGS[@cur % STRINGS.size]
end