Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
270 commits
Select commit Hold shift + click to select a range
bb084df
Ignoring incoming NETBIOS_SESSION_KEEP_ALIVE requests
asolino Nov 29, 2020
21c2d73
Adding implementation of iphlpsvc.dll MSRPC calls
mohemiv Dec 1, 2020
c4e4057
Fixing Travis CI tests
mohemiv Dec 1, 2020
04271a5
Merge pull request #986 from vruello/rpc_smb_timeout
asolino Dec 3, 2020
f0a190a
Merge pull request #995 from mohemiv/master
asolino Dec 3, 2020
e1b9e24
Merge pull request #1005 from mohemiv/iphlp
asolino Dec 3, 2020
fe23976
Merge pull request #1003 from mpgn/patch-1
asolino Dec 3, 2020
aa0c78a
Merge pull request #998 from jagotu/master
asolino Dec 3, 2020
81d1368
Updating to handle missing "renew_till" value.
jakekarnes42 Dec 8, 2020
eaaac86
Adding CVE-2020-17049 exploit
jakekarnes42 Dec 8, 2020
ac30770
Merge pull request #1013 from jakekarnes42/master
asolino Dec 9, 2020
27ca93b
docs: fix simple typo, gettting -> getting
timgates42 Dec 24, 2020
e852343
Added cat command to smbclient
mxrch Dec 26, 2020
c2749e4
Added command description
mxrch Dec 26, 2020
49546f7
Compute NTHash and AESKey for Bronze Bit Attack
snovvcrash Dec 26, 2020
5fd08c3
Merge branch 'master' of https://github.com/snovvcrash/impacket into …
asolino Jan 8, 2021
31dfb9c
Adding banner and adjust date.
asolino Jan 8, 2021
1dec03a
Merge branch 'snovvcrash-master'
asolino Jan 8, 2021
08cc17d
Merge pull request #1020 from snovvcrash/bronze-bit
asolino Jan 11, 2021
7100210
Merge pull request #1017 from timgates42/bugfix_typo_getting
asolino Jan 11, 2021
3673c58
Fixing Python3 issue when serving SOCKS5 requests
asolino Jan 27, 2021
e4904b0
Adding [MS-KILE] 2.2.11 and 2.2.12 structures
asolino Feb 9, 2021
3f3002e
Updating maintainer
Feb 12, 2021
f6ea291
Adding [MS-KILE] 2.2.11 and 2.2.12 pre-authentication types constants
0xdeaddood Mar 2, 2021
df00d15
Adding encryption type constant
0xdeaddood Mar 2, 2021
0dfc99e
Add Pass-the-Hash option
snovvcrash Mar 6, 2021
3ed44b2
Add Pass-the-Hash option
snovvcrash Mar 6, 2021
52e1744
Update description
snovvcrash Mar 8, 2021
04d09b0
Merge branch 'master' of https://github.com/SecureAuthCorp/impacket
aconite33 Mar 9, 2021
82c6d1f
Add PowerShell option for semi-interactive shell
snovvcrash Mar 9, 2021
90b1710
Merge pull request #1035 from snovvcrash/wmiexec-pwsh
0xdeaddood Mar 9, 2021
8b0293e
Add PowerShell option for semi-interactive shells
snovvcrash Mar 11, 2021
9cb5df9
Split arguments by groups
snovvcrash Mar 11, 2021
14578b5
Merge pull request #1034 from snovvcrash/master
0xdeaddood Mar 12, 2021
cb9f7bf
Rename get and put actions
snovvcrash Mar 13, 2021
b7a53d8
Fix PowerShell shell for MMC20 object
snovvcrash Mar 13, 2021
a16198c
Merge pull request #1037 from snovvcrash/wmiexec-pwsh
0xdeaddood Mar 15, 2021
634ea88
User can select comversion #1031
Mar 22, 2021
d9be6fb
Fix the target processor in ntlmrelayx
0xdeaddood Apr 15, 2021
cf683c0
Revert "Fix the target processor in ntlmrelayx"
0xdeaddood Apr 15, 2021
73bf8ca
Fix the target processor in ntlmrelayx
0xdeaddood Apr 15, 2021
efbe78b
Added basic GitHub Actions workflow (#1055)
Apr 16, 2021
976d39a
Attempt to fix Python 3.9 compatibility issue with array.array tostri…
Apr 19, 2021
80b0256
Proper use of array_tobytes missing from #1054
Apr 19, 2021
eaaaf46
Fix Python 3 compat issue with ImpactPacket validate index
Apr 19, 2021
f9453d2
Fixed Ping examples (#1059)
Apr 19, 2021
4cf864f
more universal approach, especially on OSX with homebrew where pip3 a…
Apr 20, 2021
feacde1
Added Get-GPPPassword
ShutdownRepo Apr 21, 2021
fea485d
Attempt to fix Python 3.9 compatibility issue with Thread.is_alive (#…
Apr 21, 2021
adb2302
Refactored the target parsing functions (#1053)
Apr 22, 2021
a45f331
Refactored the credentials parsing functions (#1058)
Apr 22, 2021
019dcc9
Fix the key version number (kvno) assignment
0xdeaddood Apr 22, 2021
cb6d43a
Moved docker container to Python 3.8 (#1057)
Apr 22, 2021
99bd29e
Fix Path Traversal vulnerabilities by checking path prefix against in…
omriinbar Apr 25, 2021
df11c39
Update examples/dcomexec.py
zexusx26 Apr 26, 2021
1ab0aa4
Update examples/dcomexec.py
zexusx26 Apr 26, 2021
f76d2ba
Update examples/wmiexec.py
zexusx26 Apr 26, 2021
7bdfdd9
Update examples/wmiexec.py
zexusx26 Apr 26, 2021
dc699d3
Update examples/wmipersist.py
zexusx26 Apr 26, 2021
4696059
Update examples/wmipersist.py
zexusx26 Apr 26, 2021
b20aea2
Update examples/wmiquery.py
zexusx26 Apr 26, 2021
e0cf5a0
Update examples/wmiquery.py
zexusx26 Apr 26, 2021
900b0f4
Update impacket/dcerpc/v5/dcomrt.py
zexusx26 Apr 26, 2021
fd1d0ea
Merge branch 'master' into user_can_select_comversion
zexusx26 Apr 26, 2021
6688da5
Changed STATUS_ACCESS_DENIED and STATUS_NOT_SUPPORTED to STATUS_OBJEC…
omriinbar Apr 26, 2021
fc72eba
Merge pull request #1044 from zexusx26/user_can_select_comversion
0xdeaddood Apr 27, 2021
0b6f3a0
Update examples/Get-GPPPassword.py
ShutdownRepo Apr 29, 2021
6118e9d
Update examples/Get-GPPPassword.py
ShutdownRepo Apr 29, 2021
91902ea
wmipersist.py: Fixed filterBinding error (#1069)
Apr 30, 2021
49c643b
Merge pull request #1066 from omriinbar/master
0xdeaddood May 3, 2021
f0668f3
Added SimpleSMBServer tests (#1067)
May 3, 2021
24a0ae6
Merge pull request #913 from Rcarnus/httpServerFixes
0xdeaddood May 4, 2021
06af814
Fixed wrong Enum type when dumping credential blob
w0rmh013 May 5, 2021
5b83608
Updated LDAP Shell
UNC1739 May 7, 2021
e3e9af9
RBCD Attack
UNC1739 May 7, 2021
d0d5ad5
Refactor null and default flags table values
franferrax May 8, 2021
9602792
Extend comments about CIM_TYPE_OBJECT not yet implemented properties
franferrax May 8, 2021
2fefb9d
Set the default_value_is_inherited flag when the property is inherited
franferrax May 8, 2021
2546e45
Improve wmipersist.py error checking
franferrax May 8, 2021
cd9965b
Added Input Validation to set_rbcd Command
UNC1739 May 10, 2021
940c4e5
LAPS Password Reading Capability
UNC1739 May 10, 2021
5874558
Added Add Computer Command
UNC1739 May 10, 2021
1595bd3
Updated Help Menu
UNC1739 May 10, 2021
48ee105
Delete ldap_shell.py
UNC1739 May 10, 2021
9d484a8
Remove SMBClient Change
UNC1739 May 10, 2021
2e16ba0
Merge branch 'master' of github.com:AdamCrosser/impacket
UNC1739 May 10, 2021
a0612f0
Merge pull request #1060 from nuschpl/master
0xdeaddood May 17, 2021
7d08404
Enable the machine account created via SAMR in addcomputer.py
0xdeaddood May 18, 2021
e726161
Setup: Using our own recommended pip calls
May 18, 2021
e0ea098
addcomputer.py: Enable the machine account created via SAMR.
0xdeaddood May 18, 2021
2e3cd7c
Tests: Removed some deprecation warnings (#1070)
May 18, 2021
243ce17
Merge pull request #1019 from mxrch/master
0xdeaddood May 19, 2021
6c854da
Update requirements in setup.py
0xdeaddood May 19, 2021
7c21156
Merge pull request #1064 from ShutdownRepo/get-gpppassword
0xdeaddood May 19, 2021
2f5c247
Merge pull request #1076 from AdamCrosser/master
0xdeaddood May 19, 2021
8da84f7
Fixing SessionError in Get-GPPPassword.py
p0dalirius May 25, 2021
986102e
Added single XML file parsing on Get-GPPPassword
p0dalirius May 25, 2021
9d64640
Update Get-GPPPassword.py
p0dalirius May 25, 2021
d96b838
Merge branch 'master' into pr-605-catchup
0xdeaddood May 27, 2021
7dd6abb
Fix error when -silentcommand is not used
0xdeaddood May 27, 2021
0d3a614
Merge pull request #1085 from p0dalirius/fix-get-gpppassword
0xdeaddood May 27, 2021
3fe6088
Merge branch 'master' into pip-install
May 27, 2021
84cdc9d
Update examples/Get-GPPPassword.py
p0dalirius May 28, 2021
6c74308
Update examples/Get-GPPPassword.py
p0dalirius May 28, 2021
8aa5626
Merge pull request #1086 from p0dalirius/get-gpppasswords-add-single-…
0xdeaddood May 28, 2021
be3d990
Update help section
0xdeaddood May 28, 2021
25c62f6
Merge pull request #1088 from SecureAuthCorp/pr-605-catchup
0xdeaddood May 28, 2021
c511b6f
Add offline WMI test for Win32_CurrentTime parsing
franferrax Jun 8, 2021
b68c35d
Execute offline WMI tests in continuous integration system
franferrax Jun 8, 2021
b1499ae
Parse the NdTable when getting object properties
franferrax Jun 8, 2021
bc57bf7
Adapt changes for Python 3
franferrax Jun 8, 2021
f5dab5c
Replace unittest.TextTestRunner.run by unittest.main
franferrax Jun 8, 2021
8849e5a
Minor adjustments in test_win32_current_time_class_parsing
franferrax Jun 8, 2021
090cf0c
About to tag a release
0xdeaddood Jun 9, 2021
90ce4b7
And going back to dev version
0xdeaddood Jun 9, 2021
f9514ee
Create offline test parsing wmipersist.py objects
franferrax Jun 9, 2021
a9e7b64
Revert #1069 fix
franferrax Jun 9, 2021
e82af93
Limit previous fixes to number types
franferrax Jun 9, 2021
f5749ec
Uniformize NullAndDefaultFlag names
franferrax Jun 9, 2021
f1896d2
Fix WMI persist 'obscure' issue described in #1069 comment
franferrax Jun 9, 2021
9d3e92d
added 'mget' to smbclient.py to allow for downloading of multiple fil…
deadjakk Jun 9, 2021
88a913d
added error output for empty mask
deadjakk Jun 9, 2021
fd89393
Merge branch 'master' into pip-install
Jun 10, 2021
1a5ed9d
Clarified disclaimer and added security policy file.
Jun 11, 2021
b81e07e
Merge branch 'master' into pip-install
Jun 16, 2021
d659b78
Tests: Adding coverage on passwords with @
Jun 18, 2021
11f4304
Tests: PEP8 format on misc tests
Jun 18, 2021
81afc66
AD CS relay attack implementation
ExAndroidDev Jun 22, 2021
2ace563
Removed leftover print function
ExAndroidDev Jun 23, 2021
658e0ab
Tests: First batch of changes on refactoring test cases (#1102)
Jun 25, 2021
2eff99f
Merge pull request #1096 from SecureAuthCorp/pip-install
0xdeaddood Jun 25, 2021
40f93aa
Update impacket/examples/smbclient.py
deadjakk Jun 26, 2021
442fac9
updated copyright year to 2021
deadjakk Jun 26, 2021
9170de2
Tests: Moving flake8 steps to a separate job so we fail early and don…
Jun 28, 2021
94881a6
Merge pull request #1095 from deadjakk/master
0xdeaddood Jun 28, 2021
142cacb
Merge pull request #1074 from franferrax/master
0xdeaddood Jun 29, 2021
b08473b
Added rbcd attack script
ShutdownRepo Jun 29, 2021
f43cf08
Add files via upload
cube0x0 Jun 29, 2021
73b9466
added RpcEnumPrinterDrivers
cube0x0 Jun 30, 2021
6bb5ea4
Tests: Continue refactor of test cases (#1112)
Jul 2, 2021
3c943ca
Define flag NTLMSSP_NEGOTIATE_ANONYMOUS
0xdeaddood Jul 2, 2021
0efdf7c
smbserver.py: Added NULL SMBv2 client connection handling
0xdeaddood Jul 2, 2021
4821d64
Merge pull request #1109 from cube0x0/master
0xdeaddood Jul 2, 2021
29ad579
MS-PAR initial
cube0x0 Jul 4, 2021
6da655c
Merge pull request #1114 from cube0x0/master
0xdeaddood Jul 6, 2021
d479c1c
Merge branch 'master' into test-refactor-catchup
Jul 7, 2021
b3a608e
Tests: Removed test files PEP8 warnings
Jul 8, 2021
6cfe404
Merge pull request #1118 from SecureAuthCorp/test-refactor-warnings
Jul 8, 2021
8a344ff
Allow to use NTLM hashes as a new password value
snovvcrash Jul 9, 2021
e4483d4
Fix options parsing for a local account
snovvcrash Jul 9, 2021
2d32383
Tests: Refactored configuration of remote test cases (#1122)
Jul 16, 2021
cd4fe47
Arrange tagline, copyright and license notes across all source files
Jul 7, 2021
51b66c7
Merge branch 'master' into test-refactor-catchup
Jul 20, 2021
0b4a759
Tests: Refactors to some tests
Jul 21, 2021
eb884d8
Merge pull request #1125 from SecureAuthCorp/test-refactor-assert
Jul 23, 2021
8f2cdef
Merge pull request #1073 from w0rmh013/master
0xdeaddood Jul 26, 2021
1636eaa
dpapi.py: Updated description and copyright year.
0xdeaddood Jul 26, 2021
5f1ced6
Merge branch 'master' into ntlmrelayx-adcs-attack
ExAndroidDev Jul 27, 2021
c39fc6e
Tests: Simplify remote configuration (#1131)
Jul 29, 2021
8f67e44
Add more 'password expired' exception checks
snovvcrash Jul 30, 2021
1a67bfa
Returns server time in case of KRB_AP_ERR_SKEW
ShutdownRepo Jul 30, 2021
9d2655f
Trying to add hackndo to the authors
ShutdownRepo Jul 30, 2021
b4957ae
Moving code out of direct if loop
ShutdownRepo Aug 2, 2021
4419d12
Complying MS-RPCH with HTTP/1.1
mohemiv Aug 2, 2021
2b74938
Send auth even if not requested by cert server
Tw1sm Aug 4, 2021
ed9fd5a
prevent replay of already attacked clients
Tw1sm Aug 4, 2021
b73c54b
2x speedup for ntds.dit parsing
skelsec Aug 10, 2021
c9e8199
adding peklist to global filter
skelsec Aug 11, 2021
358fc7c
Merge pull request #1141 from skelsec/master
0xdeaddood Aug 14, 2021
da1d564
Merge pull request #1 from Tw1sm/ntlmrelayx-adcs-attack
ExAndroidDev Aug 15, 2021
5fd2287
Merge branch 'master' into ntlmrelayx-adcs-attack
ExAndroidDev Aug 15, 2021
7bf3302
SMBServer: Various fixes and improvements
Jul 29, 2021
0bf5f05
SMBServer: Added missing query information levels
Jul 30, 2021
7cd166b
SMB Client: Handling empty search count in FindFileBothDirectoryInfo
Aug 2, 2021
ee3b178
SMBServer: Added SMB2 support to QUERY_INFO Request (SMB2_0_INFO_FILE)
0xdeaddood Aug 9, 2021
51cd77b
SMBServer: Enabled SMB_COM_FLUSH method
0xdeaddood Aug 9, 2021
b430018
SMBServer: Fixed directory file attribute on SMB2_FILE_ALL_INFO
Aug 11, 2021
730a2c4
SMBServer: Improved file and path name handling in queryFileInformati…
0xdeaddood Aug 11, 2021
863b3c8
SMBServer: Adding missing info level and fixed structure
Aug 11, 2021
7f939e8
Do NTLM auth when server advertise Negotiate
LZD-TMoreggia Aug 26, 2021
56acc51
Remove stuff not yet in master
LZD-TMoreggia Aug 26, 2021
d593450
Use NTLM if available
LZD-TMoreggia Aug 26, 2021
def1f7c
Merge branch 'master' into smbserver-fixes
Aug 26, 2021
29f7217
Merge pull request #1136 from mohemiv/http-fix
0xdeaddood Aug 27, 2021
5aa97fa
Merge pull request #1147 from SecureAuthCorp/smbserver-fixes
Aug 27, 2021
c348d94
Tests: Refactor DCE/RPC endpoints test cases (#1151)
Sep 3, 2021
fac1720
Merge branch 'master' into test-refactor
Sep 3, 2021
1893ce7
Merge branch 'test-refactor' of https://github.com/SecureAuthCorp/imp…
Sep 3, 2021
29bf6d2
remove unnecessary check
rmaksimov Jan 31, 2021
5c25bab
fix typos
rmaksimov Jan 31, 2021
db758f1
Update httprelayclient.py
LZD-TMoreggia Sep 6, 2021
50c7695
Merge pull request #1146 from LZD-TMoreggia/master
0xdeaddood Sep 6, 2021
ee86a6d
getST.py: fixed wrong example in usage output
exploide Sep 13, 2021
5b4009a
Merge pull request #1153 from exploide/getST-typo
0xdeaddood Sep 17, 2021
0297480
Merge pull request #1133 from ShutdownRepo/kdctime
0xdeaddood Sep 17, 2021
f057477
Removed some deprecation warnings (#1157)
Sep 21, 2021
c588e99
Implementing reg.py ADD functionality in order to be able to modify r…
Gifts Sep 22, 2021
c7bc76f
Changelog (#1159)
Sep 22, 2021
cb84aaa
Implementing reg.py DELETE functionality.
Gifts Sep 22, 2021
a3eaab5
Update header format
snovvcrash Sep 25, 2021
a3bc842
Update header format
snovvcrash Sep 25, 2021
71b5da3
Update header format
snovvcrash Sep 25, 2021
dc2119e
Update header format
snovvcrash Sep 25, 2021
6566392
Refactor target string parsing
snovvcrash Sep 25, 2021
9725f5b
Merge branch 'master' into smbpasswd
0xdeaddood Sep 27, 2021
d2e939d
Merge pull request #1119 from snovvcrash/smbpasswd
0xdeaddood Sep 27, 2021
19ce514
fix typos
rmaksimov Sep 6, 2021
4c0534b
fix displaying destination port number
rmaksimov Jan 31, 2021
5a7a7ad
Merge pull request #1168 from rmaksimov/refactor-crypto
0xdeaddood Sep 28, 2021
2f18e48
Merge pull request #1170 from rmaksimov/fix-ldap-misc
0xdeaddood Sep 28, 2021
ff7c521
Merge pull request #1169 from rmaksimov/fix-typos
0xdeaddood Sep 28, 2021
f2eb379
Small edits to allow RBCD attack from user account
ShutdownRepo Sep 29, 2021
f53eb5f
Update secretsdump.py
p0dalirius Oct 1, 2021
25c74b2
Update secretsdump.py
p0dalirius Oct 1, 2021
f0a3917
Fixes #1079 psexec.py decoding problems on multi bytes characters
p0dalirius Oct 3, 2021
e0751ae
Fixes #1079 psexec.py decoding problems on multi bytes characters, wi…
p0dalirius Oct 3, 2021
1c3fdae
Disable anonymous logon in ntlmrelayx
ly4k Oct 6, 2021
d4d6095
Updated prompt regex
p0dalirius Oct 8, 2021
76f3992
Added -additional-ticket feature for S4U2Proxy for KCD Kerberos only …
ShutdownRepo Oct 10, 2021
3fe2d73
Refactored httpattack.py, implemented AD CS attack as a submodule
ExAndroidDev Oct 13, 2021
8c5eb3f
Refactoring duplicate code to __strip_root_key function
Gifts Oct 13, 2021
f40f86e
Fix argument help to include HKCR (HKEY_CLASSES_ROOT)
Gifts Oct 14, 2021
bbdabd8
Added anonymous session handling in httprelayserver.py
0xdeaddood Oct 14, 2021
cf03f34
Merge pull request #899 from Rcarnus/ldapAttack
0xdeaddood Oct 14, 2021
ff813e4
Merge pull request #1160 from Gifts/master
0xdeaddood Oct 14, 2021
3ff7e6f
Merge pull request #1101 from ExAndroidDev/ntlmrelayx-adcs-attack
0xdeaddood Oct 14, 2021
d583930
Merge pull request #1175 from p0dalirius/fixing_psexec_encodings
0xdeaddood Oct 14, 2021
139e450
Update secretsdump.py
p0dalirius Oct 15, 2021
50d1ec9
Co-authored-by: GeisericII <g.giacobbe1@outlook.it>
ShutdownRepo Oct 15, 2021
c0ec610
Merge pull request #1174 from p0dalirius/master
0xdeaddood Oct 15, 2021
1b74b06
Merge pull request #1179 from ly4k/master
0xdeaddood Oct 21, 2021
20ccf82
Removed unnecessary anonymous login handling.
0xdeaddood Oct 21, 2021
4080879
Update examples/rbcd.py
ShutdownRepo Oct 22, 2021
b66cd36
Merge pull request #1108 from ShutdownRepo/rbcd
0xdeaddood Oct 22, 2021
b5599da
Fixed typos
0xdeaddood Oct 22, 2021
4229481
Merge pull request #1183 from ShutdownRepo/getST-for-kcd-kerberos-only
0xdeaddood Oct 22, 2021
62b8769
Dup fix and file mode changed to 775
ShutdownRepo Oct 25, 2021
ea023b2
Merge pull request #1197 from ShutdownRepo/rbcd
0xdeaddood Oct 26, 2021
0d848d7
About to tag a release
0xdeaddood Oct 27, 2021
ef65bdc
And going back to dev version
0xdeaddood Oct 27, 2021
265ce17
Revert "And going back to dev version"
0xdeaddood Oct 27, 2021
35b14d3
remove mimikatz
galgertz Jul 12, 2023
b2f4b3e
remove examples/services.py
galgertz Jul 13, 2023
ad5edc4
remove examples/smberlayx.py
galgertz Jul 13, 2023
1442d6f
- remove attacks folder
galgertz Jul 13, 2023
f3c9a14
remove removed examples from setup.py
galgertz Jul 13, 2023
87c3a6c
fix README.md
galgertz Jul 16, 2023
5d5ed08
fix test_secretsdump.py
galgertz Jul 16, 2023
a39111f
Merge branch 'test-refactor' into impacket_0_9_24_without_mimikatz
aviadtamir Jul 16, 2023
f982e9c
Merge pull request #5 from galgertz/impacket_0_9_24_without_mimikatz
aviadtamir Jul 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
106 changes: 106 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# GitHub Action workflow to build and run Impacket's tests
#

name: Build and test Impacket

on: [push, pull_request]

env:
DOCKER_TAG: impacket:latests

jobs:
lint:
name: Check syntaxs errors and warnings
runs-on: ubuntu-latest
if:
github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=
github.repository

steps:
- name: Checkout Impacket
uses: actions/checkout@v2

- name: Setup Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install Python dependencies
run: |
python -m pip install flake8

- name: Check syntax errors
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics

- name: Check PEP8 warnings
run: |
flake8 . --count --ignore=E1,E2,E3,E501,W291,W293 --exit-zero --max-complexity=65 --max-line-length=127 --statistics

test:
name: Run unit tests and build wheel
needs: lint
runs-on: ubuntu-latest
if:
github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=
github.repository

strategy:
fail-fast: false
matrix:
tox-env: [py27, py36, py37, py38]
experimental: [false]
include:
- tox-env: py27
python-version: 2.7
- tox-env: py36
python-version: 3.6
- tox-env: py37
python-version: 3.7
- tox-env: py38
python-version: 3.8
- tox-env: py39
python-version: 3.9
experimental: true
env:
TOXENV: ${{ matrix.tox-env }}
continue-on-error: ${{ matrix.experimental }}

steps:
- name: Checkout Impacket
uses: actions/checkout@v2

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip wheel
python -m pip install tox -r requirements.txt -r requirements-test.txt

- name: Run unit tests
run: |
tox -- -m 'not remote'

- name: Build wheel artifact
run: |
python setup.py bdist_wheel

docker:
name: Build docker image
needs: lint
runs-on: ubuntu-latest
if:
github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=
github.repository

continue-on-error: true
steps:
- name: Checkout Impacket
uses: actions/checkout@v2

- name: Build docker image
run: |
docker build -t ${{ env.DOCKER_TAG }} .
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ target/

# PyCharm
.idea

# Test cases configuration
tests/dcetests.cfg
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
allow_failures:
- python: 3.9-dev

install: pip install flake8 tox -r requirements.txt
install: python -m pip install flake8 tox -r requirements.txt

before_script:
# stop the build if there are Python syntax errors or undefined names
Expand Down
203 changes: 0 additions & 203 deletions ChangeLog

This file was deleted.

Loading