Read and write of shared files based on SMB protocolBlog Category:
Java
One, the SMB protocolThe SMB protocol is based on Tcp-netbios, and the general port usage is 139,445.The server Information block (SMB)
Modify the default port for Windows SMB services
From: http://www.xfocus.netCreated:Article attributes: originalArticle submission: tombkeeper (t0mbkeeper_at_hotmail.com)
Modify the default port for Windows SMB services
Author: YuEmail: tombkeeper [0x40] nsfocus [0x2e] comTombkeeper [0x40] xfocus [0x2e] orgCompleted at
In view of the fact that this blog may have been a bit more obscure, but I feel very useful, so put on my TechNet webcast for this subject course and demo download links for your reference.
Http://technet.microsoft.com/zh-cn/hh763481.aspx
Introduction to SMB
The server Message Block (SMB) protocol is a network file sharing
The NetBT (NetBios Over Tcpip) service of Windows NT operating systems is used to process SMB(Server Message Block) Related Services/customer operations.The driver file corresponding to the NetBT service is netbt. sys, and the corresponding registry key is:HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesNetBT.Microsoft's KB 120642 and KB 314053 respectively describe Windows NT, Windows 2000, and Windows XPSome optional parameters for this key value.T
SMB/CIFS Protocol
After NetBIOS appeared, Microsoft implemented a network file/print service system using NetBIOS. This system sets a file sharing protocol based on NETBIOS, which Microsoft calls Server Message Block (SMB) protocol. This
SMB protocol introduction-Linux Enterprise Application-Linux server application information. The following is a detailed description. Server Message Block (SMB) can be considered as a protocol for shared files/Printers on a LAN, it can provide file system, Print Service or other information for other Windows and Linux
One, copy files (remote-to-local)1, Smb_com_nt_create_andx (0XA2)Open the file, get the filename, and get the total length of the read file.2, Smb_com_read(0x2e)Read the file and get the contents of the read file.3, Smb_com_close (0x04)The client closes the TID and fid representing the file.The specific process of reading large files Read files are chunked, each block up to 64k byte, each block is composed of read request+tcp data package+read response, such as.(1) Without the read request con
Ethereal is a free open-source network protocol analysis program. The iSNS, SMB, and SNMP parser contained in Ethereal have unknown problems. Remote attackers can exploit these vulnerabilities to launch denial-of-service attacks or execute arbitrary commands on the system with process permissions.
Currently, no detailed vulnerability details are provided.
Affected Systems:
Ethereal Group Ethereal 0.9.9
Eth
The ports and protocols used by the Samba service:1) Port 137 (UDP)-NetBIOS name service; NMBD2) port 138 (UDP)-NetBIOS Datagram Service 3) port 139 (TCP)-File and print sharing, SMBD (SMB (Server Message Block) protocol, mainly used on LAN, file sharing
data.
// Analyze data
// Omitted
// To access the UI resources, you must use the invoke method to synchronize the UI.
This. Invoke (eventhandler) (delegate
{
// Determine whether the display is 16 forbidden
If (checkboxhexview. Checked)
{
// Concatenate a hex string in sequence
Foreach (byte B in BUF)
{
Builder. append (B. tostring ("X2") + "");
}
}
Else
{
// Convert the string directly according to ASCII rules
Builder. append (encoding. ASCII. getstring (BUF ));
}
// Appe
D:\apache24\bin>httpd-k Install
Installing the ' Apache2.4 ' service
The ' Apache2.4 ' service is successfully installed.
Testing httpd.conf .....
Errors reported here must is corrected before the service can be started.
(OS 10048) typically each socket address (Protocol/network address/port) is allowed only once. : AH00072:make_sock:could not bind to address [::]:443
(OS 10048) typically each socket addres
kinds of information that must be used for network communication: the protocol that the connection uses, the IP address of the local host, the protocol port of the local process, the IP address of the remote host, and the protocol port of the remote process.When the applica
Port concept: in network technology, a port generally has two meanings: one is a physical port, for example, ADSL modem, Hub, switch, router is used to connect interfaces of other network equipment, such as RJ-45 port, SC port and so on. The second is the logical
When talking about serial port parallel port, you can always think of some computer wiring. Yes, these serial ports are all related to some computer buses and plug-in cables. All these lines are managed through protocols. So today we will introduce the serial port protocol. Next, let's take a look at the categories.
Se
With the continuous development of single-chip microcomputer applications, there are more and more multi-chip systems composed of multiple single-chip microcomputer, and information exchange between multiple single-chip microcomputer is a whole. The work of a single-chip microcomputer is divided into multiple single-chip microcomputer. On the one hand, the performance of the system can be improved, and on the other hand, the hardware design of the system can be simplified.Asynchronous serial por
of 4 16 binary numbers per group.Ipv6:8 Group of 4 16 binary numbers per group. 1A2B:0000:AAAA:0000:0000:0000:AABB:1F2F 1a2b::aaaa:0000:0000:0000:aabb:1f2f 1a2b:0000:aaaa::aabb:1f2f 1a2b:0000: AAAA::0000:AABB:1F2F 1a2b:0000:aaaa:0000::aabb:1f2f
third, the network programming three elements of the port number overview Port number: Each program on the device unique identity each network program needs to bind
Understanding Serial Communications
There are many kinds of serial communication protocols, such as rs232,rs485,rs422, even the popular USB is serial communication protocol. And the application of serial communication technology is everywhere. Perhaps everybody sees most is the computer serial port and the modem communication. Remember when the PC was first popular in China (about five years before the 90
ICMP Protocol (Internet Control Message Protocol)
1.1. Definition: A protocol used by a host or router to send error or query information to a source point.1.2. Message structure
IP Header ( up to four bytes)Note: TheICMP message is encapsulated in the IP packet, so include the IP header
Type of message (2 bytes)
Report Text
Doing a good deed today compares the IP layer protocol number and TCP layer port number duplication.The Protocol field of the IP layer indicates the protocol used by the transport layer to determine the decoding program used when the data is decoded from the bottom to the upper layer, the field is a byte, so it can cha
capture a variety of protocol packets, and only a logical combination of the protocol can be. The expression is: http or telnet (a combination of multiple protocols plus logical symbols) (3) The packet expression excluding some protocol is: not ARP!tcp
Third, filtering for the port (depending on the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.