Skip to content

Trying to merge - #6

Open
cDenton1 wants to merge 33 commits into
mainfrom
test-check
Open

Trying to merge#6
cDenton1 wants to merge 33 commits into
mainfrom
test-check

Conversation

@cDenton1

Copy link
Copy Markdown
Owner

No description provided.

KirkBJ and others added 30 commits April 9, 2025 16:10
HOW DOES THIS FILE KEEP COMING BACK!!!!!!!!!!!!
def log_tls_handshake(self, packet):
    if Raw in packet:
        data = bytes(packet[Raw].load)

        if data.startswith(b'\x16\x03'):  # TLS record
            handshake_type = data[5]

            if handshake_type == 0x01:
                self.alert_system.send_alert("[Low] TLS Client Hello Detected")
                self.log_packet("TLS_Client_Hello", "Low", packet)
            elif handshake_type == 0x02:
                self.alert_system.send_alert("[Low] TLS Server Hello Detected")
                self.log_packet("TLS_Server_Hello", "Low", packet)
            elif handshake_type == 0x0b:
                self.alert_system.send_alert("[Medium] TLS Certificate Sent")
                self.log_packet("TLS_Certificate", "Medium", packet)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants