aoandon 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION.semver +1 -1
- data/bin/aoandon +2 -29
- data/lib/aoandon.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 288e3328eee2b51da9106adecdfbefe4c78cd2ac
|
4
|
+
data.tar.gz: f9d68c2c82944649f86ede9b5fef55de75baf3b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 471ef73763dcd8466a693e7536947d17334bc819639eac5798488301968a4cb09cb29a302dc922e5bf9e76a15e3670d2e7c14ede50f735be66a001adc6bbea95
|
7
|
+
data.tar.gz: 103d18f77b3a06681ef8114ac18d48ac11bc1ede75c7aae6204858b56672e5100be54a5e797f154b0bb9306f85191d7229d981be2e2028c0786eb797c4a660b6
|
data/VERSION.semver
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
data/bin/aoandon
CHANGED
@@ -1,33 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require 'ipaddr'
|
4
|
-
require 'optparse'
|
5
|
-
require 'pcap'
|
6
|
-
require 'time'
|
7
|
-
require 'yaml'
|
8
3
|
require_relative '../lib/aoandon'
|
9
4
|
|
10
|
-
Aoandon::Nids.new
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
=begin
|
15
|
-
|
16
|
-
#!/usr/bin/env ruby
|
17
|
-
|
18
|
-
require 'h'
|
19
|
-
|
20
|
-
h = H::Generator.new
|
21
|
-
|
22
|
-
result = if ARGV.first
|
23
|
-
if ARGV[1]
|
24
|
-
h.input ARGV[0].to_s, ARGV[1].to_i
|
25
|
-
else
|
26
|
-
h.input ARGV[0].to_s
|
27
|
-
end
|
28
|
-
else
|
29
|
-
h.prompt
|
30
|
-
end
|
31
|
-
|
32
|
-
puts result
|
33
|
-
=end
|
5
|
+
ao = Aoandon::Nids.new
|
6
|
+
ao.run
|
data/lib/aoandon.rb
CHANGED