Monthly Archives For July 2017

Vulnerability Assessment

, , No Comment

Vulnerability Assessment – Find vulnerabilities in a system or network – Better than just a port scanner. – Generally considered to be least intrusive. – Penetration testing / port scanning is considered more intrusive. Example:&hellip

Read Post →

Set up a VM using Vagrant

, , No Comment

# Install vagrant. #create a directory to work on vagrant mkdir learnPlaybooks cd learnPlaybooks # use vagrant to create a test virtual machine vagrant init ubuntu/trysty64 A `Vagrantfile` has been placed in this directory. You&hellip

Read Post →

Git Stash Commands

, , No Comment

Most common commands that I use. Self-explanatory. Save and List Stash git stash save “Some message” git stash list # stash is available to all branches. git stash show stash@{0} git stash show -p stash@{0}&hellip

Read Post →

.gitignore file

, , No Comment

Ignoring files in git using .gitignore ====================================== create a .gitignore file and put it in the root of a git project. Typically ignore: -Compiled source code -Packages and compressed files -logs and databases that changes&hellip

Read Post →

Changes to Git – Amend

, , No Comment

1. Undo changes in the working directory git checkout — unmodifiedFileName # — implies that we are not checking out a branch. Stay on the current branch and check out the unmodified file. 2. Undo&hellip

Read Post →

Most Common Git Commands

, , No Comment

git branch -b new_feature git branch –no-merged # show the branches that are not merged yet. git merge –no-ff new-feature -m “merge new-feature branch” git branch -D new-feature # delete the working branch after merge&hellip

Read Post →