Commit Graph

50 Commits

Author SHA1 Message Date
gabrielg5 27e7e7478d Updating copyright banner... 2024-08-28 17:52:57 -03:00
Gabriel Gonzalez 9b4a139405 Updated Copyright to 2023 2023-07-31 11:48:28 -03:00
Gabriel Gonzalez 8799a1a2c4 Update file banners to reflect Fortra ownership 2022-12-14 17:28:23 -03:00
Martin Gallo cd4fe47cfc Arrange tagline, copyright and license notes across all source files
This was a pending change to:
- Use the same tagline, copyright and license notice across files.
- Remove authors' contacts that are no longer valid (due to affiliation changes).
- Update repository location.
- Update license file with missing licenses (althought those were already in source files).

This doesn't include any change on the source code, nor any change on current copyright or licenses. Just formatting and phrasing to make our and distro's maintainers life easier.
2021-07-20 10:04:27 -03:00
asolino 1c21a460ae Merge branch 'master' into python36 2018-12-05 14:41:11 -03:00
asolino 1ad2683592 Changing Copyright notice 2018-12-05 14:34:58 -03:00
asolino ec77ea3d06 Code cleanup homework
- Optimizing imports
- Removing unused variables
- Still a lot to do.
- Test cases passing OK
2018-12-04 14:47:16 -03:00
asolino 98bdbeb95d Merge branch 'master' into python36 2018-11-20 16:08:27 -03:00
asolino 22d332acac Fixing some errors generated by flake8
- Should address the remaining cases for https://github.com/SecureAuthCorp/impacket/issues/494
2018-11-20 15:42:20 -03:00
asolino 94ec775fa6 Fixing imports 2018-10-11 18:32:32 -03:00
cclauss 25c7e067ee Undefined name: Typo Dot11DataWPADataDecoder --> Dot11WPADataDecoder
Partial fix for #494.  __Dot11DataWPADataDecoder__ is an _undefined name_ in this context but  __Dot11WPADataDecoder__ is defined 10 lines below.
2018-09-28 12:32:33 +02:00
martin_uy 1a12a2d88f In the context of merging pull request #92, we removed the code on UDP decoder that does DHCP decoding based on port numbers. Even though it's a valid heuristic to determine the layer following UDP based on port numbers -and it's going to work in most of the cases, as DHCP services usually run on a well known port that it's not used for any other protocols-, we still want to handle the cases in which those well known ports are used for a different protocol. In this later case, the decoder has to be DataDecoder instead of DHCP Decoder. As a result, is up to the ImpactDecoder client to decide which decoder has to be used for the layers following UDP or TCP, as there is not an unambiguous way of determining that. 2017-01-12 14:23:43 -03:00
martin_uy 9879f1b676 Merge branch 'feature/dhcp' of https://github.com/c0d3z3r0/impacket into c0d3z3r0-feature/dhcp 2017-01-12 14:12:19 -03:00
asolino bcd75b080e Attempting to address situations where TSO (TCP segmentation offload) is present
* I'm not entirely sure this is the right approach to solve this use case. Testing needed.
2016-09-21 20:04:33 -03:00
asolino d2cbe3c260 Adding code to handle IGMP packet
* Applying patch from @nixotic
* Addresses https://github.com/CoreSecurity/impacket/issues/30
2016-09-19 14:40:30 -03:00
Michael Niewoehner c8aabf2810 Adding Decoders for BOOTP and DHCP 2016-09-07 18:04:08 +02:00
Michael Niewoehner a934c89ea2 Add EAPOLDecoder to EthDecoder to get the decoded EAPOL packet from child() 2016-09-02 13:27:32 +02:00
asolino 8c04d96979 Updating copyright notice. Welcome 2016 2016-01-06 14:08:30 -03:00
asolino 8b8f8a6947 Pyton imports fixups
1) Removed unnecesary imports, avoid import * whenever possible
2) Copyright updated
3) Minor typos fixed
4) File formats to Unix (LF)
2015-05-23 11:56:59 -03:00
asolino 4c2e64ad3a Second round of logging change.
Now there should be a single logger called 'impacket' the library uses.
By default is has a NullHandler so nothing is printed, but messages are
forwarded to the upstream logger.

If you are a script using the library and want to set the root logger
with a custom formatter, you can import impacket.examples.logger.

After some testing I'll merge it into master
2015-04-25 14:40:42 -03:00
bethus@gmail.com 79442b597d Sync with CORE internal repository 2014-02-17 20:23:22 +00:00
aurelianocalvo@gmail.com 248b642929 * Moving EAPOL, EAP and WPS decoders to ImpactDecoder to break cyclic dependency.
* Adding copyright header to new files.
2013-09-05 15:37:45 +00:00
aurelianocalvo@gmail.com e521d145bd Plug-in decoders for eap and wps. 2013-09-03 19:48:13 +00:00
bethus@gmail.com 4538240fcc Copyright updates 2012-04-29 21:04:38 +00:00
bethus@gmail.com 9d27274a2a Merge from Impact Engineering team changes to Impacket 2012-03-08 21:48:29 +00:00
pditincho@gmail.com a11cc11a99 Addition of test suites for IP6_Address, IP6 and ICMP6. Several bugfixes and typographic corrections. 2011-06-01 15:10:32 +00:00
pditincho@gmail.com 98ed9275de Addition of support for IP6, ICMP6 and NDP packets. Addition of IP6_Address helper class. 2011-05-26 14:48:34 +00:00
gmoreira@gmail.com f180573798 Update to Core impact internal repository 2010-08-03 16:05:15 +00:00
gmoreira d0a276794a * Fixed keymanager problem in decoders
* Fixed address place where the BSSID address was used. The BSSID address place is based on fromDS and toDS.
* Fixed test-WEPDecoder.py, it used the incorrect address to add the key in the keymanager.
* Tidy up Dot11DataDecoder, replaced individual frame control (Dot11) field setters (set_QoS, set_Addr4, set_privateFrame). 
  Instead we pass through set_dot11_hdr method the Dot11 object, it's the frame control object.
2010-07-08 17:48:44 +00:00
narrowmind f56b2b39e7 - Added Authentication Management Frame.
- Added Association Request Management Frame.
 - Added Association Response Management Frame.
 - Added Disassociation Management Frame.
 - Added Reassociation Request Management Frame.
 - Added Reassociation Response Management Frame.
2010-02-15 19:57:27 +00:00
gmoreira 30bb3a3de4 Merged WEPIntermediate branch to added WEP Encryption/Decryption into trunk 2009-12-08 18:32:43 +00:00
narrowmind d8b30f309b Added management deauthentication frame. 2009-10-08 19:47:20 +00:00
narrowmind 652f0dc53f dot11.py: Added classes to decode ProbeRequest and ProbeResponse dot11 Management frames.
ImpactDecoder.py: + Fixed bug in RadioTap flag field when it's zero
                  + Added decoder for ProbeRequest and ProbeResponse dot11 Management frames.
test-FrameManagementProbeRequest.py: Added testcases for ProbeRequest dot11 Management frames
2009-09-02 22:20:36 +00:00
narrowmind d39a3e5831 Modified encryption handling to support keys 2009-09-01 19:19:41 +00:00
narrowmind 0892e8d906 I miss the method of the instance. :S 2009-08-31 18:56:09 +00:00
narrowmind bb850e8f3b Added Dot11ControlDecoder. 2009-08-26 19:02:04 +00:00
gmoreira 920990bca2 All dot11 packets have no FCS. This depends on the flag FCS_at_end in RadioTap protocol. In this changeset we handle these cases. 2009-08-03 01:48:37 +00:00
gmoreira 4f2bc706ec Started writing the Management Class, its testcase and decoder. 2009-08-02 00:45:30 +00:00
gmoreira c0b8d0f5d0 Added method to decoder base class for get a particular protocol 2009-07-30 15:05:49 +00:00
gmoreira 792e8d98de Fixes in RadioTap decoder. Added testcase for RadioTap decoder 2009-07-29 02:01:15 +00:00
gmoreira 1416fe53d0 Fixes in dot11 decoders. In this context, a testcase was added 2009-07-04 22:25:39 +00:00
gmoreira e77f9e457e Updated WEP/WPA/WPA2 classes
Outlined WEP/WPA/WPA2 decoders
2009-06-30 03:49:08 +00:00
gmoreira 8d3614b095 Outlined of decoders. Although not tested 2009-06-22 05:12:10 +00:00
gera e843556daf Fixing a bug reported by Bernd Deichmann <bd@deichmann-edv.de>.
On some cards, and for some packets, extra data comes after the full packet.
This fix uses the length in the IP header to cut the payload to its real length
2009-02-19 16:05:31 +00:00
gera 65a98cfef8 retabbed 2006-05-23 22:26:51 +00:00
gera 2df6998ef9 copyrights 2006-05-23 21:19:26 +00:00
gera 2ce42b2faf Lots of changes.
SMB rewriten using Structure, added hashes authentication chainable
commands, lots of commands, etc.
DCERPC cleaned up, added authentication and encryption, fragmentation
and more things
2006-05-22 22:16:15 +00:00
max f90e0848d3 fixed icmp unreachable bug 2005-07-28 20:41:59 +00:00
jkohen 3402b56758 Changed source license to Apache. 2003-10-27 17:36:57 +00:00
jkohen 6d01f6287c Initial revision 2003-10-09 17:40:37 +00:00