ronin-sql 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +11 -0
- data/Manifest.txt +2 -0
- data/README.txt +58 -41
- data/Rakefile +10 -2
- data/bin/ronin-sql +14 -0
- data/lib/ronin/code/sql/add_column_clause.rb +0 -2
- data/lib/ronin/code/sql/alter_table.rb +0 -2
- data/lib/ronin/code/sql/as.rb +0 -2
- data/lib/ronin/code/sql/asc.rb +0 -2
- data/lib/ronin/code/sql/between.rb +0 -2
- data/lib/ronin/code/sql/binary_expr.rb +0 -2
- data/lib/ronin/code/sql/clause.rb +0 -2
- data/lib/ronin/code/sql/common_dialect.rb +0 -2
- data/lib/ronin/code/sql/create.rb +0 -2
- data/lib/ronin/code/sql/create_index.rb +0 -2
- data/lib/ronin/code/sql/create_table.rb +0 -2
- data/lib/ronin/code/sql/create_view.rb +0 -2
- data/lib/ronin/code/sql/default_values_clause.rb +0 -2
- data/lib/ronin/code/sql/delete.rb +0 -2
- data/lib/ronin/code/sql/desc.rb +0 -2
- data/lib/ronin/code/sql/dialect.rb +0 -2
- data/lib/ronin/code/sql/drop.rb +0 -2
- data/lib/ronin/code/sql/drop_index.rb +0 -2
- data/lib/ronin/code/sql/drop_table.rb +0 -2
- data/lib/ronin/code/sql/drop_view.rb +0 -2
- data/lib/ronin/code/sql/emittable.rb +0 -2
- data/lib/ronin/code/sql/exceptions/unknown_clause.rb +0 -2
- data/lib/ronin/code/sql/exceptions/unknown_dialect.rb +0 -2
- data/lib/ronin/code/sql/exceptions/unknown_statement.rb +0 -2
- data/lib/ronin/code/sql/exceptions.rb +0 -2
- data/lib/ronin/code/sql/expr.rb +0 -2
- data/lib/ronin/code/sql/field.rb +0 -2
- data/lib/ronin/code/sql/fields_clause.rb +0 -2
- data/lib/ronin/code/sql/from_clause.rb +0 -2
- data/lib/ronin/code/sql/function.rb +0 -2
- data/lib/ronin/code/sql/group_by_clause.rb +0 -2
- data/lib/ronin/code/sql/having_clause.rb +0 -2
- data/lib/ronin/code/sql/in.rb +0 -2
- data/lib/ronin/code/sql/injected_statement.rb +0 -2
- data/lib/ronin/code/sql/injection.rb +0 -2
- data/lib/ronin/code/sql/insert.rb +0 -2
- data/lib/ronin/code/sql/intersect_clause.rb +0 -2
- data/lib/ronin/code/sql/join_clause.rb +0 -2
- data/lib/ronin/code/sql/like.rb +0 -2
- data/lib/ronin/code/sql/limit_clause.rb +0 -2
- data/lib/ronin/code/sql/modifier.rb +0 -2
- data/lib/ronin/code/sql/offset_clause.rb +0 -2
- data/lib/ronin/code/sql/on_clause.rb +0 -2
- data/lib/ronin/code/sql/order_by_clause.rb +0 -2
- data/lib/ronin/code/sql/program.rb +0 -2
- data/lib/ronin/code/sql/rename_to_clause.rb +0 -2
- data/lib/ronin/code/sql/replace.rb +0 -2
- data/lib/ronin/code/sql/select.rb +0 -2
- data/lib/ronin/code/sql/set_clause.rb +0 -2
- data/lib/ronin/code/sql/statement.rb +0 -2
- data/lib/ronin/code/sql/token.rb +0 -2
- data/lib/ronin/code/sql/unary_expr.rb +0 -2
- data/lib/ronin/code/sql/union_all_clause.rb +0 -2
- data/lib/ronin/code/sql/union_clause.rb +0 -2
- data/lib/ronin/code/sql/update.rb +0 -2
- data/lib/ronin/code/sql/values_clause.rb +0 -2
- data/lib/ronin/code/sql/where_clause.rb +0 -2
- data/lib/ronin/code/sql.rb +0 -2
- data/lib/ronin/formatting/extensions/sql/string.rb +0 -2
- data/lib/ronin/formatting/extensions/sql.rb +0 -2
- data/lib/ronin/formatting/sql.rb +0 -2
- data/lib/ronin/sql/error/error.rb +0 -2
- data/lib/ronin/sql/error/extensions/string.rb +0 -2
- data/lib/ronin/sql/error/extensions.rb +0 -2
- data/lib/ronin/sql/error/message.rb +0 -2
- data/lib/ronin/sql/error/pattern.rb +0 -2
- data/lib/ronin/sql/error/patterns.rb +0 -2
- data/lib/ronin/sql/error.rb +0 -2
- data/lib/ronin/sql/extensions/uri/http.rb +0 -2
- data/lib/ronin/sql/extensions/uri.rb +0 -2
- data/lib/ronin/sql/extensions.rb +0 -2
- data/lib/ronin/sql/injection.rb +0 -2
- data/lib/ronin/sql/version.rb +1 -3
- data/lib/ronin/sql.rb +0 -2
- data/spec/spec_helper.rb +1 -1
- data/tasks/spec.rb +1 -0
- data/tasks/yard.rb +13 -0
- data.tar.gz.sig +0 -0
- metadata +34 -12
- metadata.gz.sig +0 -0
data/History.txt
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
=== 0.2.4 / 2009-09-24
|
|
2
|
+
|
|
3
|
+
* Require ronin >= 0.3.0.
|
|
4
|
+
* Require ronin-web >= 0.2.0.
|
|
5
|
+
* Require rspec >= 1.1.12.
|
|
6
|
+
* Require yard >= 0.2.3.5.
|
|
7
|
+
* Updated the project summary and 3-point description for Ronin SQL.
|
|
8
|
+
* Moved to YARD based documentation.
|
|
9
|
+
* Fixed a formatting issue in the README.txt file, which was causing RDoc
|
|
10
|
+
to crash.
|
|
11
|
+
|
|
1
12
|
=== 0.2.3 / 2009-07-02
|
|
2
13
|
|
|
3
14
|
* Use Hoe >= 2.0.0.
|
data/Manifest.txt
CHANGED
|
@@ -3,6 +3,7 @@ COPYING.txt
|
|
|
3
3
|
Manifest.txt
|
|
4
4
|
README.txt
|
|
5
5
|
Rakefile
|
|
6
|
+
bin/ronin-sql
|
|
6
7
|
lib/ronin/code/sql.rb
|
|
7
8
|
lib/ronin/code/sql/exceptions.rb
|
|
8
9
|
lib/ronin/code/sql/exceptions/unknown_dialect.rb
|
|
@@ -80,6 +81,7 @@ lib/ronin/sql/injection.rb
|
|
|
80
81
|
lib/ronin/sql/version.rb
|
|
81
82
|
lib/ronin/sql.rb
|
|
82
83
|
tasks/spec.rb
|
|
84
|
+
tasks/yard.rb
|
|
83
85
|
spec/spec_helper.rb
|
|
84
86
|
spec/sql_spec.rb
|
|
85
87
|
spec/helpers/code.rb
|
data/README.txt
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
* http://ronin.rubyforge.org/sql/
|
|
4
4
|
* http://github.com/postmodern/ronin-sql
|
|
5
|
-
* irc.freenode.net
|
|
5
|
+
* irc.freenode.net #ronin
|
|
6
6
|
* Postmodern (postmodern.mod3 at gmail.com)
|
|
7
7
|
|
|
8
8
|
== DESCRIPTION:
|
|
@@ -10,32 +10,30 @@
|
|
|
10
10
|
Ronin SQL is a Ruby library for Ronin that provids support for SQL related
|
|
11
11
|
security tasks.
|
|
12
12
|
|
|
13
|
-
Ronin is a Ruby platform
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
Ronin is a Ruby platform for exploit development and security research.
|
|
14
|
+
Ronin allows for the rapid development and distribution of code, exploits
|
|
15
|
+
or payloads over many common Source-Code-Management (SCM) systems.
|
|
16
16
|
|
|
17
|
-
===
|
|
17
|
+
=== Ruby
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
commercial software.
|
|
19
|
+
Ronin's Ruby environment allows security researchers to leverage Ruby with
|
|
20
|
+
ease. The Ruby environment contains a multitude of convenience methods
|
|
21
|
+
for working with data in Ruby, a Ruby Object Database, a customized Ruby
|
|
22
|
+
Console and an extendable command-line interface.
|
|
24
23
|
|
|
25
|
-
===
|
|
24
|
+
=== Extend
|
|
26
25
|
|
|
27
|
-
Ronin
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
Ronin's more specialized features are provided by additional Ronin
|
|
27
|
+
libraries, which users can choose to install. These libraries can allow
|
|
28
|
+
one to write and run Exploits and Payloads, scan for PHP vulnerabilities,
|
|
29
|
+
perform Google Dorks or run 3rd party scanners.
|
|
30
30
|
|
|
31
|
-
===
|
|
31
|
+
=== Publish
|
|
32
32
|
|
|
33
|
-
Ronin
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
users to form their own communities, independent of the main developers
|
|
38
|
-
of Ronin.
|
|
33
|
+
Ronin allows users to publish and share code, exploits, payloads or other
|
|
34
|
+
data via Overlays. Overlays are directories of code and data that can be
|
|
35
|
+
hosted on any SVN, Hg, Git or Rsync server. Ronin makes it easy to create,
|
|
36
|
+
install or update Overlays.
|
|
39
37
|
|
|
40
38
|
== FEATURES:
|
|
41
39
|
|
|
@@ -43,35 +41,54 @@ of Ronin.
|
|
|
43
41
|
SQL injections.
|
|
44
42
|
* Provides tests for finding SQL injections.
|
|
45
43
|
|
|
46
|
-
==
|
|
44
|
+
== SYNOPSIS:
|
|
47
45
|
|
|
48
|
-
*
|
|
49
|
-
* {ronin-web}[http://ronin.rubyforge.org/web/] >= 0.1.0
|
|
46
|
+
* Start the Ronin Console with Ronin SQL preloaded:
|
|
50
47
|
|
|
51
|
-
|
|
48
|
+
$ ronin-sql
|
|
52
49
|
|
|
53
|
-
|
|
50
|
+
== EXAMPLES:
|
|
54
51
|
|
|
55
|
-
*
|
|
56
|
-
disabled.
|
|
52
|
+
* Generate valid SQL using the Ronin SQL DSL:
|
|
57
53
|
|
|
58
|
-
|
|
54
|
+
Code.sql {
|
|
55
|
+
select(:from => :users, :where => (name == 'bob'))
|
|
56
|
+
}.to_s
|
|
57
|
+
# => "SELECT * FROM users WHERE name = 'bob'"
|
|
58
|
+
|
|
59
|
+
* Generate valid SQL injections using the Ronin SQL injection DSL:
|
|
60
|
+
|
|
61
|
+
Code.sql_injection {
|
|
62
|
+
escape_string { has_table?(:users) }
|
|
63
|
+
}.to_s
|
|
64
|
+
# => "' AND (SELECT count(*) FROM users) = 1 --"
|
|
65
|
+
|
|
66
|
+
* Test a URL for SQL Injection (SQLi):
|
|
67
|
+
|
|
68
|
+
require 'ronin/sql'
|
|
59
69
|
|
|
60
|
-
|
|
70
|
+
url = URI('http://redteatrosalternativos.com/_05enlaces/links/phpHoo3.php?viewCat=1')
|
|
71
|
+
url.has_sqli?
|
|
72
|
+
# => true
|
|
61
73
|
|
|
62
|
-
|
|
63
|
-
select(:from => :users, :where => (name == 'bob'))
|
|
64
|
-
}
|
|
65
|
-
SELECT * FROM users WHERE name = 'bob'
|
|
66
|
-
=> nil
|
|
74
|
+
* Get the first viable SQLi vulnerability:
|
|
67
75
|
|
|
68
|
-
|
|
76
|
+
url.first_sqli
|
|
77
|
+
# => #<Ronin::SQL::Injection:0x67d6d38cba60 @http_method=:get, @url=#<URI::HTTP:0x67d6d8697190 URL:http://redteatrosalternativos.com/_05enlaces/links/phpHoo3.php?viewCat=1>, @params={:http_method=>:get}, @sql_options={:escape=>"1"}, @param="viewCat">
|
|
78
|
+
|
|
79
|
+
* Scan a URL for SQLi vulnerabilities:
|
|
80
|
+
|
|
81
|
+
url.sqli_scan
|
|
82
|
+
# => [#<Ronin::SQL::Injection:0x67d6d38792d8 @http_method=:get, @url=#<URI::HTTP:0x67d6d8697190 URL:http://redteatrosalternativos.com/_05enlaces/links/phpHoo3.php?viewCat=1>, @params={:http_method=>:get}, @sql_options={:escape=>"1"}, @param="viewCat">]
|
|
83
|
+
|
|
84
|
+
== REQUIREMENTS:
|
|
85
|
+
|
|
86
|
+
* {ronin}[http://ronin.rubyforge.org/] >= 0.3.0
|
|
87
|
+
* {ronin-web}[http://ronin.rubyforge.org/web/] >= 0.2.0
|
|
88
|
+
|
|
89
|
+
== INSTALL:
|
|
69
90
|
|
|
70
|
-
|
|
71
|
-
escape_string { has_table?(:users) }
|
|
72
|
-
}
|
|
73
|
-
' AND (SELECT count(*) FROM users) = 1 --
|
|
74
|
-
=> nil
|
|
91
|
+
$ sudo gem install ronin-sql
|
|
75
92
|
|
|
76
93
|
== LICENSE:
|
|
77
94
|
|
data/Rakefile
CHANGED
|
@@ -4,15 +4,23 @@ require 'rubygems'
|
|
|
4
4
|
require 'hoe'
|
|
5
5
|
require 'hoe/signing'
|
|
6
6
|
require './tasks/spec.rb'
|
|
7
|
+
require './tasks/yard.rb'
|
|
7
8
|
|
|
8
9
|
Hoe.spec('ronin-sql') do
|
|
9
10
|
self.rubyforge_name = 'ronin'
|
|
10
11
|
self.developer('Postmodern','postmodern.mod3@gmail.com')
|
|
11
12
|
self.remote_rdoc_dir = 'docs/ronin-sql'
|
|
12
13
|
self.extra_deps = [
|
|
13
|
-
['ronin', '>=0.
|
|
14
|
-
['ronin-web', '>=0.
|
|
14
|
+
['ronin', '>=0.3.0'],
|
|
15
|
+
['ronin-web', '>=0.2.0']
|
|
15
16
|
]
|
|
17
|
+
|
|
18
|
+
self.extra_dev_deps = [
|
|
19
|
+
['rspec', '>=1.2.8'],
|
|
20
|
+
['yard', '>=0.2.3.5']
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
self.spec_extras = {:has_rdoc => 'yard'}
|
|
16
24
|
end
|
|
17
25
|
|
|
18
26
|
# vim: syntax=Ruby
|
data/bin/ronin-sql
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require 'rubygems'
|
|
4
|
+
|
|
5
|
+
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
|
6
|
+
unless $LOAD_PATH.include?(lib_dir)
|
|
7
|
+
$LOAD_PATH << lib_dir
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
require 'ronin/ui/command_line/commands/console'
|
|
11
|
+
require 'ronin/ui/console'
|
|
12
|
+
|
|
13
|
+
Ronin::UI::Console.auto_load << 'ronin/sql'
|
|
14
|
+
Ronin::UI::CommandLine::Commands::Console.start
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/clause'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/statement'
|
data/lib/ronin/code/sql/as.rb
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/modifier'
|
data/lib/ronin/code/sql/asc.rb
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/modifier'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/expr'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/expr'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/emittable'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/dialect'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/statement'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/create'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/create'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/create'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/default_values_clause'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/statement'
|
data/lib/ronin/code/sql/desc.rb
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/modifier'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/exceptions/unknown_dialect'
|
data/lib/ronin/code/sql/drop.rb
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/statement'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/drop'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/drop'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/drop'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/emittable'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
module Ronin
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
module Ronin
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
module Ronin
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/exceptions/unknown_dialect'
|
data/lib/ronin/code/sql/expr.rb
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/emittable'
|
data/lib/ronin/code/sql/field.rb
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/expr'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/clause'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/clause'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/expr'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#
|
|
2
|
-
#--
|
|
3
2
|
# Ronin SQL - A Ronin library providing support for SQL related security
|
|
4
3
|
# tasks.
|
|
5
4
|
#
|
|
@@ -18,7 +17,6 @@
|
|
|
18
17
|
# You should have received a copy of the GNU General Public License
|
|
19
18
|
# along with this program; if not, write to the Free Software
|
|
20
19
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21
|
-
#++
|
|
22
20
|
#
|
|
23
21
|
|
|
24
22
|
require 'ronin/code/sql/clause'
|