1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! `ms-tds` — pure-Rust TDS 7.4 client for Microsoft SQL Server.
//!
//! # STATUS: pre-alpha
//!
//! Compile-clean skeleton with partial implementation:
//!
//! * TDS packet framing (header + segmentation across `packet_size`)
//! * PreLogin token round-trip
//! * **TLS-in-TDS handshake tunneling** — `TlsTunnel` wraps rustls handshake
//! records inside TDS PRELOGIN packets and flips to passthrough afterwards,
//! so an encrypted SQL Server ("Encrypt = yes / Force Encryption") accepts
//! the login. Post-handshake, TDS packet framing rides on top of the TLS
//! layer unchanged.
//! * Login7 with NTLM SSPI blob wrapping (INTEGRATED_SECURITY)
//! * `TdsClient` `connect` / `login_ntlm` / `sql_batch` — the wire is driven
//! but ROW / COLMETADATA decoding is not implemented, so `sql_batch` returns
//! an empty `ResultSet` even when the server sends rows.
//!
//! # Minimal usage sketch
//!
//! ```no_run
//! # async fn f() -> ms_tds::Result<()> {
//! let mut c = ms_tds::TdsClient::connect("sql01", 1433, None).await?;
//! c.login_ntlm("CORP", "svc_scan", "pw").await?;
//! let _ = c.sql_batch(ms_tds::pentest::enum_linked_servers()).await?;
//! # Ok(()) }
//! ```
pub use ;
pub use ;
pub use ;
pub use ;