Skip to main content

Posts

Showing posts with the label Programming

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

Classes I'm Taking In My College Semester

My third semester of college has just started. The first 2 semesters were the basics of Engineering. So we had common subjects like Physics, Chemistry and Engineering Mathematics. But now the core Computer Science Engineering subjects have started. These are the subjects I have and what I will learn from them.    Java  Into to Java, Program Control Statements, Arrays,Classes, Objects and Methods Inheritance, Polymorphism and Abstraction Strings Exception Handling Interfaces, Packages, Multi-thread Programming Enumerations, Auto-boxing, Annotations Generics, Streams, Swing Fundamentals Course Outcomes: Implement Object Oriented Programming concepts. Design a GUI using Java programs and Applets. Develop Multi-threaded Applications. Creating Custom Packages and Interfaces. Data Structures and Algorithms with C Asymptotic Notations and Analysis of Algorithms Stacks, Queues and Linked Lists Trees, Graphs Hashing Sorting, Searching and Priority Queues Cour

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

How To Learn Programming For A Cybersecurity Career

This is the first step I took in learning. I had to learn coding and my amazing Googling skills thought me this. Programming is not necessary for InfoSec, but knowing how to program definitely helps and makes your job easier. Let me make this simple: From what I have learned, you only need to know these: C/C++/Java Python JavaScript and PHP   Bash Scripting  Now let me explain. You need to learn any one of  C/C++/Java. Why? These languages teach you the "basics" of programming. C is pretty much used to build every OS.  It is an early language that will teach you the fundamentals of programming. C++ is big brother of C. It will teach you what you didn't learn in C. Java is a more modern version and is the most used fundamental programming language. It is easier to learn than the other two. If you learn learn C/C++ first and then move to Java it will be quite easy. But, if you learn Java first and then want to move to C/C++ it will be very hard.