Skip to content

BriianPowell/Ransomware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ransomware

Ransomware created for CECS 378 at CSULB

Located at: www.onestyle.tech

Classroom Resources:

Using Windows Subsystem for Linux

For Ransomware server:

$ chown :root cecs378.pem
$ chmod 600 cecs378.pem
$ ssh -i cecs378.pem ubuntu@ec2-18-224-216-174.us-east-2.compute.amazonaws.com

Mini-Cheatsheet for Git Instructions:

Helpful Definitions:

  • Master Branch: branch with latest working code (main program)
  • Remote Branch: your current local branch
  • Upstream Branch: branch that can be tracked by GitHub
  • Origin: perform operation on the source of your target

Changing to a New Branch:

making a new branch with all your current work

git checkout -b {newbranchname}

Changing to a Branch:

this is your private workspace

git checkout {branchname}

Pushing to a Branch:

whenever you push, you should ALWAYS ADD, COMMIT, then PULL first

git add .                    // period means "everything", you can optionally chose to add only specific files
git commit -m "message"      // **REQUIRED** every commit requires a message
git pull origin master       // pulls code FROM master TO whichever branch you're on (if you are already on master branch, keyword origin is optional)
        // **ALWAYS** pull before you push (make sure to add and commit first; to avoid overriding data)
git push                     // push to your upstream branch

Order of Operations: Add -> Commit -> Pull -> Push

Pushing to Your Branch for the First Time:

must set upstream so that github can track it

git push -u origin {branchname}    // -u argument is only necessary in your first push on a new branch

View Status of Modified Files:

git status

View Specific Changes Within Files:

git diff                   // overview of things changed
git diff {filename}        // see specific changes in file 
git diff {branchname}      // view differences between branches
:wq                        // exits vim mode

View List of Commits:

git log      // view commit log
git checkout {first 6 characters of chosen checkpoint hash} -b {new branch name}  // checkout log to new branch

About

Ransomware created for CECS 378 at CSULB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages