fortra/impacket

TDS: Unknown Token 0 / ac

Open

#879 aperta il 9 giu 2020

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Python (3421 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (12.244 star)
Metriche merge PR
 (Merge medio 30g 8h) (10 PR mergiate in 30 g)

Descrizione

Configuration

impacket version: 0.9.21 Python version: 3.7.7 Target OS: Ubuntu 18.04

Debug Output With Command String

i.e.
smbexec -debug domain/user:password@127.0.0.1

>>> tds.MSSQL('bla').parseReply(b"\xac\x0d\x00\x00\x01\x00\x00\x00\x00\x26\x04\x04\x0c\x00\x00\x00\xfe\x00\x00\xe0\x00\x00\x00\x00\x00")
ERROR:impacket:Unknown Token ac
{}

Additional context

This buffer is a 0xac token type taken from a pcap of TDS version 7.1. I expected token values 0xac (TDS_PARAM_TOKEN) and 0x00 (TVP_END_TOKEN) to be parsed.

Guida contributor