ruby-nmap 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/{History.txt → History.rdoc} +5 -0
- data/Manifest.txt +2 -2
- data/{README.txt → README.rdoc} +5 -2
- data/Rakefile +5 -1
- data/lib/nmap/version.rb +1 -1
- data/tasks/yard.rb +2 -7
- data.tar.gz.sig +0 -0
- metadata +8 -10
- metadata.gz.sig +0 -0
data/Manifest.txt
CHANGED
data/{README.txt → README.rdoc}
RENAMED
@@ -1,5 +1,6 @@
|
|
1
1
|
= ruby-nmap
|
2
2
|
|
3
|
+
* http://ruby-nmap.rubyforge.org/
|
3
4
|
* http://github.com/sophsec/ruby-nmap
|
4
5
|
* http://github.com/sophsec/ruby-nmap/issues
|
5
6
|
* Postmodern (postmodern.mod3 at gmail.com)
|
@@ -20,6 +21,8 @@ A Ruby interface to Nmap, the exploration tool and security / port scanner.
|
|
20
21
|
require 'nmap/program'
|
21
22
|
|
22
23
|
Nmap::Program.scan do |nmap|
|
24
|
+
nmap.sudo = true
|
25
|
+
|
23
26
|
nmap.syn_scan = true
|
24
27
|
nmap.service_scan = true
|
25
28
|
nmap.os_fingerprint = true
|
@@ -48,7 +51,7 @@ A Ruby interface to Nmap, the exploration tool and security / port scanner.
|
|
48
51
|
|
49
52
|
* {nmap}[http://www.insecure.org/]
|
50
53
|
* {nokogiri}[http://nokogiri.rubyforge.org/] >= 1.4.0
|
51
|
-
* {rprogram}[http://rprogram.rubyforge.org/] >= 0.1.
|
54
|
+
* {rprogram}[http://rprogram.rubyforge.org/] >= 0.1.8
|
52
55
|
|
53
56
|
== INSTALL:
|
54
57
|
|
@@ -58,7 +61,7 @@ A Ruby interface to Nmap, the exploration tool and security / port scanner.
|
|
58
61
|
|
59
62
|
The MIT License
|
60
63
|
|
61
|
-
Copyright (c) 2009 Hal Brodigan
|
64
|
+
Copyright (c) 2009-2010 Hal Brodigan
|
62
65
|
|
63
66
|
Permission is hereby granted, free of charge, to any person obtaining
|
64
67
|
a copy of this software and associated documentation files (the
|
data/Rakefile
CHANGED
@@ -7,10 +7,14 @@ require './tasks/yard.rb'
|
|
7
7
|
|
8
8
|
Hoe.spec 'ruby-nmap' do
|
9
9
|
self.developer('Postmodern', 'postmodern.mod3@gmail.com')
|
10
|
+
|
11
|
+
self.readme_file = 'README.rdoc'
|
12
|
+
self.history_file = 'History.rdoc'
|
10
13
|
self.remote_rdoc_dir = '/'
|
14
|
+
|
11
15
|
self.extra_deps = [
|
12
16
|
['nokogiri', '>=1.4.0'],
|
13
|
-
['rprogram', '>=0.1.
|
17
|
+
['rprogram', '>=0.1.8']
|
14
18
|
]
|
15
19
|
|
16
20
|
self.extra_dev_deps = [
|
data/lib/nmap/version.rb
CHANGED
data/tasks/yard.rb
CHANGED
@@ -1,18 +1,13 @@
|
|
1
|
-
lib_dir = File.expand_path(File.join(File.dirname(__FILE__),'..','lib'))
|
2
|
-
unless $LOAD_PATH.include?(lib_dir)
|
3
|
-
$LOAD_PATH.unshift(lib_dir)
|
4
|
-
end
|
5
|
-
|
6
1
|
require 'yard'
|
7
2
|
|
8
3
|
YARD::Rake::YardocTask.new do |t|
|
9
4
|
t.files = ['lib/**/*.rb']
|
10
5
|
t.options = [
|
11
6
|
'--protected',
|
12
|
-
'--files', 'History.
|
7
|
+
'--files', 'History.rdoc',
|
13
8
|
'--title', 'ruby-nmap',
|
14
9
|
'--quiet'
|
15
10
|
]
|
16
11
|
end
|
17
12
|
|
18
|
-
task :docs => :
|
13
|
+
task :docs => :yard
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-nmap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Postmodern
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
pDj+ws7QjtH/Qcrr1l9jfN0ehDs=
|
31
31
|
-----END CERTIFICATE-----
|
32
32
|
|
33
|
-
date:
|
33
|
+
date: 2010-01-02 00:00:00 -08:00
|
34
34
|
default_executable:
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
@@ -51,7 +51,7 @@ dependencies:
|
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.1.
|
54
|
+
version: 0.1.8
|
55
55
|
version:
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rspec
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
requirements:
|
82
82
|
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
|
-
version: 2.
|
84
|
+
version: 2.4.0
|
85
85
|
version:
|
86
86
|
description: A Ruby interface to Nmap, the exploration tool and security / port scanner.
|
87
87
|
email:
|
@@ -91,13 +91,11 @@ executables: []
|
|
91
91
|
extensions: []
|
92
92
|
|
93
93
|
extra_rdoc_files:
|
94
|
-
- History.txt
|
95
94
|
- Manifest.txt
|
96
|
-
- README.txt
|
97
95
|
files:
|
98
|
-
- History.
|
96
|
+
- History.rdoc
|
99
97
|
- Manifest.txt
|
100
|
-
- README.
|
98
|
+
- README.rdoc
|
101
99
|
- Rakefile
|
102
100
|
- lib/nmap.rb
|
103
101
|
- lib/nmap/task.rb
|
@@ -123,13 +121,13 @@ files:
|
|
123
121
|
- spec/xml_spec.rb
|
124
122
|
- spec/nmap_spec.rb
|
125
123
|
has_rdoc: yard
|
126
|
-
homepage: http://
|
124
|
+
homepage: http://ruby-nmap.rubyforge.org/
|
127
125
|
licenses: []
|
128
126
|
|
129
127
|
post_install_message:
|
130
128
|
rdoc_options:
|
131
129
|
- --main
|
132
|
-
- README.
|
130
|
+
- README.rdoc
|
133
131
|
require_paths:
|
134
132
|
- lib
|
135
133
|
required_ruby_version: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|