pcap2json 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pcap2json/version.rb +1 -1
- metadata +4 -11
- data/.gitignore +0 -9
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -6
- data/Gemfile.lock +0 -51
- data/LICENSE.txt +0 -21
- data/README.md +0 -31
- data/Rakefile +0 -2
- data/pcap2json.gemspec +0 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afda0711ec0bf0f80f6bcfab84d4a622ceb1292e8d8c53099996d0f16f8f61c1
|
4
|
+
data.tar.gz: 336d739ae446b8f29ed23d6bdcebc2ed3e695c43b2e811650005461eac302703
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00aa6e82357da49648d646888ecfd603a4473f24931398ddde6a19e0bead55a24fb571c84d9b7dee776b8fa42d0f95b93fb10f71456a8a315eb7a3557b2081dd
|
7
|
+
data.tar.gz: 9a2242301c38bfc31483d4c2bb91c0a4f4f1eed114309dc1aaadd8e3bcf1f1892cfb856a13d799944909562160ebc5e9d8ad1ab165821360213d7cf266c80a35
|
data/lib/pcap2json/version.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pcap2json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kent 'picat' Gruber
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2019-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
@@ -97,22 +97,15 @@ dependencies:
|
|
97
97
|
description:
|
98
98
|
email:
|
99
99
|
- kgruber1@emich.edu
|
100
|
-
executables:
|
100
|
+
executables:
|
101
|
+
- pcap2json
|
101
102
|
extensions: []
|
102
103
|
extra_rdoc_files: []
|
103
104
|
files:
|
104
|
-
- ".gitignore"
|
105
|
-
- CODE_OF_CONDUCT.md
|
106
|
-
- Gemfile
|
107
|
-
- Gemfile.lock
|
108
|
-
- LICENSE.txt
|
109
|
-
- README.md
|
110
|
-
- Rakefile
|
111
105
|
- bin/pcap2json
|
112
106
|
- lib/pcap2json.rb
|
113
107
|
- lib/pcap2json/packetgen_extensions.rb
|
114
108
|
- lib/pcap2json/version.rb
|
115
|
-
- pcap2json.gemspec
|
116
109
|
homepage: https://github.com/picatz/pcap2json
|
117
110
|
licenses:
|
118
111
|
- MIT
|
data/.gitignore
DELETED
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
2
|
-
|
3
|
-
## Our Pledge
|
4
|
-
|
5
|
-
In the interest of fostering an open and welcoming environment, we as
|
6
|
-
contributors and maintainers pledge to making participation in our project and
|
7
|
-
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
-
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
-
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
-
orientation.
|
11
|
-
|
12
|
-
## Our Standards
|
13
|
-
|
14
|
-
Examples of behavior that contributes to creating a positive environment
|
15
|
-
include:
|
16
|
-
|
17
|
-
* Using welcoming and inclusive language
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
19
|
-
* Gracefully accepting constructive criticism
|
20
|
-
* Focusing on what is best for the community
|
21
|
-
* Showing empathy towards other community members
|
22
|
-
|
23
|
-
Examples of unacceptable behavior by participants include:
|
24
|
-
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
-
advances
|
27
|
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
-
* Public or private harassment
|
29
|
-
* Publishing others' private information, such as a physical or electronic
|
30
|
-
address, without explicit permission
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
-
professional setting
|
33
|
-
|
34
|
-
## Our Responsibilities
|
35
|
-
|
36
|
-
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
-
behavior and are expected to take appropriate and fair corrective action in
|
38
|
-
response to any instances of unacceptable behavior.
|
39
|
-
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
-
threatening, offensive, or harmful.
|
45
|
-
|
46
|
-
## Scope
|
47
|
-
|
48
|
-
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
-
when an individual is representing the project or its community. Examples of
|
50
|
-
representing a project or community include using an official project e-mail
|
51
|
-
address, posting via an official social media account, or acting as an appointed
|
52
|
-
representative at an online or offline event. Representation of a project may be
|
53
|
-
further defined and clarified by project maintainers.
|
54
|
-
|
55
|
-
## Enforcement
|
56
|
-
|
57
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at kgruber1@emich.edu. All
|
59
|
-
complaints will be reviewed and investigated and will result in a response that
|
60
|
-
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
-
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
-
Further details of specific enforcement policies may be posted separately.
|
63
|
-
|
64
|
-
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
-
faith may face temporary or permanent repercussions as determined by other
|
66
|
-
members of the project's leadership.
|
67
|
-
|
68
|
-
## Attribution
|
69
|
-
|
70
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
-
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
-
|
73
|
-
[homepage]: http://contributor-covenant.org
|
74
|
-
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
pcap2json (0.1.0)
|
5
|
-
oj (~> 3.7.11)
|
6
|
-
packetgen (~> 3.1.2)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
coderay (1.1.2)
|
12
|
-
diff-lcs (1.3)
|
13
|
-
interfacez (1.0.3)
|
14
|
-
method_source (0.9.2)
|
15
|
-
oj (3.7.11)
|
16
|
-
packetgen (3.1.2)
|
17
|
-
interfacez (~> 1.0)
|
18
|
-
pcaprub (~> 0.12.4)
|
19
|
-
rasn1 (~> 0.5, >= 0.6.6)
|
20
|
-
pcaprub (0.12.4)
|
21
|
-
pry (0.12.2)
|
22
|
-
coderay (~> 1.1.0)
|
23
|
-
method_source (~> 0.9.0)
|
24
|
-
rake (10.5.0)
|
25
|
-
rasn1 (0.6.8)
|
26
|
-
rspec (3.8.0)
|
27
|
-
rspec-core (~> 3.8.0)
|
28
|
-
rspec-expectations (~> 3.8.0)
|
29
|
-
rspec-mocks (~> 3.8.0)
|
30
|
-
rspec-core (3.8.0)
|
31
|
-
rspec-support (~> 3.8.0)
|
32
|
-
rspec-expectations (3.8.2)
|
33
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
34
|
-
rspec-support (~> 3.8.0)
|
35
|
-
rspec-mocks (3.8.0)
|
36
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
37
|
-
rspec-support (~> 3.8.0)
|
38
|
-
rspec-support (3.8.0)
|
39
|
-
|
40
|
-
PLATFORMS
|
41
|
-
ruby
|
42
|
-
|
43
|
-
DEPENDENCIES
|
44
|
-
bundler (~> 1.17)
|
45
|
-
pcap2json!
|
46
|
-
pry (~> 0.12.2)
|
47
|
-
rake (~> 10.0)
|
48
|
-
rspec (~> 3.8.0)
|
49
|
-
|
50
|
-
BUNDLED WITH
|
51
|
-
1.17.2
|
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2019 Kent 'picat' Gruber
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
data/README.md
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
# pcap2json
|
2
|
-
|
3
|
-
Command-linee application to convert packets into json.
|
4
|
-
|
5
|
-
## Installation
|
6
|
-
|
7
|
-
```console
|
8
|
-
$ gem install pcap2json
|
9
|
-
```
|
10
|
-
|
11
|
-
## Usage
|
12
|
-
|
13
|
-
```console
|
14
|
-
$ pcap2json file test.pcapng
|
15
|
-
```
|
16
|
-
|
17
|
-
```console
|
18
|
-
$ pcap2json interface eth0
|
19
|
-
```
|
20
|
-
|
21
|
-
## Contributing
|
22
|
-
|
23
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/picatx/pcap2json. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
24
|
-
|
25
|
-
## License
|
26
|
-
|
27
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
28
|
-
|
29
|
-
## Code of Conduct
|
30
|
-
|
31
|
-
Everyone interacting in the Pcap2json project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/picatz/pcap2json/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
DELETED
data/pcap2json.gemspec
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
|
2
|
-
lib = File.expand_path("../lib", __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require "pcap2json/version"
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "pcap2json"
|
8
|
-
spec.version = Pcap2JSON::VERSION
|
9
|
-
spec.authors = ["Kent 'picat' Gruber"]
|
10
|
-
spec.email = ["kgruber1@emich.edu"]
|
11
|
-
|
12
|
-
spec.summary = %q{Convert packets to json from a file or a live network interface.}
|
13
|
-
#spec.description = %q{TODO: Write a longer description or delete this line.}
|
14
|
-
spec.homepage = "https://github.com/picatz/pcap2json"
|
15
|
-
spec.license = "MIT"
|
16
|
-
|
17
|
-
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
18
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
|
-
end
|
20
|
-
spec.bindir = "exe"
|
21
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
|
-
spec.require_paths = ["lib"]
|
23
|
-
|
24
|
-
spec.add_dependency "packetgen", "~> 3.1.2"
|
25
|
-
spec.add_dependency "oj", "~> 3.7.11"
|
26
|
-
|
27
|
-
spec.add_development_dependency "bundler", "~> 1.17"
|
28
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
29
|
-
spec.add_development_dependency "rspec", "~> 3.8.0"
|
30
|
-
spec.add_development_dependency "pry", "~> 0.12.2"
|
31
|
-
end
|