Skip to content

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

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Languages