Impacket is a collection of Python classes for working with network protocols.
This report presents the forensic synthetic code analysis of fortra/impacket, a Python project with 15,905 GitHub stars. SynthScan v2.0 examined 193,232 lines of code across 352 source files, recording 2053 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 11.7 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2053 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 41 | except Exception: | CODE |
| LOW | impacket/IP6_Address.py | 249 | except Exception: | CODE |
| MEDIUM | impacket/IP6_Address.py | 244 | def is_a_valid_text_representation(cls, text_representation): | CODE |
| LOW | impacket/ntlm.py | 54 | except Exception: | CODE |
| MEDIUM | impacket/tds.py | 1282 | def disconnect(self): | CODE |
| LOW | impacket/tds.py | 1110 | except Exception as e: | CODE |
| LOW | impacket/tds.py | 1274 | except Exception: | CODE |
| LOW | impacket/tds.py | 1553 | except Exception as e: | CODE |
| LOW | impacket/tds.py | 1563 | except Exception: | CODE |
| LOW | impacket/tds.py | 1663 | except Exception as e: | CODE |
| LOW | impacket/smb.py | 3095 | except Exception: | CODE |
| MEDIUM | impacket/smbserver.py | 2896 | def _kerberos_auth(token, connData, smbServer): | CODE |
| LOW⚡ | impacket/smbserver.py | 1515 | except Exception as e: | CODE |
| LOW⚡ | impacket/smbserver.py | 1526 | except Exception as e: | CODE |
| LOW⚡ | impacket/smbserver.py | 3529 | except Exception as e: | CODE |
| LOW⚡ | impacket/smbserver.py | 3543 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 178 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 321 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 642 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 918 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1112 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1250 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1387 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1574 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1609 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1657 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1855 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1901 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1954 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 2141 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 2241 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 2271 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 2681 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 2804 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 3174 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 3405 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 3435 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 3702 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 3773 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 3824 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 3852 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 4126 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 4199 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 4736 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 4799 | except Exception as e: | CODE |
| LOW | impacket/mqtt.py | 279 | except Exception: | CODE |
| LOW | impacket/mqtt.py | 356 | except Exception as e: | CODE |
| LOW | impacket/ese.py | 952 | except Exception: | CODE |
| LOW | impacket/acl.py | 382 | except Exception as e: | CODE |
| LOW | impacket/crypto.py | 30 | except Exception: | CODE |
| LOW | impacket/structure.py | 144 | except Exception as e: | CODE |
| LOW | impacket/structure.py | 170 | except Exception as e: | CODE |
| LOW | impacket/structure.py | 491 | except Exception: | CODE |
| LOW | impacket/winregistry.py | 242 | except Exception as e: | CODE |
| LOW | impacket/winregistry.py | 824 | except Exception: | CODE |
| LOW | impacket/nmb.py | 554 | except Exception as e: | CODE |
| LOW | impacket/nmb.py | 990 | except Exception as ex: | CODE |
| MEDIUM | impacket/dpapi.py | 474 | print('Error decrypting entry #%d' % i) | CODE |
| LOW | impacket/dcerpc/v5/drsuapi.py | 50 | except Exception: | CODE |
| LOW⚡ | impacket/dcerpc/v5/dcomrt.py | 1066 | except Exception as e: | CODE |
| 505 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | impacket/ICMP6.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/eap.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/hresult_errors.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/dns.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/dns.py | 21 | # - 2181 - Clarifications to the DNS Specification [https://www.ietf.org/rfc/rfc2181.txt] | COMMENT |
| LOW | impacket/dns.py | 421 | # Preference Unsigned 16-bit integer. | COMMENT |
| LOW | impacket/smb3.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/smb3.py | 21 | # | COMMENT |
| LOW | impacket/smb3.py | 901 | # Do not encrypt anonymous connections | COMMENT |
| LOW | impacket/smb3.py | 1121 | # Application Key | COMMENT |
| LOW | impacket/smb3.py | 1601 | packet['Data'] = smbLock | COMMENT |
| LOW | impacket/IP6_Address.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/ntlm.py | 61 | NTLM_AUTH_PKT = 4 | COMMENT |
| LOW | impacket/ntlm.py | 101 | # If set, requests the usage of the LMOWF (section 3.3). An alternate name for this field is | COMMENT |
| LOW | impacket/ntlm.py | 121 | # TargetName field of the CHALLENGE_MESSAGE. If this bit is set, then NTLMSSP_TARGET_TYPE_DOMAIN MUST NOT be set. | COMMENT |
| LOW | impacket/ntlm.py | 161 | NTLMSSP_RESERVED_8 = 0x00000100 | COMMENT |
| LOW | impacket/ntlm.py | 701 | if ntlmChallenge['flags'] & NTLMSSP_NEGOTIATE_KEY_EXCH: | COMMENT |
| LOW | impacket/NDP.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/tds.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/tds.py | 21 | # ToDo: | COMMENT |
| LOW | impacket/tds.py | 1461 | # Here comes the important part, MSSQL server does not expect a raw TLS socket | COMMENT |
| LOW | impacket/smb.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/smb.py | 21 | # | COMMENT |
| LOW | impacket/smb.py | 41 | # [ ] Try [SMB]transport fragmentation using Transact requests | COMMENT |
| LOW | impacket/smb.py | 2901 | # least significant 32 bits of the SecuritySignature field and the remaining | COMMENT |
| LOW | impacket/smbserver.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/smbserver.py | 4441 | del (self.__smbTransCommands[transCommand]) | COMMENT |
| LOW | impacket/smbserver.py | 4461 | # data : the transaction data | COMMENT |
| LOW | impacket/smbserver.py | 4521 | # If smbCommand doesn't not exist, it is added | COMMENT |
| LOW | impacket/smbserver.py | 4541 | # errorCode: the NT error code | COMMENT |
| LOW | impacket/smbserver.py | 4621 | COMMENT | |
| LOW | impacket/smbserver.py | 4681 | # We might have compound requests | COMMENT |
| LOW | impacket/smbserver.py | 4801 | # traceback.print_exc() | COMMENT |
| LOW | impacket/system_errors.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/ImpactDecoder.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/__init__.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/cdp.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/Dot11Crypto.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/mqtt.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | impacket/ese.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/ese.py | 801 | return self.getNextRow(cursor, filter_tables = filter_tables) | COMMENT |
| LOW | impacket/Dot11KeyManager.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/negoex.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/dot11.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/dot11.py | 41 | # +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ | COMMENT |
| LOW | impacket/dot11.py | 1921 | def get_dB_ant_noise( self ): | COMMENT |
| LOW | impacket/spnego.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/spnego.py | 161 | # reject (2), | COMMENT |
| LOW | impacket/acl.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/crypto.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/crypto.py | 41 | # + Algorithm Generate_Subkey + | COMMENT |
| LOW | impacket/crypto.py | 101 | COMMENT | |
| LOW | impacket/crypto.py | 121 | # + + | COMMENT |
| LOW | impacket/crypto.py | 181 | def AES_CMAC_PRF_128(VK, M, VKlen, Mlen): | COMMENT |
| LOW | impacket/http.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/wps.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/helper.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/msada_guids.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/ImpactPacket.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| 378 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 20 | CODE | |
| LOW | impacket/smb3.py | 33 | CODE | |
| LOW | impacket/smb3.py | 34 | CODE | |
| LOW | impacket/smb3.py | 48 | CODE | |
| LOW | impacket/dpapi_ng.py | 12 | CODE | |
| LOW | impacket/ntlm.py | 12 | CODE | |
| LOW | impacket/ntlm.py | 13 | CODE | |
| LOW | impacket/tds.py | 33 | CODE | |
| LOW | impacket/tds.py | 34 | CODE | |
| LOW | impacket/tds.py | 47 | CODE | |
| LOW | impacket/smb.py | 52 | CODE | |
| LOW | impacket/smb.py | 53 | CODE | |
| LOW | impacket/mqtt.py | 27 | CODE | |
| LOW | impacket/ese.py | 29 | CODE | |
| LOW | impacket/ese.py | 30 | CODE | |
| LOW | impacket/spnego.py | 18 | CODE | |
| LOW | impacket/spnego.py | 19 | CODE | |
| LOW | impacket/crypto.py | 25 | CODE | |
| LOW | impacket/crypto.py | 26 | CODE | |
| LOW | impacket/http.py | 30 | CODE | |
| LOW | impacket/structure.py | 12 | CODE | |
| LOW | impacket/structure.py | 13 | CODE | |
| LOW | impacket/ImpactPacket.py | 21 | CODE | |
| LOW | impacket/ImpactPacket.py | 22 | CODE | |
| LOW | impacket/winregistry.py | 25 | CODE | |
| LOW | impacket/winregistry.py | 26 | CODE | |
| LOW | impacket/nmb.py | 37 | CODE | |
| LOW | impacket/nmb.py | 38 | CODE | |
| LOW | impacket/nmb.py | 39 | CODE | |
| LOW | impacket/smbconnection.py | 31 | CODE | |
| LOW | impacket/smb3structs.py | 18 | CODE | |
| LOW | impacket/smb3structs.py | 19 | CODE | |
| LOW | impacket/dpapi.py | 27 | CODE | |
| LOW | impacket/dpapi.py | 28 | CODE | |
| LOW | impacket/uuid.py | 19 | CODE | |
| LOW | impacket/uuid.py | 20 | CODE | |
| LOW | impacket/dcerpc/v5/srvs.py | 26 | CODE | |
| LOW | impacket/dcerpc/v5/srvs.py | 27 | CODE | |
| LOW | impacket/dcerpc/v5/drsuapi.py | 27 | CODE | |
| LOW | impacket/dcerpc/v5/drsuapi.py | 28 | CODE | |
| LOW | impacket/dcerpc/v5/dcomrt.py | 33 | CODE | |
| LOW | impacket/dcerpc/v5/dcomrt.py | 34 | CODE | |
| LOW | impacket/dcerpc/v5/bkrp.py | 30 | CODE | |
| LOW | impacket/dcerpc/v5/bkrp.py | 31 | CODE | |
| LOW | impacket/dcerpc/v5/even.py | 27 | CODE | |
| LOW | impacket/dcerpc/v5/even.py | 28 | CODE | |
| LOW | impacket/dcerpc/v5/transport.py | 17 | CODE | |
| LOW | impacket/dcerpc/v5/transport.py | 18 | CODE | |
| LOW | impacket/dcerpc/v5/transport.py | 32 | CODE | |
| LOW | impacket/dcerpc/v5/dhcpm.py | 27 | CODE | |
| LOW | impacket/dcerpc/v5/dhcpm.py | 28 | CODE | |
| LOW | impacket/dcerpc/v5/tsts.py | 29 | CODE | |
| LOW | impacket/dcerpc/v5/tsts.py | 34 | CODE | |
| LOW | impacket/dcerpc/v5/tsts.py | 36 | CODE | |
| LOW | impacket/dcerpc/v5/lsad.py | 26 | CODE | |
| LOW | impacket/dcerpc/v5/lsad.py | 27 | CODE | |
| LOW | impacket/dcerpc/v5/dtypes.py | 18 | CODE | |
| LOW | impacket/dcerpc/v5/dtypes.py | 19 | CODE | |
| LOW | impacket/dcerpc/v5/rpch.py | 19 | CODE | |
| LOW | impacket/dcerpc/v5/rpch.py | 20 | CODE | |
| 287 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | impacket/dns.py | 372 | CODE | |
| LOW | impacket/smb3.py | 412 | CODE | |
| LOW | impacket/smb3.py | 960 | CODE | |
| LOW | impacket/smb3.py | 1791 | CODE | |
| LOW | impacket/IP6_Address.py | 129 | CODE | |
| LOW | impacket/IP6_Address.py | 203 | CODE | |
| LOW | impacket/ntlm.py | 907 | CODE | |
| LOW | impacket/tds.py | 849 | CODE | |
| LOW | impacket/tds.py | 1581 | CODE | |
| LOW | impacket/tds.py | 1988 | CODE | |
| LOW | impacket/tds.py | 2062 | CODE | |
| LOW | impacket/tds.py | 2126 | CODE | |
| LOW | impacket/tds.py | 2452 | CODE | |
| LOW | impacket/tds.py | 2571 | CODE | |
| LOW | impacket/smb.py | 326 | CODE | |
| LOW | impacket/smb.py | 1042 | CODE | |
| LOW | impacket/smb.py | 2952 | CODE | |
| LOW | impacket/smb.py | 3622 | CODE | |
| LOW | impacket/smb.py | 3992 | CODE | |
| LOW | impacket/smb.py | 4093 | CODE | |
| LOW | impacket/smb.py | 4250 | CODE | |
| LOW | impacket/smbserver.py | 329 | CODE | |
| LOW | impacket/smbserver.py | 383 | CODE | |
| LOW | impacket/smbserver.py | 520 | CODE | |
| LOW | impacket/smbserver.py | 664 | CODE | |
| LOW | impacket/smbserver.py | 763 | CODE | |
| LOW | impacket/smbserver.py | 816 | CODE | |
| LOW | impacket/smbserver.py | 945 | CODE | |
| LOW | impacket/smbserver.py | 993 | CODE | |
| LOW | impacket/smbserver.py | 1060 | CODE | |
| LOW | impacket/smbserver.py | 1204 | CODE | |
| LOW | impacket/smbserver.py | 1342 | CODE | |
| LOW | impacket/smbserver.py | 1495 | CODE | |
| LOW | impacket/smbserver.py | 1546 | CODE | |
| LOW | impacket/smbserver.py | 1628 | CODE | |
| LOW | impacket/smbserver.py | 1674 | CODE | |
| LOW | impacket/smbserver.py | 1721 | CODE | |
| LOW | impacket/smbserver.py | 1769 | CODE | |
| LOW | impacket/smbserver.py | 1816 | CODE | |
| LOW | impacket/smbserver.py | 1874 | CODE | |
| LOW | impacket/smbserver.py | 1920 | CODE | |
| LOW | impacket/smbserver.py | 2110 | CODE | |
| LOW | impacket/smbserver.py | 2158 | CODE | |
| LOW | impacket/smbserver.py | 2339 | CODE | |
| LOW | impacket/smbserver.py | 2476 | CODE | |
| LOW | impacket/smbserver.py | 2984 | CODE | |
| LOW | impacket/smbserver.py | 3199 | CODE | |
| LOW | impacket/smbserver.py | 3333 | CODE | |
| LOW | impacket/smbserver.py | 3497 | CODE | |
| LOW | impacket/smbserver.py | 3567 | CODE | |
| LOW | impacket/smbserver.py | 3628 | CODE | |
| LOW | impacket/smbserver.py | 3736 | CODE | |
| LOW | impacket/smbserver.py | 3785 | CODE | |
| LOW | impacket/smbserver.py | 4164 | CODE | |
| LOW | impacket/smbserver.py | 4664 | CODE | |
| LOW | impacket/ImpactDecoder.py | 73 | CODE | |
| LOW | impacket/ImpactDecoder.py | 130 | CODE | |
| LOW | impacket/ImpactDecoder.py | 163 | CODE | |
| LOW | impacket/ImpactDecoder.py | 435 | CODE | |
| LOW | impacket/ImpactDecoder.py | 525 | CODE | |
| 274 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | impacket/ICMP6.py | 151 | def __get_message_description(self): | CODE |
| LOW | impacket/ICMP6.py | 339 | def get_neighbor_advertisement_flags(self): | CODE |
| LOW | impacket/ICMP6.py | 342 | def set_neighbor_advertisement_flags(self, flags): | CODE |
| LOW | impacket/ICMP6.py | 388 | def __build_node_information_message(class_object, type, code, payload = None): | CODE |
| LOW | impacket/ICMP6.py | 505 | def set_node_information_data(self, data): | CODE |
| LOW | impacket/ICMP6.py | 510 | def get_note_information_data(self): | CODE |
| LOW | impacket/ICMP6.py | 529 | def get_originating_packet_data(self): | CODE |
| LOW | impacket/dns.py | 372 | def __process_answer_structure(self, offset, num): | CODE |
| LOW | impacket/smb3.py | 2097 | def perform_hostname_validation(self): | CODE |
| LOW | impacket/IP6_Address.py | 129 | def get_human_readable_address_type(self): | CODE |
| LOW | impacket/IP6_Address.py | 148 | def __is_address_in_compressed_form(self, address): | CODE |
| LOW | impacket/IP6_Address.py | 163 | def __count_compressed_groups(self, address): | CODE |
| LOW | impacket/IP6_Address.py | 168 | def __count_compression_marker(self, address): | CODE |
| LOW | impacket/IP6_Address.py | 185 | def __expand_compressed_address(self, address): | CODE |
| LOW | impacket/IP6_Address.py | 203 | def __trim_longest_zero_chain(self, address): | CODE |
| LOW | impacket/IP6_Address.py | 244 | def is_a_valid_text_representation(cls, text_representation): | CODE |
| LOW | impacket/dpapi_ng.py | 281 | def generate_kek_secret_from_pubkey(gke: GroupKeyEnvelope, key_id: KeyIdentifier,l2_key: bytes): | CODE |
| LOW | impacket/tds.py | 1235 | def _has_active_tls_channel_binding(self): | CODE |
| LOW | impacket/tds.py | 1434 | def generate_cbt_from_tls_unique(self): | CODE |
| LOW | impacket/smb.py | 3401 | def get_server_dns_domain_name(self): | CODE |
| LOW | impacket/smb.py | 3438 | def perform_hostname_validation(self): | CODE |
| LOW | impacket/Dot11KeyManager.py | 22 | def __get_bssid_hasheable_type(self, bssid): | CODE |
| LOW | impacket/dot11.py | 2219 | def __calculate_elements_length(self, elements): | CODE |
| LOW⚡ | impacket/dot11.py | 2658 | def get_authentication_algorithm(self): | CODE |
| LOW⚡ | impacket/dot11.py | 2662 | def set_authentication_algorithm(self, algorithm): | CODE |
| LOW⚡ | impacket/dot11.py | 2666 | def get_authentication_sequence(self): | CODE |
| LOW⚡ | impacket/dot11.py | 2670 | def set_authentication_sequence(self, seq): | CODE |
| LOW⚡ | impacket/dot11.py | 2674 | def get_authentication_status(self): | CODE |
| LOW⚡ | impacket/dot11.py | 2678 | def set_authentication_status(self, status): | CODE |
| LOW | impacket/acl.py | 166 | def get_readable_standard_rights(self): | CODE |
| LOW | impacket/acl.py | 184 | def get_readable_specific_rights(self): | CODE |
| LOW | impacket/IP6_Extension_Headers.py | 125 | def get_header_extension_length(self): | CODE |
| LOW | impacket/IP6_Extension_Headers.py | 131 | def set_header_extension_length(self, header_extension_length): | CODE |
| LOW | impacket/nmb.py | 609 | def name_registration_request(self, nbname, destaddr, qtype, scope, nb_flags=0, nb_address='0.0.0.0'): | CODE |
| LOW | impacket/dcerpc/v5/rpcrt.py | 1373 | def set_default_max_fragment_size(self): | CODE |
| LOW | impacket/dcerpc/v5/transport.py | 255 | def set_default_max_fragment_size(self): | CODE |
| LOW | impacket/dcerpc/v5/rpch.py | 783 | def handle_out_of_sequence_rts(self, response_data): | CODE |
| LOW | impacket/krb5/pac.py | 340 | def _normalize_pac_checksum_type(signature_type, signature_length, aes_key, infer_aes_signature_type): | CODE |
| LOW | impacket/krb5/crypto.py | 731 | def get_kerberos_key_for_enctype(enctype, nt_hash=None, generic_aes_key=None, aes128_key=None, aes256_key=None): | CODE |
| LOW | impacket/krb5/asn1.py | 74 | def _sequence_optional_component(name, tag_value, type, **subkwargs): | CODE |
| LOW | impacket/examples/secretsdump.py | 1556 | def __decrypt_history_entries_aes(self, rid_int, entries): | CODE |
| LOW | impacket/examples/secretsdump.py | 1594 | def __decode_aes_history_block(self, rid_int, data, offset, length): | CODE |
| LOW | impacket/examples/smbclient.py | 890 | def _resolve_path_with_dfs_boundary(self, line): | CODE |
| LOW | impacket/examples/smbclient.py | 981 | def _restore_original_connection(self): | CODE |
| LOW | impacket/examples/ldap_shell.py | 384 | def toggle_account_enable_disable(self, user_name, enable): | CODE |
| LOW | impacket/examples/__init__.py | 13 | def _insecure_create_default_context(purpose=ssl.Purpose.SERVER_AUTH, *, cafile=None, capath=None, cadata=None): | CODE |
| LOW | impacket/examples/__init__.py | 21 | def monkeypatch_ssl_create_default_context(): | CODE |
| LOW | impacket/examples/__init__.py | 35 | def monkeypatch_readline_backend(): | CODE |
| LOW | impacket/examples/regsecrets.py | 423 | def __decrypt_history_entries_aes(self, rid_int, entries): | CODE |
| LOW | impacket/examples/regsecrets.py | 461 | def __decode_aes_history_block(self, rid_int, data, offset, length): | CODE |
| LOW | impacket/examples/ntlmrelayx/clients/ldaprelayclient.py | 178 | def create_authenticate_message(self): | CODE |
| LOW | impacket/examples/ntlmrelayx/utils/rdp_ssl.py | 52 | def generate_self_signed_cert(common_name="RDP-Server"): | CODE |
| LOW | impacket/examples/ntlmrelayx/servers/rdprelayserver.py | 372 | def build_tsrequest_challenge(self, challenge_data): | CODE |
| LOW | impacket/examples/ntlmrelayx/servers/socksserver.py | 284 | class SocksRequestHandler(socketserver.BaseRequestHandler): | CODE |
| LOW | …cket/examples/ntlmrelayx/servers/socksplugins/mssql.py | 98 | def _should_wrap_sql_batch_for_backend(self): | CODE |
| LOW | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 652 | def is_template_for_authentification(entry): | CODE |
| LOW | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 669 | def get_enrollment_principals(entry): | CODE |
| LOW | …/examples/ntlmrelayx/attacks/httpattacks/adcsattack.py | 307 | def _extract_certificate_identity(cls, cert): | CODE |
| LOW | …s/ntlmrelayx/attacks/httpattacks/sccmpoliciesattack.py | 147 | def generate_registration_request_payload(management_point, public_key, private_key, client_name): | CODE |
| LOW | …s/ntlmrelayx/attacks/httpattacks/sccmpoliciesattack.py | 178 | def generate_policies_request_payload(management_point, private_key, client_guid, client_name): | CODE |
| 137 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | impacket/tds.py | 1298 | # This function is the generic sendTDS packet which is used to embed data into a regular TDS packet | COMMENT |
| MEDIUM | impacket/tds.py | 1327 | # This function is a wrapper that is used to dispatch packets to send depending of the TLS context | COMMENT |
| MEDIUM | impacket/tds.py | 1363 | # This function is the generic recvTDS packet which is used to extract data from a regular TDS packet | COMMENT |
| MEDIUM | impacket/tds.py | 1401 | # This function is a wrapper that is used to dispatch packets to read depending of the TLS context | COMMENT |
| MEDIUM | impacket/tds.py | 1451 | # This function is used to set the TLS context, process the handshak in memory | COMMENT |
| MEDIUM | impacket/smb.py | 128 | SMB_O_CREAT = 0x10 # Create the file if file does not exists. Otherwise, operation fails. | CODE |
| MEDIUM | impacket/examples/serviceinstall.py | 97 | # Create the service | COMMENT |
| MEDIUM | impacket/examples/ntlmrelayx/clients/dcsyncclient.py | 265 | # Initialize NTDSHashes object | COMMENT |
| MEDIUM | impacket/examples/ntlmrelayx/utils/ssl.py | 34 | # Create a private key | COMMENT |
| MEDIUM | impacket/examples/ntlmrelayx/utils/ssl.py | 38 | # Create the certificate | COMMENT |
| MEDIUM | impacket/examples/ntlmrelayx/utils/ssl.py | 57 | # Create a context, we don't really care about the SSL/TLS | COMMENT |
| MEDIUM | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 968 | # Create a nice shiny new user for the escalation | COMMENT |
| MEDIUM | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 994 | # Create a nice shiny new user for the escalation | COMMENT |
| MEDIUM | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 1202 | # Create an object ACE with the specified privguid and our sid | COMMENT |
| MEDIUM | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 1219 | # Create an ALLOW ACE with the specified sid | COMMENT |
| MEDIUM | tests/SMB_RPC/test_acl.py | 114 | # Create a new ACE for a different user with R,W permissions | COMMENT |
| MEDIUM | examples/secretsdump.py | 145 | # Create the baseDN | COMMENT |
| MEDIUM | examples/GetADComputers.py | 64 | # Create the baseDN | COMMENT |
| MEDIUM | examples/dacledit.py | 379 | # This function is called before any writing action (write, remove or restore) | COMMENT |
| MEDIUM | examples/badsuccessor.py | 83 | # Create the baseDN if not provided | COMMENT |
| MEDIUM | examples/GetLAPSPassword.py | 87 | # Create the baseDN | COMMENT |
| MEDIUM | examples/raiseChild.py | 209 | # Create the pipes threads | COMMENT |
| MEDIUM | examples/GetNPUsers.py | 90 | # Create the baseDN | COMMENT |
| MEDIUM | examples/findDelegation.py | 97 | # Create the baseDN | COMMENT |
| MEDIUM | examples/rbcd.py | 56 | # Create an ALLOW ACE with the specified sid | COMMENT |
| MEDIUM | examples/goldenPac.py | 162 | # Create the pipes threads | COMMENT |
| MEDIUM | examples/addcomputer.py | 116 | # Create the baseDN | COMMENT |
| MEDIUM | examples/GetADUsers.py | 60 | # Create the baseDN | COMMENT |
| MEDIUM | examples/changepasswd.py | 945 | # Create a password management session | COMMENT |
| MEDIUM | examples/ping6.py | 47 | # Create a new IP packet and set its source and destination addresses. | COMMENT |
| MEDIUM | examples/GetUserSPNs.py | 23 | # This module provides a Python implementation for this attack, adding also the ability to PtH/Ticket/Key. | COMMENT |
| MEDIUM | examples/GetUserSPNs.py | 103 | # Create the baseDN | COMMENT |
| MEDIUM | examples/ping.py | 46 | # Create a new IP packet and set its source and destination addresses. | COMMENT |
| MEDIUM | examples/ping.py | 52 | # Create a new ICMP packet of type ECHO. | COMMENT |
| MEDIUM | examples/psexec.py | 183 | # Create the pipes threads | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | impacket/smb.py | 130 | SMB_O_OPEN = 0x01 # Open the file if the file exists | CODE |
| LOW⚡ | impacket/smbserver.py | 1519 | # Check if the file was marked for removal | COMMENT |
| LOW⚡ | impacket/smbserver.py | 3533 | # Check if the file was marked for removal | COMMENT |
| LOW | impacket/smbserver.py | 2068 | # Check if the Tid matches the Tid trying to disconnect | COMMENT |
| LOW | impacket/smbserver.py | 2092 | # Check if the Uid matches the user trying to logoff | COMMENT |
| LOW | impacket/smbserver.py | 3973 | # Check if the next data will exceed the OutputBufferLength | COMMENT |
| LOW | impacket/smb3structs.py | 181 | FILE_OPEN_IF = 0x00000003 # Open the file if it already exists; otherwise, create the file. This value SHOULD | CODE |
| LOW | impacket/dcerpc/v5/transport.py | 515 | # Check if we have a smb connection already setup | COMMENT |
| LOW | impacket/dcerpc/v5/rpch.py | 678 | # Check if the previous chunk is still there | COMMENT |
| LOW | impacket/examples/secretsdump.py | 767 | # Check if remoteName is FQDN, otherwise it will likely be the hostname only | COMMENT |
| LOW | impacket/examples/secretsdump.py | 2395 | # Check if old LSA secrets values are also need to be shown | COMMENT |
| LOW | impacket/examples/regsecrets.py | 81 | # Check if remoteName is FQDN, otherwise it will likely be the hostname only and we can't build the salt | COMMENT |
| LOW | impacket/examples/regsecrets.py | 1029 | # Check if old LSA secrets values are also need to be shown | COMMENT |
| LOW | impacket/examples/regsecrets.py | 1065 | # Check if old LSA secrets values are also need to be shown | COMMENT |
| LOW | impacket/examples/ntlmrelayx/clients/httprelayclient.py | 58 | #Check if server wants auth | COMMENT |
| LOW | impacket/examples/ntlmrelayx/utils/targetsutils.py | 70 | # Check if we have a single target, with no URI form | COMMENT |
| LOW⚡ | impacket/examples/ntlmrelayx/servers/rdprelayserver.py | 339 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | impacket/examples/ntlmrelayx/servers/rpcrelayserver.py | 396 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | …acket/examples/ntlmrelayx/servers/winrmsrelayserver.py | 531 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | …packet/examples/ntlmrelayx/servers/winrmrelayserver.py | 517 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | impacket/examples/ntlmrelayx/servers/rawrelayserver.py | 187 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | impacket/examples/ntlmrelayx/servers/smbrelayserver.py | 934 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | impacket/examples/ntlmrelayx/servers/httprelayserver.py | 524 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | impacket/examples/ntlmrelayx/servers/wcfrelayserver.py | 327 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | …packet/examples/ntlmrelayx/servers/mssqlrelayserver.py | 424 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | …cket/examples/ntlmrelayx/servers/socksplugins/mssql.py | 166 | # Check if we have a connection for the user | COMMENT |
| LOW | …packet/examples/ntlmrelayx/servers/socksplugins/smb.py | 360 | # Check if we have a connection for the user | COMMENT |
| LOW | …packet/examples/ntlmrelayx/servers/socksplugins/smb.py | 514 | # Check if we have a connection for the user | COMMENT |
| LOW | …acket/examples/ntlmrelayx/servers/socksplugins/http.py | 65 | # Check if we have a connection for the user | COMMENT |
| LOW | …acket/examples/ntlmrelayx/servers/socksplugins/http.py | 179 | # Check if the body is larger than 1 packet | COMMENT |
| LOW | …acket/examples/ntlmrelayx/servers/socksplugins/smtp.py | 102 | # Check if we have a connection for the user | COMMENT |
| LOW | …acket/examples/ntlmrelayx/servers/socksplugins/imap.py | 95 | # Check if we have a connection for the user | COMMENT |
| LOW | impacket/examples/ntlmrelayx/attacks/imapattack.py | 47 | #Check if search worked | COMMENT |
| LOW⚡ | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 579 | # Check if the ACE has restrictions on object type (inherited case) | COMMENT |
| LOW⚡ | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 583 | # Verify if the ACE applies to this object type | COMMENT |
| LOW⚡ | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 589 | # Check if this applies to our objecttype | COMMENT |
| LOW | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 621 | # Check if the ACE is an OBJECT ACE, if so the WRITE_DACL is applied to | COMMENT |
| LOW | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 1250 | # Check if an ACE allows for creation of users | COMMENT |
| LOW | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 1258 | # Check if an ACE allows for adding members | COMMENT |
| LOW | examples/badsuccessor.py | 292 | # Check if ACE has relevant rights | COMMENT |
| LOW | examples/GetLAPSPassword.py | 111 | # Check if item is in cache | COMMENT |
| LOW | examples/raiseChild.py | 184 | # Check if we need to copy a file for execution | COMMENT |
| LOW | examples/findDelegation.py | 40 | # Check if SPN exists | COMMENT |
| LOW | examples/rpcdump.py | 112 | # Display results. | COMMENT |
| LOW | examples/samrdump.py | 91 | # Display results. | COMMENT |
| LOW | examples/split.py | 130 | # Open file | COMMENT |
| LOW | examples/goldenPac.py | 137 | # Check if we need to copy a file for execution | COMMENT |
| LOW | examples/psexec.py | 158 | # Check if we need to copy a file for execution | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …acket/examples/ntlmrelayx/servers/winrmsrelayserver.py | 0 | <?xml version="1.0"?><d:multistatus xmlns:d="dav:"><d:response><d:href>http://webdavrelay/file/image.jpg/</d:href><d:pro | STRING |
| HIGH | …packet/examples/ntlmrelayx/servers/winrmrelayserver.py | 0 | <?xml version="1.0"?><d:multistatus xmlns:d="dav:"><d:response><d:href>http://webdavrelay/file/image.jpg/</d:href><d:pro | STRING |
| HIGH | impacket/examples/ntlmrelayx/servers/httprelayserver.py | 0 | <?xml version="1.0"?><d:multistatus xmlns:d="dav:"><d:response><d:href>http://webdavrelay/file/image.jpg/</d:href><d:pro | STRING |
| HIGH | …acket/examples/ntlmrelayx/servers/winrmsrelayserver.py | 0 | <?xml version="1.0"?><d:multistatus xmlns:d="dav:"><d:response><d:href>http://webdavrelay/file/</d:href><d:propstat><d:p | STRING |
| HIGH | …packet/examples/ntlmrelayx/servers/winrmrelayserver.py | 0 | <?xml version="1.0"?><d:multistatus xmlns:d="dav:"><d:response><d:href>http://webdavrelay/file/</d:href><d:propstat><d:p | STRING |
| HIGH | impacket/examples/ntlmrelayx/servers/httprelayserver.py | 0 | <?xml version="1.0"?><d:multistatus xmlns:d="dav:"><d:response><d:href>http://webdavrelay/file/</d:href><d:propstat><d:p | STRING |
| HIGH | examples/raiseChild.py | 0 | lcd {path} - changes the current local directory to {path} exit - terminates the server process (and this session) lput | STRING |
| HIGH | examples/goldenPac.py | 0 | lcd {path} - changes the current local directory to {path} exit - terminates the server process (and this session) lput | STRING |
| HIGH | examples/psexec.py | 0 | lcd {path} - changes the current local directory to {path} exit - terminates the server process (and this session) lput | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | impacket/smb3.py | 190 | CODE | |
| LOW | impacket/smb3.py | 700 | CODE | |
| LOW | impacket/tds.py | 1581 | CODE | |
| LOW | impacket/acl.py | 239 | CODE | |
| LOW | impacket/nmb.py | 625 | CODE | |
| LOW | impacket/smbconnection.py | 63 | CODE | |
| LOW | impacket/smbconnection.py | 296 | CODE | |
| LOW | impacket/smbconnection.py | 422 | CODE | |
| LOW | impacket/smbconnection.py | 489 | CODE | |
| LOW | impacket/dcerpc/v5/dcomrt.py | 996 | CODE | |
| LOW | impacket/dcerpc/v5/dcomrt.py | 1162 | CODE | |
| LOW | impacket/dcerpc/v5/transport.py | 479 | CODE | |
| LOW | impacket/dcerpc/v5/transport.py | 605 | CODE | |
| LOW | impacket/dcerpc/v5/scmr.py | 1254 | CODE | |
| LOW | impacket/dcerpc/v5/scmr.py | 1272 | CODE | |
| LOW | impacket/ldap/ldap.py | 176 | CODE | |
| LOW | impacket/ldap/ldap.py | 488 | CODE | |
| LOW | impacket/krb5/kpasswd.py | 284 | CODE | |
| LOW | impacket/krb5/kpasswd.py | 317 | CODE | |
| LOW | impacket/krb5/gssapi.py | 352 | CODE | |
| LOW | impacket/krb5/gssapi.py | 357 | CODE | |
| LOW | impacket/examples/secretsdump.py | 2050 | CODE | |
| LOW | impacket/examples/secretsdump.py | 2611 | CODE | |
| LOW | impacket/examples/utils.py | 91 | CODE | |
| LOW | impacket/examples/regsecrets.py | 693 | CODE | |
| LOW | …acket/examples/ntlmrelayx/servers/socksplugins/smtp.py | 159 | CODE | |
| LOW | tests/SMB_RPC/test_rpcrt.py | 32 | CODE | |
| LOW | examples/rpcmap.py | 57 | CODE | |
| LOW | examples/samrdump.py | 42 | CODE | |
| LOW | examples/machine_role.py | 51 | CODE | |
| LOW | examples/lookupsid.py | 44 | CODE | |
| LOW | examples/goldenPac.py | 430 | CODE | |
| LOW | examples/changepasswd.py | 140 | CODE | |
| LOW | examples/changepasswd.py | 183 | CODE | |
| LOW | examples/dcomexec.py | 68 | CODE | |
| LOW | examples/smbexec.py | 119 | CODE | |
| LOW | examples/atexec.py | 46 | CODE | |
| LOW | examples/wmiexec.py | 52 | CODE | |
| LOW | examples/psexec.py | 68 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | impacket/mapi_constants.py | 869 | # ==================== | COMMENT |
| MEDIUM | impacket/mapi_constants.py | 1565 | # ==================== | COMMENT |
| MEDIUM | impacket/examples/utils.py | 64 | # ---------- | COMMENT |
| MEDIUM | impacket/examples/utils.py | 249 | # ---------- | COMMENT |
| MEDIUM | impacket/examples/utils.py | 296 | # ---------- | COMMENT |
| MEDIUM | impacket/examples/utils.py | 321 | # ---------- | COMMENT |
| MEDIUM | tests/misc/test_ntfs_read.py | 21 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/misc/test_ntfs_read.py | 23 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/misc/test_ntfs_read.py | 43 | # =========================================================================== | COMMENT |
| MEDIUM | tests/misc/test_ntfs_read.py | 45 | # =========================================================================== | COMMENT |
| MEDIUM | tests/misc/test_ntfs_read.py | 190 | # =========================================================================== | COMMENT |
| MEDIUM | tests/misc/test_ntfs_read.py | 192 | # =========================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | impacket/hresult_errors.py | 2908 | 0xC026250A: ("ERROR_GRAPHICS_OPM_INVALID_POINTER", "The function failed because an invalid pointer parameter was | CODE |
| HIGH | impacket/hresult_errors.py | 2908 | 0xC026250A: ("ERROR_GRAPHICS_OPM_INVALID_POINTER", "The function failed because an invalid pointer parameter was | CODE |
| HIGH | impacket/nt_errors.py | 1598 | 0xC01E050A: ("STATUS_GRAPHICS_OPM_INVALID_POINTER","The function failed because an invalid pointer parameter was | CODE |
| HIGH | impacket/nt_errors.py | 1598 | 0xC01E050A: ("STATUS_GRAPHICS_OPM_INVALID_POINTER","The function failed because an invalid pointer parameter was | CODE |
| HIGH | impacket/nt_errors.py | 1639 | 0xC01E05E4: ("STATUS_GRAPHICS_INVALID_POINTER","The function failed because an invalid pointer parameter was pas | CODE |
| HIGH | impacket/nt_errors.py | 1639 | 0xC01E05E4: ("STATUS_GRAPHICS_INVALID_POINTER","The function failed because an invalid pointer parameter was pas | CODE |
| HIGH⚡ | tests/SMB_RPC/test_wmi.py | 326 | # PowerShell "gwmi win32_currenttime" command output shows it empty indicating it is $null, so it should be None | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | tests/SMB_RPC/test_wmi.py | 336 | The following lines were added in the impacket.dcerpc.v5.dcom.wmi.IWbemClassObject.SpawnInstance(): | STRING |
| CRITICAL⚡ | tests/SMB_RPC/test_wmi.py | 342 | # NOTE: I think these shouldn't be strings, see impacket.dcerpc.v5.dcom.wmi.ENCODED_VALUE.getValue() and | STRING |
| CRITICAL⚡ | tests/SMB_RPC/test_wmi.py | 343 | # impacket.dcerpc.v5.dcom.wmi.CLASS_PART.getProperties() (links below). I won't change that code since I | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | impacket/dcerpc/v5/ndr.py | 229 | # (In this version of NDR, n is one of {1, 2, 4, 8}.) An octet stream index indicates | COMMENT |
| HIGH | impacket/dcerpc/v5/ndr.py | 258 | # (In this version of NDR, n is one of {1, 2, 4, 8}.) An octet stream index indicates | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | impacket/smbserver.py | 649 | # For now we just return fake values | COMMENT |
| LOW | impacket/smbserver.py | 2945 | # just use the same key | COMMENT |
| LOW | impacket/examples/secretsdump.py | 549 | # If dwExtCaps is not included in the answer, let's just add it so we can unpack DRS_EXTENSIONS_INT right. | COMMENT |
| LOW | impacket/examples/ntlmrelayx/clients/dcsyncclient.py | 236 | # If dwExtCaps is not included in the answer, let's just add it so we can unpack DRS_EXTENSIONS_INT right. | COMMENT |
| LOW | tests/dcerpc/test_drsuapi.py | 58 | # If dwExtCaps is not included in the answer, let's just add it so we can unpack DRS_EXTENSIONS_INT right. | COMMENT |
| LOW | examples/raiseChild.py | 686 | # If dwExtCaps is not included in the answer, let's just add it so we can unpack DRS_EXTENSIONS_INT right. | STRING |
| MEDIUM | examples/smbexec.py | 21 | # Certainly not a stealthy way. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | impacket/dcerpc/v5/transport.py | 440 | # But you can use set_rpc_proxy_url method to set any URL / query you want. | COMMENT |
| LOW | impacket/examples/secretsdump.py | 2291 | LOG.warning("Don't forget to remove sensitive content before sending the data in a Github issue.") | CODE |
| LOW | impacket/examples/regsecrets.py | 925 | LOG.warning("Don't forget to remove sensitive content before sending the data in a Github issue.") | CODE |
| MEDIUM | examples/GetADUsers.py | 17 | # If no entries are returned that means users don't have email addresses specified. If so, you can use the | COMMENT |
| LOW | examples/ntlmrelayx.py | 290 | "are optional, and don't forget to escape the '\\'). If unspecified, it will relay bac | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | impacket/dcerpc/v5/enum.py | 15 | __all__ = ['Enum', 'IntEnum', 'unique'] | CODE |
| LOW | impacket/ldap/ldap.py | 51 | __all__ = [ | CODE |
| LOW | impacket/ldap/ldapasn1.py | 25 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | impacket/dcerpc/v5/enum.py | 671 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | impacket/negoex.py | 671 | #NOTE: This function fails the exchange if the peer doesnt send or pick our authentication scheme | COMMENT |