Skip to main content

Posts

Showing posts with the label Python

I wrote a Password Wordlist Generator in Python

As I am getting experience and writing simple programs in Python, I wanted to write a "hacking" related program. Not too hard, but not too simple. PasswordListGenerator I think I got the idea from watching a Mr Robot episode, Elliot creates a wordlist for cracking passwords. This gave me an idea and I thought I would do this! So I searched for similar programs to see if something like this existed and I found CUPP and BEWGor. These are absolutely beautiful. They are well written and provide many operations and options for creating a wordlist.   I took the idea of how these programs worked to create the wordlist and applied my version to do the same. Yes, it is not an original idea, but it is my implementation. I have to agree, the best way to get better at a programming language is to do a project. I posted a small GIF showing how the program works on Reddit and it got a good amount of reactions. Turns out, people actually give great advice and mot

How To Learn Python If You Already Know A Different Programming Language

I knew C before I learnt Python. There are differences between the languages, but, it is very easy if Python is your second language. Why learn Python? C has tens of lines of codes which could be done within one line with the help of Python Libraries. Python is just easier and equally powerful. It is also a great scripting language if you wanted to learn a scripting language. If you have a programming background, Python is pretty straightforward to pick up. The most onerous task is learning the libraries and idioms. You already know how programs work and you might have an idea about programming methodology. This makes learning Python a simple process. If you're learning Python and want to do it fast, I recommend this: Learn X in Y minutes(Python) This will teach you the keywords and syntax in a matter of minutes. Most people don't know this, but the official Python docs are a goldmine. It is very well written and is as good as any book. Already knowing how

EmailExtractor - My First Python Project! (And Publishing On GitHub)

Yay! I learnt Python using  this Udemy  course and went forward and made my first Python Project! https://github.com/utpalbalse/EmailExtractor EmailExtractor Extract all emails from a document/text and store it in a txt file. Summary: This is helpful for the people trying to copy lots of emails from a file which has other info(not just emails). Instead of copying each email, this python file extracts all emails from the document/text and stores in a .txt file. I have used the re module and the pyperclip module. Also creating a new file or rewriting the file in Python. I uploaded the project to GitHub and hence have my first open project!

How to learn Python for Cybersecurity

Programming has become essential to cyber security. IT security professional must efficiently write applications and scripts; often on short notice.  The Python language provides unmatched ease, flexibility, and functionality for both new and experienced coders. It has emerged as a top choice for cyber security professionals because it lessens development effort and the coder’s learning curve. Hackers, penetration testers, and other security experts need a language library that provides the entire spectrum of features to create powerful and often novel programs.  Python comes with modules to support Web activities such as parsing HTTP and XML and building clients. Django and other open-source Web frameworks are available from developers favoring the rapid application development methodology. Third-party modules offer robust features, such as optimized calculation handling, that make Python an increasingly solid language for data applications. Pyth