GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SourceCode-AI/secure_coding

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
local_data
local_data
 
 
malware
malware
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
cheat_sheet.md
cheat_sheet.md
 
 
docker-compose.yml
docker-compose.yml
 
 
host_key_error.png
host_key_error.png
 
 
install_debian.sh
install_debian.sh
 
 
remove_vm.png
remove_vm.png
 
 
secure_coding.Dockerfile
secure_coding.Dockerfile
 
 
sshkey.png
sshkey.png
 
 
vm_creation.png
vm_creation.png
 
 
vm_ip.png
vm_ip.png
 
 

Repository files navigation

Secure Coding Lab exercise

IMPORTANT: always check for the latest version prior to the lab/seminar. Changes may occur

NOTICE: this repository also contains malware samples, it is possible your AV software may show alerts

Instructions & prerequisites:

  • Access to Stratus (stratus.fi.muni.cz)
    • make sure to configure your SSH key under Settings -> Auth -> Public SSH Key

sshkey.png

Installation:

Create a Debian13 VM machine with the default options:

vm_creation.png

Connect to your machine via SSH as root: ssh root@<IP>

You can find the ip at the vm details page vm_ip.png

When the VM boots up, login via ssh and run the following command:

curl "https://raw.githubusercontent.com/SourceCode-AI/secure_coding/refs/heads/master/install_debian.sh"|bash

FAQ

How do I remove the lab machine?

remove_vm.png

How do I generate the SSH key?

On Linux/Mac, run the following commands:

bash$ ssh-keygen -t ed25519
Generating public/private ed25519 key pair.
Enter file in which to save the key (/Users/user/.ssh/id_ed25519)

Public key would be saved under /Users/user/.ssh/id_ed25519.pub

How do I convert multiline key to one liner?

ssh-keygen -i -f /tmp/input_key OR puttygen -O public-openssh tmp/Public-Key

I get this error

host_key_error.png

This means you may have recreate the machine in a short amount of time or the ip was recycled to which you previously connected. You must go to the file path at the highlighted location and remove the host identification lines for that ip address from your known_hosts file. After removing these lines from the file, you should be able to log in back

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.