⚠ Authorized Use Only — Educational & Penetration Testing Purposes

The techniques, scripts, and tools described in this post are shared strictly for cybersecurity education, CTF practice, and authorized penetration testing. They are intended to be run only against:

Using these techniques against systems, networks, or accounts without the owner's consent is illegal in most jurisdictions and is not endorsed by this blog. If you're learning, practice in an isolated lab (e.g. your own VMs, Kali + Metasploitable, or a CTF platform) rather than on live third-party targets.

Skip to main content

Posts

Showing posts from October, 2021

[OpenSSL]
Sign/Verify the message with Python

Sign & Verify Messages with OpenSSL in Python Introduction We will learn on how we sign our messages / logs with openssl in python as well as verify them. Lets walkthrough the code and learn how we can build signing and verifying mechanism from scratch using python You can also checkout other hacking scripts in this page hacking scripts ## Required Libraries openssl : which will be the base requirement and contains the methods Generate keys ,sign ,verify hashlib : This library will be used to generate the hash sys : This is not mandatory since we are only using this to take command line arguements ## Generate and dump the public/private key Let's first create an object using 'PKey()' ,and generate the dsa keys. Then lets store the keys in diff files using dump method ## Once the keys are generated ,we can now proceed towards signing the message We ...