austin-lai / Python-Simple-UDP-Connect-AES-GCM-Decryption

Python Simple UDP Connect using socket with AES GCM decryption to get flag

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Simple UDP Connect AES GCM Decryption

Austin Lai | August 4th, 2021


Python Simple UDP Connect using socket with AES GCM decryption to get flag

Created for one of TryHackMe Room.

Please check out the full script here

Detail of script usage

The script will connect to UDP Server with a specific given port.

Then will need you to send 4 message to UDP server to get response and instruction

  • " hello "
  • " ready "
  • " final " --- First " final " will get the 256 checksum of flag
  • " final " --- Second " final " will get the tag

Then it will decrypt the AES GCM and check the 256 checksum against the one given by UDP Server.

Additionally, you may checkout this link for python aes-gcm encrypt/decrypt



Do let me know any command or step can be improve or you have any question you can contact me via THM message or write down comment below or via FB

About

Python Simple UDP Connect using socket with AES GCM decryption to get flag


Languages

Language:Python 100.0%