File tree 8 files changed +102
-0
lines changed
8 files changed +102
-0
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in smb2.gemspec
4
+ gemspec
Original file line number Diff line number Diff line change
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
+
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
1
+ require "bundler/gem_tasks"
2
+
Original file line number Diff line number Diff line change
1
+ module Smb2
2
+ autoload :VERSION , "smb2/version"
3
+
4
+ end
Original file line number Diff line number Diff line change
1
+ module Smb2
2
+ VERSION = "0.0.1"
3
+ end
Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments