登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
Gitee AI
NEW
我知道了
查看详情
登录
注册
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
1
Star
0
Fork
0
voidzentao
/
smbj
代码
Issues
0
Pull Requests
0
Wiki
统计
流水线
服务
Gitee Pages
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
我知道了,不再自动展开
标签
标签名
描述
提交信息
操作
v0.10.0
adb73c8
2020-01-09 20:01
下载
v0.9.1
bf93aa8
2018-12-11 18:49
下载
v0.9.0
14c5073
2018-10-24 15:31
下载
v0.8.0
72e97f8
2018-07-24 17:32
下载
v0.7.0
ed244cf
2018-05-04 13:18
下载
v0.6.0
6e254fb
2018-01-23 18:28
下载
v0.5.1
67e5cc4
2017-11-09 16:45
下载
v0.5.0
Release of 0.5.0 - Revert "New release plugin" - Adds workaround for W10 1709 when missing ErrorData reserved byte (#227) - Using trie to store referral cache entries (#220) - Fixed unused code warnings - New release plugin - ReferralCache#lookup should find deepest match instead of exact match (#219) - Merge pull request #218 from pepijnve/referral_cache - ReferralCache fixes - Implement ReferralCache#lookup - Correctly set interlink flag in single storage server response case - Correct ReferralCacheEntry#isExpired implementation - Updated Version to 0.4.0 (#214)
81ac461
2017-10-24 01:18
下载
v0.4.0
Release of 0.4.0 - Updated Readme to clarify SMB client library (#210) - Cleaned up - Merge branch 'issue_206' of https://github.com/pepijnve/smbj into pepijnve-issue_206 - Added two more notify actions - Avoid returning a closed connection by the SMBClient class (#205) - #206 Resolve symlinks when encountering STATUS_STOPPED_ON_SYMLINK - Correctly disable signing in case of guest/anonymous authentication (#199) - Tread STATUS_FILE_CLOSED as success for SMB2_CLOSE operation - Added print functionality (Fixes #142), extracted common writer (#202) - Fixes #198, signature verification fails for CHANGE_NOTIFY response (#200) - Adding windows version info to ConnectionInfo (#191) - Setting session flags with most recent SMB2SessionSetup response (#187) - Issue 163 - Throwing exception when search pattern does not match any file (#165) - Reformat - Fail fast if Share object has been closed (Fixes #180) - Throw TransportException instead of NPE when sending packet on disconnected transport - Removed hardcoded port - Removed bcpkix jar from deps - Updated version: - Fixed #160. ClassCastException in NtlmAuthenticator "java.lang.Long cannot be cast to java.lang.Integer" (#162) - Correctly configured animalsniffer - Removed build of broken openJDK7 in favour of using animal-sniffer - Fixed test - Removed use of DataTypeConverter as that is no longer in default JDK9 - Removed oraclejdk7 as that is no longer supported on trusty, added openjdk
6616f7b
2017-10-12 03:51
下载
v0.3.0
Release of 0.3.0 - ignoring pdfs - Fix Codacy warnings - Handle non-success during dialect negotiation (Fixes #161) - Remove useless assignment - Add isGuest and isAnonymous to Session (Fixes #159) - Ignored / Cleaned Codacy warnings - CLeaned up Codacy warnings - Organize imports - DFS support (#46) - Removed unneeded cancelService - Implemented SMB2_CANCEL requests - Merge pull request #153 from hierynomus/future-new - Merge branch 'master' into future-new - Implemented CancellableFuture - Removed codacy warnings - Reformat - Fixed more Codacy warnings - Cleaned up few codacy warnings - Add skip implementation to FileInputStream (Fixes #132) - Merge pull request #149 from yin19941005/setFileLength-Implementation - Not to catch the exception, just let it throws to caller. - Add the boundary check on FileEndOfFileInformation class - Merge pull request #140 from bli-r7/bug/ensure-resource-closed - Merge branch 'master' into bug/ensure-resource-closed - Fix Underflow in SymbolicLinkError (Fixes #135) - Merge branch 'master' into bug/ensure-resource-closed - Merge branch 'master' into setFileLength-Implementation - Merge branch 'master' into bug/ensure-resource-closed - Merge pull request #150 from hierynomus/smb-negotiate - Reduce complexity of Connection.handle() - Fixed codacy warnings - Add support for Multi-Protocol Negotiate to detect SMBv2 support - Implementation for file setLength (truncate file) - Remove self-generic type of Packet and introduce SMBPacket, move transport layer to implementation agnostic package - Packet.read() is now void, so we can remove the self-type parameter - Move SMBBuffer to new com.hierynomus.smb package to allow for additional SMBv1 messages - Rewriting futures - Added SMB utils package with copy method (#127) - Correctly close the connection when it fails to connect (Fixes #145) - Merge branch 'master' into bug/ensure-resource-closed - Reformat code - Add IPublicationErrorHandler to mbassador bus instantiation (Fixes #138) - Merge pull request #147 from mtamassia/pr3-issue-136 - Issue 138 ReparseDataLenght field not read - Revert "Try session.close() should catch all Exception since SMBRuntimeException is common." - Try session.close() should catch all Exception since SMBRuntimeException is common. - Ensure Connection#close and Session#close release the relevant resources. - Merge pull request #2 from hierynomus/master - Renamed *Test to *Spec - Merge pull request #130 from hierynomus/issue-124 - Correctly handle STATUS_PENDING responses (Fixes #124) - Updated Integration test - Updated README with Examples (#125) - Merge pull request #123 from bli-r7/bug/echo-not-read - Implement SMB2Echo#readMessage so that its length can be properly calculated - Merge pull request #1 from hierynomus/master - Removed import - Added force-close Connection - Merge pull request #118 from bli-r7/bug/issue-117 - Check if the socket is closed in DirectTcpTransport#isConnected.
cbcf7ef
2017-08-23 01:55
下载
v0.2.0
Release of 0.2.0 - Add tunnel transport (#116) - Stale connections are removed from SMBClient (Fixes #114) (#115) - Organized imports - Fixed closing connection twice - Added SMB2ImpersonationLevel to SMB2CreateRequest - Async TCP transport (#111)
2cc4731
2017-07-07 20:03
下载
v0.1.0
Release of 0.1.0 - Correctly read error responses (Fixes #112 #94) (#113) - Reformatted tests and removed warnings - Added status and bad signature logging - Added BufferByteChunkProvider - Add PipeShare; add basic methods on NamedPipe (#99) - Merge pull request #108 from pepijnve/issue_107 - Handle EOF correctly in File#read - Decoupled DirectTcpTransport and Connection (#110) - Correctly return sd from DiskShare#getSecurityDescriptor (#105) - Upgrade other libs - Upgraded mbassador - Rename Config to SmbConfig and expose SocketFactory in Config (#100) - Remove all indefinite waits for responses (#101) - Made it possible to write byte[] larger then maxWriteBufferSize. (#95) - skip "." and ".." on recursive rmdir(). (#98) - Upgrade to gradle 4.0 - Added soTimeout to Config - Added anonymous and guest methods to AuthenticationContext - Expose QueryDirectory search pattern (#84) - Add setSecurityInformation (#73) - Improved handling of connection exceptions such as read timeout - now closing the socket and existing the thread cleanly. (#92) - NamedPipe is now completely not usable - make it usable at least in a low-level way (#90) - Made info less verbose (#83) - Use SMB2ShareAccess.ALL in convenience methods. (#81) - Fixed few Codacy warnings - Make read/write buffer sizes configurable (#16) (#75) - Delegate toString to avoid null/id=0 messages in debug output (#79) - Remove FileDispositionInformation decoder; this class is not queryable so never needs to be decoded (#77) - Merge branch 'sopak-file-disposition-information' - Allow set info FileDispositionInformation - Correct RingBuffer write logic when wraparound occurs (Fixes #72) (#76) - Organize imports - Tighten access level for SMB2FileId methods - Make file/dir operations available as instance methods on File/Directory (#71) - Request credits on SMBv2.0.2 (Fixes #51) - Don't ignore return value of InputStream#read(byte[]) (#70) - Implement rename function in file and directory (#61) - Added setFileInformation for path (#65) - NTLM MIC support (#60) - Make FileInformation querying more fine grained (#59) - Modify converting flexibility with TimeUnit (#56) - Updated iterable directory (#55) - Removed deprecated Gradle notation - Added support for iterable Directory and Removed SMB2_INDEX_SPECIFIED. (#54) - Use custom FileTime instead of Date to avoid losing precision (#53) - Direct seekable buffer read/write support (#49) - Upgraded to gradle 3.5 - Fixed typo in algorithm name - Can use MD4 using regular JCE - Cleanup codacy stuff - Fixed log message - Removed coupling between Transport layer and SMB2 packages - Removed unneeded fields - Ignored PMD warnings from Codacy for NTLM functions - Introduced a JCE independent SecurityProvider. - Made PacketReader thread Daemon - Allowing for empty security buffer when setting up authentication (Fixes #40) - Correctly grant credits if server does not support multi-credit packets - NegTokenInit.parseTagged should ignore unused fields (#38) - Tightened access methods of SequenceWindow - Correctly verifying packet signatures (Fixes #39)
600b4e1
2017-07-03 17:07
下载
v0.0.9
Release of 0.0.9 - Fixed packet signing if RequireSecuritySignature is set in Windows
4521a31
2017-03-21 17:52
下载
v0.0.8
Release of 0.0.8 - Updated README to 0.0.8 - Added settings.gradle to ensure correct project name - Fixed some Findbugs warnings - Correctly distinguish between server and client signing required. - Simplified sending of signed packet - Fixed ArrayIndexOutOfBoundsException in RingBuffer - Made buffer’s innards private so that we can use wrappers - Improved trace logging - Removed coverage target from travis - Expose FileInfo Dates (Fixes #36) - Fix javaDoc - Renamed FileSystemInformationClass to fix typo. - Sending request now waits until needed credits are available - Moved GlobalCapability to mssmb2 package. - Defensive copying of mutable dates (Findbugs warning) - Added findbugs and jdepend metrics - Integrated codacy coverage - Cleaned up some code - Cleaned unused imports - Reformatted - Added bettercodehub config
02bd135
2017-03-17 18:33
下载
v0.0.7
Release of 0.0.7 - Sending correct packet size for multicredit packets (fixes #29) (#31) - PacketReader.stop() interrupts thread (Fixes #34) - line endings - Add ShareInfo to DiskShare (#24) - Improved SID TEst - Merge pull request #32 from sbellan/master - Move the sid test to groovy - - SID equals/hashCode - More NtStatus defined - Add the actual NtStatus in the api exception - Directory list to consume the full output - Moved tests to correct package - Extracted method and cleaned up logging - Always use signingKeySpec if it is set - Fixed deadlock when closing connection - Reformatted - Merge pull request #30 from ckherrmann/spnego - Style tweaks to make codacy happy - Removed GSSContext from GSSAuthenticationContext--that is now in the GSSAuthenticator - Merge with latest restructure from hieronymous/smbj, and getting the SPNEGO mechanism to work again with the new structure. Mainly this meant turning the SpnegoAuthenticator message pump out into the Connection object, and tweaking the Connection object's loop to work properly with both SpnegoAuthenticator and NtlmAuthenticator. - Merge pull request #2 from hierynomus/master - Cleaned up some imports and access levels. - Reformat - Tightened access of SessionTable again. - Style fixes - Further refactored authentication - Refactored Authentication - Reformatted codebase - Merge pull request #26 from ckherrmann/master - Merge branch 'master' into master - Initial implementation of an SPNEGO negotiation using Kerberos. Use Connection.authenticateSP() to authenticate using a Kerberos Subject in a GSSAuthenticationContext. - Since we don't support SMBv3 signing yet, throw an exception if it is required. This can be removed and replaced with code to negotiate keys properly later. - Fixing curly brace issues, and also remove the session from the preauth table when done with authentication. - Fixing some code style issues from Codacy - Fixing type cast error - Updates due to comments from hieronymus: - Pass session key around as a SecretKeySpec rather than byte array. That way, the key knows its algorithm. - Add isStrictSigning as a Config option. If set to true, signed packets whose signature doesn't match will be dropped when reading. - Add a send() method to the Session object, which applies the signing key (or not). - some code style fixes - Change packet buffer size to Jumbo frame size. - Implement SMBv2 message signing. We extract the signing key from the NTLM authentication, perform proper keyexchange with the server, and sign most messages sent to the server. We also check signature of incoming messages, if the Connection requires it. - Added ability to tune offset of ByteChunkProvider (Fixes #22) - Made ByteChunkProvider.offset a long - Simplified getFileDispositionInfo() - Synced buildfile with sshj
e6e4667
2016-12-30 17:07
下载
v0.0.6
Release of 0.0.6 - Added TreeConnectTable
85b4f0f
2016-09-20 18:02
下载
v0.0.5
Release of 0.0.5 - Merge pull request #25 from adityakalia/master - Fix asciidoc typo - Added JavaDoc and Maven Central Badge - Removing check on read buffer size for ring buffer - Fixing tests - Merge remote-tracking branch 'upstream/master' - Fix exception on flush() when ringbuffer is empty - Added JCenter version badge
6374edc
2016-09-19 16:24
下载
v0.0.4
Release of 0.0.4 - Merge pull request #23 from adityakalia/master - Fixing build - Merging with master - pull request review comments - a) throw original SmbApiException b) removed redundant ringbuffer test c) byte array initialization change - moved check access logic from overthere to smbj - pull request review comments - fixed formatting and converted Junit RingBufferTest to groovy Spock test - integrated ring buffer implementation with FileOutputStream - Added Codacy and JProfiler badges - Removed read index from ring buffer implementation - Ring buffer implementation - Merge pull request #21 from ilx/patch-1 - Updated README - Fixed build - Fixed some warnings - Updated JavaDoc - Fixed missing import - SMBApiExcepiton now contains the Message type that failed - Implemented SessionTable in Connection. - Small cleanups - Upgraded to gradle 3.0 - Added license header to test - Fixed two codacy warnings. - Added more integration tests - Added integration test - Fixing bug in fileoutputstream - Fixed credit request bug - Fixed more Codacy warnings - Cleaned up some code - Fixed bug with reading more than credits we ask for - Changed contractor - Changed constructor - Merge pull request #19 from adityakalia/master - Changing exception type - review comments - Fixing identation - Incorporating review comments - Merge remote-tracking branch 'upstream/master' - cleanup - removing getconnection info method from connection - Refactoring to use new implementation - Removed unneeded stuff from SequenceWindow - Made SequenceWindow package-private and tweaked logging - Merge pull request #18 from hierynomus/byte-chunks - Implemented improved multi credit packets, with intelligent sizing - chain constructor of SMB2Packet - Prevent unnecessary copy of potentially large buffer into new buffer. - merging code - Updating write logic - Fixed some warnings - Organized imports - Added support for SMB 2.1 protocol version - Added some nice toStrings - Optimizing io - Refactoring to streams to different files - Fixing defect - Reverting config changes - Implementing input/output streams for file - Upgraded to fixed pom plugin - Added specifications to readme - Updated README - Fixing Travis
4c3a4b7
2016-09-14 20:18
下载
v0.0.3
Release of 0.0.3 - Added some helper plugins - Fixed pom
d92cd16
2016-07-28 16:29
下载
v0.0.1
Release of 0.0.1 - Moved com.hierynomus.smbj.smb2 to com.hierynomus.mssmb2 (Fixes #14) - Removed TransportException from signature - Upgraded gradle wrapper to 2.14.1 - Missed another line - Fixed build - Gracefully stopping PacketReader - Extracted NegotiatedProtocol class containing negotiation details - Cannot set session ID from outside. - Removed TransportException from signatures of a few methods - Set correct maven coordinates - Fixed some windbags warnings - Fixed some cyclic package dependencies - Code cleanup - Refactored outstanding requests to separate class. - Refactored Directory and File classes - Removed auto generated javadoc - Replaced use of Charset.forName(..) with StandardCharsets constants. - Documentation typo - Cleaned up - Added editorconfig file - Merge pull request #10 from sbellan/master - Move around some methods so that can be shared between diskshare and namedpipes. - Re-implement the SMBFile into DiskShare - - Get extra credits when connecting to share - Add Progress listener to read/write - Add license header - SMBFile implementation - Merge pull request #9 from sbellan/master - Make the SID types as an Enum - Merge remote-tracking branch 'upstream/master' - Add SID Types - Expose attributes and check status before reading packet. - Make smbj work with Bouncycastle 1.51 by not using some of the new features. - Make some methods/attributes accessible - Merge pull request #6 from sbellan/master - Minor fixes. - Add one more test for reading a unsigned byte correctly through the inputstream. - Minor formatting. - Make some attributes accessible for use in API's. - Merge branch 'set2' - - AccessMask re-structuring - - Buffer to InputStream not reading values greater that 128. - Implemented closing tree connect and session - Fixed build - Implemented basic TreeConnect and Shares - Merge pull request #5 from sbellan/master - - Expose SID constructor and fields, needed when transforming form one SID struture to another(jcifs) - Workaround MAX_OUTPUT_BUFFER_LENGTH issues observed in Windos 10 - - - AccessMask re-structuring - - Buffer to InputStream not reading values greater that 128. - Revert the typo - add more checks to the test. - - Add some more Access mask definitions - Improve file information parsing and keep it generic - Fix a bug in the change notify response parsing when there are multiple entries - Fix the Samba/Windows quirkness when the file name is empty - Fix a typo in create response - Remove the deprecated directory access mask - Fix bug in SMB2Functions.unicode - Add some parsing tests for create, notify, query directory, tree connect responses. - Renamed smb2.SMB2StatusCode to mserref.NtStatus - Made structureSize of an SMB2Packet a field of the packet - Using new Futures utility method - Added missing license header - Extracted the clientGuid into the Config object as per the spec - Upgraded release plugin - Added StubSmbServer for testing purposes. - Added support for async request with PENDING response - Extraced utility enum util method 'ensureNotNull' - Removing promise from the map once we have its response - Made response receiving asynchronous - Started on Promise/Future implementation - Merge pull request #4 from hierynomus/smb-messages - Cleaned up more comments - Handling exception and fixed bug - Fixed up a lot of comments (and few bugs) - Fixed a lot of comments, added constructor to SMB2Packet - Merge branch 'master' into smb-messages - Added lots of messages and fixes by @sbellan - MS-FCC classes by @sbellan - Merge pull request #3 from hierynomus/ms-dtyp - Added comments for PDF section references - Added license headers - Merge branch 'master' into messages - Refactored data types - Added MS-DTYP data types created by sbellan. - Added configurable random provider to config. - Refactored common structure - Added Waffle.io board - Renamed NtlmChallengeResponse to NtlmAuthenticate - Using the BouncyCastle provider for all security stuff. - Made values of Enums long - Merge pull request #1 from sbellan/master - - Implement Read and Echo - Add fileSize to the FileInfo of Query directory - Change some of the enum values to long, which caused overflow - Fix packet reader to read the full data in cases of large packets where in.read does not read the all the data. - - Review comment fixes. - Also fix the data file for one of the tests because of the new set of negotiate flags. - Merge remote-tracking branch 'upstream/master' - Implement QUERY DIRECTORY - Updated license headers. (#2) - Merge branch 'master' of https://github.com/sbellan/smbj - - Finish Ntlm V2 Auth - Implement Create, Change notify - Fix some bugs - Tested with Windows Share and Samba. - - Finish Ntlm V2 Auth - Implement Create, Change notify - Fix some bugs - Tested with Windows Share and Samba. - Working on NTLM authentication support - Implemented NtlmChallenge message - Extracted MS-DTYP methods to MsDataTypes - Renamed NtlmNegotiateFlag - Correctly parsing NegTokenTarg. - Added SPNEGO NegTokenTarg - Cleanup: organised imports - Correctly sending a negTokenInit with the SMB2 SESSION SETUP message - Added missing libs + small refactoring - Documented NegTokenInit - Initial SPNEGO / NTLM classes - Forgot added method - Added negotiated dialect parameter to message constructors - missing import - Added missing changes - Packets no longer extend Buffer but rather are written to and read from one. - Created interface EnumWithValue with associated EnumUtils - Made putUInt32(int, Endian) public - Added super() calls for messages - Corrected reading/writing of GUID - Added README - Added travis - Added more message types - Restructured to make it possible to make multiple connections from the same client - SMB2 Negotiate Request/response works! - Excluded Public Domain Base64 class from licensing - Added Apache2 license header - Added buffer test - Added SequenceWindow, as specified in MS-SMB2 3.2.4.1.6 - Added common network protocol classes - Initial commit
1338e2c
2016-07-27 19:29
下载
下载
请输入验证码,防止盗链导致资源被占用
取消
下载
1
https://gitee.com/voidzentao/smbj.git
git@gitee.com:voidzentao/smbj.git
voidzentao
smbj
smbj
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册