Impacket
========
[![Latest Version](https://img.shields.io/pypi/v/impacket.svg)](https://pypi.python.org/pypi/impacket/)
[![Build and test Impacket](https://github.com/fortra/impacket/actions/workflows/build_and_test.yml/badge.svg)](https://github.com/fortra/impacket/actions/workflows/build_and_test.yml)
FORTRA. Copyright (C) 2022 Fortra. All rights reserved.
Impacket was originally created by [SecureAuth](https://www.secureauth.com/labs/open-source-tools/impacket), and now maintained by Fortra's Core Security.
Impacket is a collection of Python classes for working with network
protocols. Impacket is focused on providing low-level
programmatic access to the packets and for some protocols (e.g.
SMB1-3 and MSRPC) the protocol implementation itself.
Packets can be constructed from scratch, as well as parsed from
raw data, and the object-oriented API makes it simple to work with
deep hierarchies of protocols. The library provides a set of tools
as examples of what can be done within the context of this library.
What protocols are featured?
----------------------------
* Ethernet, Linux "Cooked" capture.
* IP, TCP, UDP, ICMP, IGMP, ARP.
* IPv4 and IPv6 Support.
* NMB and SMB1, SMB2 and SMB3 (high-level implementations).
* MSRPC version 5, over different transports: TCP, SMB/TCP, SMB/NetBIOS and HTTP.
* Plain, NTLM and Kerberos authentications, using password/hashes/tickets/keys.
* Portions/full implementation of the following MSRPC interfaces: EPM, DTYPES, LSAD, LSAT, NRPC, RRP, SAMR, SRVS, WKST, SCMR, BKRP, DHCPM, EVEN6, MGMT, SASEC, TSCH, DCOM, WMI, OXABREF, NSPI, OXNSPI.
* Portions of TDS (MSSQL) and LDAP protocol implementations.
Maintainer
==========
[Core Security](https://www.coresecurity.com/)
Table of Contents
=================
* [Getting Impacket](#getting-impacket)
* [Setup](#setup)
* [Testing](#testing)
* [Licensing](#licensing)
* [Disclaimer](#disclaimer)
* [Contact Us](#contact-us)
Getting Impacket
================
### Latest version
* Impacket v0.10.0
[![Python versions](https://img.shields.io/pypi/pyversions/impacket.svg)](https://pypi.python.org/pypi/impacket/)
[Current and past releases](https://github.com/fortra/impacket/releases)
### Development version
* Impacket v0.10.1-dev (**[master branch](https://github.com/fortra/impacket/tree/master)**)
[![Python versions](https://img.shields.io/badge/python-3.6%20|%203.7%20|%203.8%20|%203.9-blue.svg)](https://github.com/fortra/impacket/tree/master)
Setup
=====
### Quick start
In order to grab the latest stable release with `pip` run:
python3 -m pip install impacket
> :information_source: This will make the Impacket library available to
your Python code, but will not provide you with the example scripts.
### Installing the library + example scripts
In order to install the library and the example scripts, download and
extract the package, and execute the following command from the
directory where the Impacket's release has been unpacked:
python3 -m pip install .
> :information_source: This will install the library into the default Python
modules path, where you can make use of the example scripts from the directory.
> :warning: Make sure the example scripts you're using are consistent with the
library version that's installed in your python environment.
We recommend using [virtual environments](https://docs.python.org/3/library/venv.html) to
make sure system-wide installations doesn't interfere with it.
### Docker Support
Build Impacket's image:
$ docker build -t "impacket:latest" .
Using Impacket's image:
$ docker run -it --rm "impacket:latest"
Testing
=======
The library leverages the [pytest](https://docs.pytest.org/) framework for organizing
and marking test cases, [tox](https://tox.readthedocs.io/) to automate the process of
running them across supported Python versions, and [coverage](https://coverage.readthedocs.io/)
to obtain coverage statistics.
A [comprehensive testing guide](TESTING.md) is available.
Licensing
=========
This software is provided under a slightly modified version of
the Apache Software License. See the accompanying [LICENSE](LICENSE) file for
more information.
SMBv1 and NetBIOS support based on Pysmb by Michael Teo.
Disclaimer
==========
The spirit of this Open Source initiative is to help security researchers,
and the community, speed up research and educational activities related to
the implementation of networking protocols and stacks.
The information in this repository is for research and educational purposes
and not meant to be used in production environments and/or as part
of commercial products.
If you desire to use this code or some part of it for your own uses, we
recommend applying proper security development life cycle and secure coding
practices, as well as generate and track the respective indicators of
compromise according to your needs.
Contact Us
==========
Whether you want to report a bug, send a patch, or give some suggestions
on this package, reach out to us at https://www.coresecurity.com/about/contact.
For security-related questions check our [security policy](SECURITY.md).
没有合适的资源?快使用搜索试试~ 我知道了~
impacket-master.zip
共310个文件
py:288个
md:5个
yml:3个
需积分: 3 2 下载量 13 浏览量
2023-03-23
15:35:53
上传
评论
收藏 1.61MB ZIP 举报
温馨提示
impacket-master.zip
资源推荐
资源详情
资源评论
收起资源包目录
impacket-master.zip (310个子文件)
ccache-v1 1KB
ccache-v2 1KB
ccache-v3 1KB
ccache-v3-kirbi 1KB
ccache-v4 1KB
ccache-v4-kirbi 1KB
Dockerfile 444B
.gitignore 844B
MANIFEST.in 227B
tox.ini 1KB
LICENSE 8KB
ChangeLog.md 36KB
TESTING.md 11KB
README.md 5KB
bug_report.md 1KB
SECURITY.md 320B
hresult_errors.py 575KB
system_errors.py 565KB
nt_errors.py 381KB
mapi_constants.py 309KB
smbserver.py 226KB
smb.py 158KB
secretsdump.py 135KB
test_ndr.py 125KB
wmi.py 122KB
remcomsvc.py 121KB
tsts.py 119KB
dot11.py 109KB
test_samr.py 100KB
samr.py 96KB
smb3.py 92KB
epm.py 92KB
nrpc.py 91KB
srvs.py 88KB
os_ident.py 74KB
rpcrt.py 70KB
ndr.py 66KB
dcomrt.py 66KB
ImpactPacket.py 65KB
raiseChild.py 61KB
smbrelayx.py 58KB
comev.py 57KB
tds.py 57KB
lsad.py 56KB
ldapattack.py 51KB
goldenPac.py 48KB
smb3structs.py 46KB
smbconnection.py 44KB
scmr.py 44KB
smbrelayserver.py 43KB
drsuapi.py 43KB
test_lsad.py 42KB
ticketer.py 42KB
exchanger.py 41KB
test_nrpc.py 41KB
ntlm.py 41KB
test_srvs.py 40KB
ntfs-read.py 40KB
dhcpm.py 39KB
dpapi.py 39KB
nspi.py 38KB
ese.py 36KB
nmapAnswerMachine.py 36KB
nmb.py 35KB
getST.py 34KB
wkst.py 34KB
ImpactDecoder.py 33KB
test_tsch.py 32KB
oaut.py 32KB
rpch.py 31KB
rrp.py 30KB
tstool.py 30KB
reg.py 30KB
addcomputer.py 30KB
psexec.py 30KB
test_RadioTap.py 29KB
smbrelayclient.py 29KB
ldap_shell.py 29KB
dpapi.py 28KB
test_scmr.py 28KB
test_IP6_Extension_Headers.py 28KB
ccache.py 28KB
dcomexec.py 28KB
karmaSMB.py 28KB
enum.py 28KB
httprelayserver.py 27KB
kerberosv5.py 27KB
test_smbserver.py 27KB
smb.py 26KB
dns.py 26KB
GetUserSPNs.py 26KB
ldap.py 26KB
rprn.py 26KB
ldapasn1.py 25KB
test_rrp.py 25KB
crypto.py 25KB
secretsdump.py 24KB
ntlmrelayx.py 24KB
constants.py 23KB
rbcd.py 23KB
共 310 条
- 1
- 2
- 3
- 4
资源评论
306Safe
- 粉丝: 20
- 资源: 16
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功