Impacket is a collection of Python classes for working with network protocols.
This report summarizes scanner evidence for fortra/impacket, a Python project with 16,165 GitHub stars. SynthScan examined 198,612 lines of code across 364 source files, recording 2149 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 15.4 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1208 finding(s).
Are imports declared and package/API names verified? 139 finding(s).
Are wrappers, guards, and repeated structures necessary? 1120 finding(s).
Which changes need focused human review? 2149 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2149 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | impacket/smb3.py | 738 | except: | CODE |
| HIGH | impacket/smb3.py | 994 | except: | CODE |
| HIGH | impacket/smb3.py | 1065 | except: | CODE |
| HIGH | impacket/smb3.py | 1072 | except: | CODE |
| HIGH | impacket/smb3.py | 1078 | except: | CODE |
| HIGH | impacket/smb3.py | 1085 | except: | CODE |
| HIGH | impacket/tds.py | 1574 | except ssl.SSLWantReadError: | CODE |
| HIGH | impacket/tds.py | 1719 | except Exception: | CODE |
| HIGH | impacket/tds.py | 1876 | except Exception as e: | CODE |
| HIGH | impacket/smb.py | 3474 | except: | CODE |
| HIGH | impacket/smb.py | 3804 | except: | CODE |
| HIGH | impacket/smb.py | 3692 | except UnicodeDecodeError: | CODE |
| HIGH | impacket/smb.py | 3699 | except UnicodeDecodeError: | CODE |
| HIGH | impacket/smb.py | 3705 | except UnicodeDecodeError: | CODE |
| HIGH | impacket/smb.py | 3712 | except UnicodeDecodeError: | CODE |
| HIGH | impacket/smbserver.py | 4586 | except: | CODE |
| HIGH | impacket/smbserver.py | 4180 | except IndexError: | CODE |
| HIGH | impacket/smbserver.py | 5296 | except: | CODE |
| HIGH | impacket/dot11.py | 2248 | except StopIteration: | CODE |
| HIGH | impacket/dot11.py | 2472 | except StopIteration: | CODE |
| HIGH | impacket/dot11.py | 2708 | except StopIteration: | CODE |
| HIGH | impacket/dot11.py | 2832 | except StopIteration: | CODE |
| HIGH | impacket/dot11.py | 2940 | except StopIteration: | CODE |
| HIGH | impacket/dot11.py | 3066 | except StopIteration: | CODE |
| HIGH | impacket/structure.py | 488 | except Exception: | CODE |
| HIGH | impacket/ImpactPacket.py | 644 | except: | CODE |
| HIGH | impacket/winregistry.py | 822 | except Exception: | CODE |
| HIGH | impacket/winregistry.py | 240 | except Exception as e: | CODE |
| HIGH | impacket/nmb.py | 186 | except NameError: | CODE |
| HIGH | impacket/nmb.py | 528 | except socket.error: | CODE |
| HIGH | impacket/smbconnection.py | 1086 | except: | CODE |
| HIGH | impacket/smbconnection.py | 123 | except: | CODE |
| HIGH | impacket/dcerpc/v5/rpcrt.py | 1807 | except: | CODE |
| HIGH | impacket/dcerpc/v5/rpcrt.py | 2151 | except Exception: | CODE |
| HIGH | impacket/dcerpc/v5/transport.py | 53 | except: | CODE |
| HIGH | impacket/dcerpc/v5/samr.py | 2801 | except: | CODE |
| HIGH | impacket/dcerpc/v5/samr.py | 2810 | except: | CODE |
| HIGH | impacket/dcerpc/v5/samr.py | 2819 | except: | CODE |
| HIGH | impacket/dcerpc/v5/samr.py | 2854 | except: | CODE |
| HIGH | impacket/dcerpc/v5/samr.py | 2858 | except: | CODE |
| HIGH | impacket/dcerpc/v5/samr.py | 3020 | except: | CODE |
| HIGH | impacket/dcerpc/v5/enum.py | 244 | except TypeError: | CODE |
| HIGH | impacket/dcerpc/v5/enum.py | 433 | except (AttributeError, ValueError): | CODE |
| HIGH | impacket/ldap/ldap.py | 233 | except TypeError: | CODE |
| HIGH | impacket/ldap/ldap.py | 395 | except TypeError: | CODE |
| HIGH | impacket/ldap/ldap.py | 432 | except TypeError: | CODE |
| HIGH | impacket/ldap/ldapasn1.py | 554 | except KeyError: | CODE |
| HIGH | impacket/krb5/kpasswd.py | 361 | except: | CODE |
| HIGH | impacket/krb5/kerberosv5.py | 531 | except Exception: | CODE |
| HIGH | impacket/krb5/kerberosv5.py | 122 | except: | CODE |
| HIGH | impacket/krb5/kerberosv5.py | 135 | except TypeError: | CODE |
| HIGH | impacket/krb5/kerberosv5.py | 140 | except TypeError: | CODE |
| HIGH | impacket/krb5/kerberosv5.py | 145 | except TypeError: | CODE |
| HIGH | impacket/krb5/kerberosv5.py | 150 | except TypeError: | CODE |
| HIGH | impacket/krb5/kerberosv5.py | 581 | except TypeError: | CODE |
| HIGH | impacket/krb5/kerberosv5.py | 586 | except TypeError: | CODE |
| HIGH | impacket/krb5/kerberosv5.py | 591 | except TypeError: | CODE |
| HIGH | impacket/krb5/kerberosv5.py | 780 | except Exception: | CODE |
| HIGH | impacket/krb5/kerberosv5.py | 778 | except Exception: | CODE |
| HIGH | impacket/examples/secretsdump.py | 1111 | except: | CODE |
| 119 more matches not shown… | ||||
| 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 | 52 | except Exception: | CODE |
| MEDIUM | impacket/tds.py | 1137 | def _open_pipe(self): | CODE |
| MEDIUM | impacket/tds.py | 1435 | def disconnect(self): | CODE |
| LOW⚡ | impacket/tds.py | 1187 | except Exception as e: | CODE |
| LOW⚡ | impacket/tds.py | 1192 | except Exception as e: | CODE |
| LOW⚡ | impacket/tds.py | 1197 | except Exception as e: | CODE |
| LOW | impacket/tds.py | 1108 | except Exception as e: | CODE |
| LOW | impacket/tds.py | 1403 | except Exception: | CODE |
| LOW | impacket/tds.py | 1427 | except Exception: | CODE |
| LOW | impacket/tds.py | 1712 | except Exception as e: | CODE |
| LOW | impacket/tds.py | 1719 | except Exception: | CODE |
| LOW | impacket/tds.py | 1876 | except Exception as e: | CODE |
| LOW | impacket/smb.py | 3093 | except Exception: | CODE |
| MEDIUM | impacket/smbserver.py | 3043 | def _kerberos_auth(token, connData, smbServer): | CODE |
| LOW⚡ | impacket/smbserver.py | 1577 | except Exception as e: | CODE |
| LOW⚡ | impacket/smbserver.py | 1588 | except Exception as e: | CODE |
| LOW⚡ | impacket/smbserver.py | 3728 | except Exception as e: | CODE |
| LOW⚡ | impacket/smbserver.py | 3742 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 240 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 383 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 704 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 980 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1174 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1312 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1449 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1636 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1671 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1719 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1917 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 1963 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 2016 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 2203 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 2303 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 2333 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 2751 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 2874 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 3321 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 3604 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 3634 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 3901 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 3972 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 4023 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 4051 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 4325 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 4398 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 5021 | except Exception as e: | CODE |
| LOW | impacket/smbserver.py | 5084 | except Exception as e: | CODE |
| LOW | impacket/mqtt.py | 278 | except Exception: | CODE |
| LOW | impacket/mqtt.py | 355 | except Exception as e: | CODE |
| LOW | impacket/ese.py | 950 | except Exception: | CODE |
| LOW | impacket/acl.py | 382 | except Exception as e: | CODE |
| LOW | impacket/crypto.py | 28 | except Exception: | CODE |
| LOW | impacket/structure.py | 141 | except Exception as e: | CODE |
| LOW | impacket/structure.py | 167 | except Exception as e: | CODE |
| LOW | impacket/structure.py | 488 | except Exception: | CODE |
| LOW | impacket/winregistry.py | 240 | except Exception as e: | CODE |
| LOW | impacket/winregistry.py | 822 | except Exception: | CODE |
| 538 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 | 781 | # If you want, for debugging purposes | COMMENT |
| LOW | impacket/smb3.py | 881 | #in [KILE] 3.1.1.2: | COMMENT |
| LOW | impacket/smb3.py | 1141 | self._Connection['SupportsEncryption'] = False | COMMENT |
| LOW | impacket/smb3.py | 1641 | # ToDo: | 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_PRIVACY = 6 | COMMENT |
| LOW | impacket/ntlm.py | 101 | NTLMSSP_REQUEST_NON_NT_SESSION_KEY = 0x00400000 | COMMENT |
| LOW | impacket/ntlm.py | 121 | # is NTLMSSP_TARGET_TYPE_SERVER | COMMENT |
| LOW | impacket/ntlm.py | 161 | # If set, requests LAN Manager (LM) session key computation. NTLMSSP_NEGOTIATE_LM_KEY and | COMMENT |
| LOW | impacket/ntlm.py | 681 | keyExchangeKey = KXKEY(ntlmChallenge['flags'], sessionBaseKey, lmResponse, ntlmChallenge['challenge'], password, | COMMENT |
| LOW | impacket/ntlm.py | 701 | # elif responseFlags & NTLMSSP_KEY_56: | 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 | # Aurélien Chalot (@Defte_) added support for MSSQL via named pipe | 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 | # * The MD5 algorithm, as specified in [RFC1321], MUST be used to generate a hash of the SMB | COMMENT |
| LOW | impacket/smbserver.py | 1 | # Impacket - Collection of Python classes for working with network protocols. | COMMENT |
| LOW | impacket/smbserver.py | 3901 | except Exception as e: | COMMENT |
| LOW | impacket/smbserver.py | 4641 | COMMENT | |
| LOW | impacket/smbserver.py | 4661 | # maxDataCount: the max amount of data that can be transferred agreed | COMMENT |
| LOW | impacket/smbserver.py | 4721 | # If SMB command exists, it returns the original function replaced | COMMENT |
| LOW | impacket/smbserver.py | 4821 | def signSMBv1(self, connData, packet, signingSessionKey, signingChallengeResponse): | COMMENT |
| LOW | impacket/smbserver.py | 4961 | # Captured now: a command in this request (e.g. LOGOFF) may clear connData['Uid'] | COMMENT |
| LOW | impacket/smbserver.py | 5081 | else: | 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.__tagToRecord(cursor, tag['EntryData'], 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/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 | # + + | COMMENT |
| LOW | impacket/crypto.py | 101 | # + Algorithm AES-CMAC + | COMMENT |
| LOW | impacket/crypto.py | 121 | # + Step 2. n := ceil(len/const_Bsize); + | COMMENT |
| LOW | impacket/crypto.py | 181 | # + AES-CMAC-PRF-128 + | 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 |
| 389 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | impacket/dns.py | 372 | CODE | |
| LOW | impacket/smb3.py | 424 | CODE | |
| LOW | impacket/smb3.py | 986 | CODE | |
| LOW | impacket/smb3.py | 1822 | CODE | |
| LOW | impacket/IP6_Address.py | 129 | CODE | |
| LOW | impacket/IP6_Address.py | 203 | CODE | |
| LOW | impacket/ntlm.py | 894 | CODE | |
| LOW | impacket/tds.py | 847 | CODE | |
| LOW | impacket/tds.py | 1741 | CODE | |
| LOW | impacket/tds.py | 2232 | CODE | |
| LOW | impacket/tds.py | 2306 | CODE | |
| LOW | impacket/tds.py | 2370 | CODE | |
| LOW | impacket/tds.py | 2696 | CODE | |
| LOW | impacket/tds.py | 2815 | CODE | |
| LOW | impacket/smb.py | 324 | CODE | |
| LOW | impacket/smb.py | 1040 | CODE | |
| LOW | impacket/smb.py | 2950 | CODE | |
| LOW | impacket/smb.py | 3620 | CODE | |
| LOW | impacket/smb.py | 3992 | CODE | |
| LOW | impacket/smb.py | 4093 | CODE | |
| LOW | impacket/smb.py | 4250 | CODE | |
| LOW | impacket/smbserver.py | 391 | CODE | |
| LOW | impacket/smbserver.py | 445 | CODE | |
| LOW | impacket/smbserver.py | 582 | CODE | |
| LOW | impacket/smbserver.py | 726 | CODE | |
| LOW | impacket/smbserver.py | 825 | CODE | |
| LOW | impacket/smbserver.py | 878 | CODE | |
| LOW | impacket/smbserver.py | 1007 | CODE | |
| LOW | impacket/smbserver.py | 1055 | CODE | |
| LOW | impacket/smbserver.py | 1122 | CODE | |
| LOW | impacket/smbserver.py | 1266 | CODE | |
| LOW | impacket/smbserver.py | 1404 | CODE | |
| LOW | impacket/smbserver.py | 1557 | CODE | |
| LOW | impacket/smbserver.py | 1608 | CODE | |
| LOW | impacket/smbserver.py | 1690 | CODE | |
| LOW | impacket/smbserver.py | 1736 | CODE | |
| LOW | impacket/smbserver.py | 1783 | CODE | |
| LOW | impacket/smbserver.py | 1831 | CODE | |
| LOW | impacket/smbserver.py | 1878 | CODE | |
| LOW | impacket/smbserver.py | 1936 | CODE | |
| LOW | impacket/smbserver.py | 1982 | CODE | |
| LOW | impacket/smbserver.py | 2172 | CODE | |
| LOW | impacket/smbserver.py | 2220 | CODE | |
| LOW | impacket/smbserver.py | 2401 | CODE | |
| LOW | impacket/smbserver.py | 2538 | CODE | |
| LOW | impacket/smbserver.py | 3131 | CODE | |
| LOW | impacket/smbserver.py | 3346 | CODE | |
| LOW | impacket/smbserver.py | 3532 | CODE | |
| LOW | impacket/smbserver.py | 3696 | CODE | |
| LOW | impacket/smbserver.py | 3766 | CODE | |
| LOW | impacket/smbserver.py | 3827 | CODE | |
| LOW | impacket/smbserver.py | 3935 | CODE | |
| LOW | impacket/smbserver.py | 3984 | CODE | |
| LOW | impacket/smbserver.py | 4363 | CODE | |
| LOW | impacket/smbserver.py | 4940 | 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 | |
| 280 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 | 2128 | 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 | 1333 | def _has_active_tls_channel_binding(self): | CODE |
| LOW | impacket/tds.py | 1365 | def _create_named_pipe_transport( | CODE |
| LOW | impacket/tds.py | 1588 | def generate_cbt_from_tls_unique(self): | CODE |
| LOW | impacket/smb.py | 3399 | def get_server_dns_domain_name(self): | CODE |
| LOW | impacket/smb.py | 3436 | def perform_hostname_validation(self): | CODE |
| LOW | impacket/smbserver.py | 109 | def _parse_negotiate_contexts(data: bytes) -> dict: | 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 | 606 | 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 | 253 | 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 | 475 | 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 | 1665 | def __decrypt_history_entries_aes(self, rid_int, entries): | CODE |
| LOW | impacket/examples/secretsdump.py | 1703 | def __decode_aes_history_block(self, rid_int, data, offset, length): | CODE |
| LOW | impacket/examples/secretsdump.py | 2625 | def _derive_trust_kerberos_keys(rawSecret, domain, partner, isIncoming, partnerFlat=None, localFlat=None): | CODE |
| LOW | impacket/examples/smbclient.py | 888 | def _resolve_path_with_dfs_boundary(self, line): | CODE |
| LOW | impacket/examples/smbclient.py | 979 | def _restore_original_connection(self): | CODE |
| LOW | impacket/examples/ldap_shell.py | 387 | 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 | 181 | def create_authenticate_message(self): | CODE |
| LOW | impacket/examples/ntlmrelayx/utils/spnegoutils.py | 79 | def find_embedded_spnego_token(data): | CODE |
| LOW | impacket/examples/ntlmrelayx/utils/spnegoutils.py | 102 | def build_ntlm_fallback_token(): | CODE |
| LOW | impacket/examples/ntlmrelayx/utils/spnegoutils.py | 110 | def build_ntlm_challenge_token(challenge): | 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 | 404 | def build_tsrequest_challenge(self, challenge_data): | CODE |
| LOW | impacket/examples/ntlmrelayx/servers/socksserver.py | 282 | class SocksRequestHandler(socketserver.BaseRequestHandler): | CODE |
| 215 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 20 | CODE | |
| LOW | impacket/smb3.py | 45 | CODE | |
| LOW | impacket/dpapi_ng.py | 12 | CODE | |
| LOW | impacket/http.py | 30 | CODE | |
| LOW | impacket/smbconnection.py | 31 | CODE | |
| LOW | impacket/dcerpc/v5/transport.py | 30 | 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/rpch.py | 19 | CODE | |
| LOW | impacket/dcerpc/v5/rpch.py | 20 | CODE | |
| LOW | impacket/dcerpc/v5/nrpc.py | 31 | CODE | |
| LOW | impacket/dcerpc/v5/icpr.py | 29 | CODE | |
| LOW | impacket/dcerpc/v5/icpr.py | 33 | CODE | |
| LOW | impacket/dcerpc/v5/nspi.py | 33 | CODE | |
| LOW | impacket/dcerpc/v5/nspi.py | 33 | CODE | |
| LOW | impacket/dcerpc/v5/nspi.py | 36 | CODE | |
| LOW | impacket/dcerpc/v5/nspi.py | 36 | CODE | |
| LOW | impacket/dcerpc/v5/fsrvp.py | 19 | CODE | |
| LOW | impacket/dcerpc/v5/fsrvp.py | 20 | CODE | |
| LOW | impacket/dcerpc/v5/fsrvp.py | 28 | CODE | |
| LOW | impacket/ldap/ldap.py | 38 | CODE | |
| LOW | impacket/ldap/ldap.py | 38 | CODE | |
| LOW | impacket/ldap/ldap.py | 38 | CODE | |
| LOW | impacket/ldap/ldap.py | 45 | CODE | |
| LOW | impacket/ldap/ldap.py | 46 | CODE | |
| LOW | impacket/krb5/keytab.py | 25 | CODE | |
| LOW | impacket/krb5/keytab.py | 25 | CODE | |
| LOW | impacket/krb5/pac.py | 19 | CODE | |
| LOW | impacket/krb5/pac.py | 25 | CODE | |
| LOW | impacket/krb5/kerberosv5.py | 29 | CODE | |
| LOW | impacket/examples/secretsdump.py | 105 | CODE | |
| LOW | impacket/examples/smbclient.py | 31 | CODE | |
| LOW | impacket/examples/ldap_shell.py | 32 | CODE | |
| LOW | impacket/examples/ldap_shell.py | 32 | CODE | |
| LOW | impacket/examples/utils.py | 68 | CODE | |
| LOW | impacket/examples/ntlmrelayx/clients/smbrelayclient.py | 25 | CODE | |
| LOW | impacket/examples/ntlmrelayx/clients/smbrelayclient.py | 45 | CODE | |
| LOW | impacket/examples/ntlmrelayx/clients/smbrelayclient.py | 45 | CODE | |
| LOW | impacket/examples/ntlmrelayx/clients/ldaprelayclient.py | 35 | CODE | |
| LOW | impacket/examples/ntlmrelayx/clients/ldaprelayclient.py | 35 | CODE | |
| LOW | impacket/examples/ntlmrelayx/clients/httprelayclient.py | 22 | CODE | |
| LOW | impacket/examples/ntlmrelayx/clients/httprelayclient.py | 24 | CODE | |
| LOW | impacket/examples/ntlmrelayx/clients/dcsyncclient.py | 18 | CODE | |
| LOW | impacket/examples/ntlmrelayx/clients/dcsyncclient.py | 29 | CODE | |
| LOW | impacket/examples/ntlmrelayx/clients/dcsyncclient.py | 31 | CODE | |
| LOW | impacket/examples/ntlmrelayx/clients/dcsyncclient.py | 34 | CODE | |
| LOW | …packet/examples/ntlmrelayx/utils/shadow_credentials.py | 6 | CODE | |
| LOW | …packet/examples/ntlmrelayx/utils/shadow_credentials.py | 21 | CODE | |
| LOW | impacket/examples/ntlmrelayx/servers/rpcrelayserver.py | 24 | CODE | |
| LOW | impacket/examples/ntlmrelayx/servers/rpcrelayserver.py | 25 | CODE | |
| LOW | impacket/examples/ntlmrelayx/servers/rpcrelayserver.py | 26 | CODE | |
| LOW | …packet/examples/ntlmrelayx/servers/winrmrelayserver.py | 20 | CODE | |
| LOW | impacket/examples/ntlmrelayx/servers/rawrelayserver.py | 24 | CODE | |
| LOW | impacket/examples/ntlmrelayx/servers/rawrelayserver.py | 25 | CODE | |
| LOW | impacket/examples/ntlmrelayx/servers/rawrelayserver.py | 26 | CODE | |
| LOW | impacket/examples/ntlmrelayx/servers/rawrelayserver.py | 28 | CODE | |
| LOW | impacket/examples/ntlmrelayx/servers/rawrelayserver.py | 30 | CODE | |
| LOW | impacket/examples/ntlmrelayx/servers/__init__.py | 11 | CODE | |
| LOW | impacket/examples/ntlmrelayx/servers/__init__.py | 12 | CODE | |
| 68 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | impacket/tds.py | 1451 | # This function is the generic sendTDS packet which is used to embed data into a regular TDS packet | COMMENT |
| MEDIUM | impacket/tds.py | 1480 | # This function is a wrapper that is used to dispatch packets to send depending of the TLS context | COMMENT |
| MEDIUM | impacket/tds.py | 1517 | # This function is the generic recvTDS packet which is used to extract data from a regular TDS packet | COMMENT |
| MEDIUM | impacket/tds.py | 1555 | # This function is a wrapper that is used to dispatch packets to read depending of the TLS context | COMMENT |
| MEDIUM | impacket/tds.py | 1605 | # This function is used to set the TLS context, process the handshak in memory | COMMENT |
| MEDIUM | impacket/smb.py | 126 | 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 | 268 | # 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 | 1122 | # Create a nice shiny new user for the escalation | COMMENT |
| MEDIUM | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 1148 | # Create a nice shiny new user for the escalation | COMMENT |
| MEDIUM | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 1360 | # Create an object ACE with the specified privguid and our sid | COMMENT |
| MEDIUM | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 1377 | # Create an ALLOW ACE with the specified sid | COMMENT |
| MEDIUM | tests/SMB_RPC/test_acl.py | 113 | # Create a new ACE for a different user with R,W permissions | COMMENT |
| MEDIUM | examples/secretsdump.py | 146 | # Create the baseDN | COMMENT |
| MEDIUM | examples/GetADComputers.py | 62 | # Create the baseDN | COMMENT |
| MEDIUM | examples/dacledit.py | 374 | # 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 | 84 | # Create the baseDN | COMMENT |
| MEDIUM | examples/raiseChild.py | 207 | # Create the pipes threads | COMMENT |
| MEDIUM | examples/GetNPUsers.py | 89 | # Create the baseDN | COMMENT |
| MEDIUM | examples/findDelegation.py | 95 | # Create the baseDN | COMMENT |
| MEDIUM | examples/rbcd.py | 55 | # Create an ALLOW ACE with the specified sid | COMMENT |
| MEDIUM | examples/goldenPac.py | 160 | # Create the pipes threads | COMMENT |
| MEDIUM | examples/addcomputer.py | 114 | # Create the baseDN | COMMENT |
| MEDIUM | examples/GetADUsers.py | 58 | # 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 | 102 | # 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 | 128 | SMB_O_OPEN = 0x01 # Open the file if the file exists | CODE |
| LOW⚡ | impacket/smbserver.py | 1581 | # Check if the file was marked for removal | COMMENT |
| LOW⚡ | impacket/smbserver.py | 3732 | # Check if the file was marked for removal | COMMENT |
| LOW | impacket/smbserver.py | 2130 | # Check if the Tid matches the Tid trying to disconnect | COMMENT |
| LOW | impacket/smbserver.py | 2154 | # Check if the Uid matches the user trying to logoff | COMMENT |
| LOW | impacket/smbserver.py | 3360 | #Check if NEGOEX was offered by the client for now, as we havent implemented/supported yet | COMMENT |
| LOW | impacket/smbserver.py | 4172 | # Check if the next data will exceed the OutputBufferLength | COMMENT |
| LOW | impacket/smb3structs.py | 178 | 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 | 513 | # 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 | 874 | # Check if remoteName is FQDN, otherwise it will likely be the hostname only | COMMENT |
| LOW | impacket/examples/secretsdump.py | 2504 | # 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 | 371 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | impacket/examples/ntlmrelayx/servers/rpcrelayserver.py | 425 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | …acket/examples/ntlmrelayx/servers/winrmsrelayserver.py | 571 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | …packet/examples/ntlmrelayx/servers/winrmrelayserver.py | 555 | # 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 | 1002 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | impacket/examples/ntlmrelayx/servers/httprelayserver.py | 557 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | impacket/examples/ntlmrelayx/servers/wcfrelayserver.py | 333 | # Check if SOCKS is enabled and if we support the target scheme | COMMENT |
| LOW | …packet/examples/ntlmrelayx/servers/mssqlrelayserver.py | 475 | # 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 | 366 | # Check if we have a connection for the user | COMMENT |
| LOW | …packet/examples/ntlmrelayx/servers/socksplugins/smb.py | 522 | # 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 | 611 | # Check if the ACE has restrictions on object type (inherited case) | COMMENT |
| LOW⚡ | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 615 | # Verify if the ACE applies to this object type | COMMENT |
| LOW⚡ | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 621 | # Check if this applies to our objecttype | COMMENT |
| LOW | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 653 | # Check if the ACE is an OBJECT ACE, if so the WRITE_DACL is applied to | COMMENT |
| LOW | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 1408 | # Check if an ACE allows for creation of users | COMMENT |
| LOW | impacket/examples/ntlmrelayx/attacks/ldapattack.py | 1416 | # Check if an ACE allows for adding members | COMMENT |
| LOW | tests/dcerpc/test_fsrvp.py | 27 | # Set this to a regular SMB share on the configured target (not an administrative share). | COMMENT |
| LOW | tests/dcerpc/test_fsrvp.py | 88 | # Check if path shadow copied: | COMMENT |
| LOW | examples/badsuccessor.py | 271 | # Check if ACE has relevant rights | COMMENT |
| LOW | examples/GetLAPSPassword.py | 108 | # Check if item is in cache | COMMENT |
| LOW | examples/raiseChild.py | 182 | # Check if we need to copy a file for execution | COMMENT |
| LOW | examples/findDelegation.py | 37 | # Check if SPN exists | COMMENT |
| LOW | examples/rpcdump.py | 110 | # Display results. | COMMENT |
| LOW | examples/samrdump.py | 89 | # Display results. | COMMENT |
| LOW | examples/split.py | 128 | # Open file | COMMENT |
| LOW | examples/goldenPac.py | 135 | # 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 | 187 | CODE | |
| LOW | impacket/smb3.py | 726 | CODE | |
| LOW | impacket/tds.py | 1206 | CODE | |
| LOW | impacket/tds.py | 1365 | CODE | |
| LOW | impacket/tds.py | 1741 | CODE | |
| LOW | impacket/tds.py | 2066 | CODE | |
| LOW | impacket/acl.py | 239 | CODE | |
| LOW | impacket/nmb.py | 622 | CODE | |
| LOW | impacket/smbconnection.py | 63 | CODE | |
| LOW | impacket/smbconnection.py | 296 | CODE | |
| LOW | impacket/smbconnection.py | 440 | CODE | |
| LOW | impacket/smbconnection.py | 507 | CODE | |
| LOW | impacket/dcerpc/v5/dcomrt.py | 995 | CODE | |
| LOW | impacket/dcerpc/v5/dcomrt.py | 1175 | CODE | |
| LOW | impacket/dcerpc/v5/transport.py | 477 | CODE | |
| LOW | impacket/dcerpc/v5/transport.py | 603 | CODE | |
| LOW | impacket/dcerpc/v5/scmr.py | 1334 | CODE | |
| LOW | impacket/dcerpc/v5/scmr.py | 1352 | CODE | |
| LOW | impacket/dcerpc/v5/scmr.py | 1372 | CODE | |
| LOW | impacket/ldap/ldap.py | 206 | CODE | |
| LOW | impacket/ldap/ldap.py | 521 | CODE | |
| LOW | impacket/krb5/kpasswd.py | 284 | CODE | |
| LOW | impacket/krb5/kpasswd.py | 319 | CODE | |
| LOW | impacket/krb5/gssapi.py | 352 | CODE | |
| LOW | impacket/krb5/gssapi.py | 357 | CODE | |
| LOW | impacket/examples/secretsdump.py | 2159 | CODE | |
| LOW | impacket/examples/secretsdump.py | 2818 | 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 | 30 | CODE | |
| LOW | examples/rpcmap.py | 55 | CODE | |
| LOW | examples/samrdump.py | 40 | CODE | |
| LOW | examples/machine_role.py | 51 | CODE | |
| LOW | examples/lookupsid.py | 42 | CODE | |
| LOW | examples/goldenPac.py | 428 | CODE | |
| LOW | examples/changepasswd.py | 140 | CODE | |
| LOW | examples/changepasswd.py | 183 | CODE | |
| LOW | examples/dcomexec.py | 66 | CODE | |
| LOW | examples/smbexec.py | 117 | CODE | |
| LOW | examples/atexec.py | 46 | CODE | |
| LOW | examples/wmiexec.py | 50 | CODE | |
| LOW | examples/psexec.py | 68 | CODE |
| 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/smbserver.py | 82 | """SHA-512(current || data), one step of the SMB 3.1.1 pre-auth integrity hash chain. | STRING |
| 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 | 339 | # PowerShell "gwmi win32_currenttime" command output shows it empty indicating it is $null, so it should be None | STRING |
| 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 | 360 | # ---------- | COMMENT |
| MEDIUM | impacket/examples/utils.py | 385 | # ---------- | 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 |
|---|---|---|---|---|
| CRITICAL⚡ | tests/SMB_RPC/test_wmi.py | 349 | The following lines were added in the impacket.dcerpc.v5.dcom.wmi.IWbemClassObject.SpawnInstance(): | STRING |
| CRITICAL⚡ | tests/SMB_RPC/test_wmi.py | 355 | # 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 | 356 | # 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 | 228 | # (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 | 257 | # (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 | 711 | # For now we just return fake values | COMMENT |
| LOW | impacket/smbserver.py | 3092 | # just use the same key | COMMENT |
| LOW | impacket/examples/secretsdump.py | 579 | # 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 | 239 | # 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 | 56 | # 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 | 684 | # 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 | 438 | # But you can use set_rpc_proxy_url method to set any URL / query you want. | COMMENT |
| LOW | impacket/examples/secretsdump.py | 2400 | 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 | 293 | "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 |