Skip to content

Commit 8be47c8

Browse files
committedDec 23, 2014
Initial commit
0 parents  commit 8be47c8

File tree

8 files changed

+102
-0
lines changed

8 files changed

+102
-0
lines changed
 

‎.gitignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/.bundle/
2+
/.yardoc
3+
/Gemfile.lock
4+
/_yardoc/
5+
/coverage/
6+
/doc/
7+
/pkg/
8+
/spec/reports/
9+
/tmp/
10+
*.bundle
11+
*.so
12+
*.o
13+
*.a
14+
mkmf.log

‎Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source 'https://rubygems.org'
2+
3+
# Specify your gem's dependencies in smb2.gemspec
4+
gemspec

‎LICENSE.txt

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Copyright 2014, Rapid7, Inc.
2+
3+
License: BSD-3-clause
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are met:
7+
8+
* Redistributions of source code must retain the above copyright notice,
9+
this list of conditions and the following disclaimer.
10+
11+
* Redistributions in binary form must reproduce the above copyright
12+
notice, this list of conditions and the following disclaimer in the
13+
documentation and/or other materials provided with the distribution.
14+
15+
* Neither the name of the copyright holder nor the names of its contributors
16+
may be used to endorse or promote products derived from this software
17+
without specific prior written permission.
18+

‎README.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Smb2
2+
3+
TODO: Write a gem description
4+
5+
## Installation
6+
7+
Add this line to your application's Gemfile:
8+
9+
```ruby
10+
gem 'smb2'
11+
```
12+
13+
And then execute:
14+
15+
$ bundle
16+
17+
Or install it yourself as:
18+
19+
$ gem install smb2
20+
21+
## Usage
22+
23+
TODO: Write usage instructions here
24+
25+
## Contributing
26+
27+
1. Fork it ( https://github.com/[my-github-username]/smb2/fork )
28+
2. Create your feature branch (`git checkout -b my-new-feature`)
29+
3. Commit your changes (`git commit -am 'Add some feature'`)
30+
4. Push to the branch (`git push origin my-new-feature`)
31+
5. Create a new Pull Request

‎Rakefile

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require "bundler/gem_tasks"
2+

‎lib/smb2.rb

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module Smb2
2+
autoload :VERSION, "smb2/version"
3+
4+
end

‎lib/smb2/version.rb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module Smb2
2+
VERSION = "0.0.1"
3+
end

‎smb2.gemspec

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# coding: utf-8
2+
lib = File.expand_path('../lib', __FILE__)
3+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4+
require 'smb2/version'
5+
6+
Gem::Specification.new do |spec|
7+
spec.name = "smb2"
8+
spec.version = Smb2::VERSION
9+
spec.authors = ["James Lee"]
10+
spec.email = ["egypt@metasploit.com"]
11+
spec.summary = %q{A message creator and parser for the SMB2 protocol}
12+
spec.description = %q{}
13+
spec.homepage = "http://www.metasploit.com"
14+
spec.license = "BSD-3-clause"
15+
16+
spec.files = `git ls-files -z`.split("\x0")
17+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19+
spec.require_paths = ["lib"]
20+
21+
spec.add_development_dependency "bundler", "~> 1.7"
22+
spec.add_development_dependency "rake", "~> 10.0"
23+
24+
spec.add_runtime_dependency "rubyntlm"
25+
26+
end

0 commit comments

Comments
 (0)
Please sign in to comment.