Posts

My first Exploit

Image
So In this I am going to show how I used metasploit to gain access to a machine we set up. Remember this is my first exploit so if you are looking for advanced techniques this is not the post for you. One thing I have learned so far that I believe is an advantage to me is that you need to do a lot of research. And why I think that's an advantage is because the company I started originally was designed to do research to find programs to help veteran business owners succeed, based on their demographics. This gave me a lot of experience in google search for one and for another thing I chose to do that because I actually enjoy the hunt of google. Getting lost in searches I don't know why I enjoy it, maybe because it gives me a chance to hyperfocus on something, I don't know. But anyways I am going to show some pictures on how I did it. I understand some think I go overboard on pictures but remember this blog is partially a note taking thing for me. I am using this as a way for ...

Dictionaries

Image
 This is my notes on dictionaries. I found this a fairly straight forward code.  Feel free to reach out on  LinkedIn  or  Twitter  

Functions in Python

Image
 Here are my notes from the functions lesson of the PEH. I think this was a fairly easy lesson to follow along with. My biggest take away I think is the importance of the indentation. As well as the fact that you can have single or multiple parameters. And as a reminder the '#' on the right-hand side of the code are my notes for later. I have always like keeping shorthand reminders that call back things rather than long drawn-out notes. But if you need any clarification please comment or message me on my social medias and I will try and elaborate.  Remember feel free to contact me on  LinkedIn  or  Twitter

Advanced Scripting

Image
 In here we learn a few different things, now this is not a developer course so when I say advanced, I am meaning like advanced beginner. We are not trying to code whole programs. We are simply trying to get exposure to some more advanced techniques that may come in handy while trying to find vulnerabilities in a system for a client. Here we see how to pull letters from a word, pull a word from a sentence split a sentence, join that sentence (and yes I know I spelled it wrong in the program....still worked in the end lol), how to section off part of your sentence to be able to put quotation marks in your sentence, we learn how to search for a letter in a word but also how to look for the letter no matter if its upper or lower case and how to insert a word into a sentence.  Please reach out on  LinkedIn  or  Twitter

Looping

Image
 Looping was pretty self-explanatory and very similar to what we did in bash. So we did for loops, now if we remember and for loop runs from the start to finish of a loop. But we also did a while loop, which continues to execute as long as something is true. Now I got a little ahead of myself and I am going to show you and then I will post the finished correct loop. This is a pretty simple one where it printed the name of the veggies.                             Now can you see the mistake here? I wanted it to print 1,2,3,4,... to10. But I told it to print 1. Now what I thought was worth noting and interesting is that it still only counted to 10 and then stopped. SO just because I had messed up and it didn't print the correct numbers it still ran properly. And this is the correct way, this ended with it printing 1,2,3,4,... As always feel free to reach out on  LinkedIn  or  Twitter

Tuples and Imports

Image
 Today we spent a little time but not much on both Tuples and Imports and since they were such small lessons, instead of making 2 smaller posts I decided to combine them. The instructor said there was more to learn on tuples but we only needed to be able to recognize them.  Important take aways are: They are similar to lists but with () instead of [] They cannot be changed like list can.  Now as far as imports the important thing I took away is that there are certain things in which you might need such as date/time, system information, or different libraries that need to be imported and you can do this with the regular command or you can add an alias so its easier to type. Feel free to reach out on  LinkedIn  or  Twitter

Lists

Image
 This was a fairly simple exercise. Important parts not in the pictures are Lists are always in brackets "[]" and numbering starts at 0. So be mindful your first item in a list is 0 not 1  Feel free to contact me on  LinkedIn  or  Twitter