-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit fc18083
Showing
6 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM eecs388/project3 | ||
|
||
USER root | ||
|
||
RUN cd /usr/share/john/src && \ | ||
./configure CFLAGS='-DJOHN_SYSTEMWIDE -DJOHN_SYSTEMWIDE_EXEC="\"/usr/share/john/run/john\"" -DJOHN_SYSTEMWIDE_HOME="\"/usr/share/john/run\""' && \ | ||
make -s clean && make -sj$(nproc) | ||
|
||
USER eecs388 | ||
|
||
# If you need to do any additional setup for development | ||
# in the container like installing additional programs, | ||
# do it in this file so that the changes are persisted. | ||
# | ||
# NOTE: you should *NOT* be installing additional Go modules | ||
# here; everything available to you in grading is already installed. | ||
# Installing additional modules may cause your code to become ungradeable. | ||
# | ||
# Example: to install Emacs, we might add: | ||
# RUN sudo apt-get update && sudo apt-get install -y emacs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "EECS 388 Project 3", | ||
"dockerComposeFile": "docker-compose.yml", | ||
"service": "workspace", | ||
"workspaceFolder": "/workspaces/project3", | ||
"remoteUser": "eecs388", | ||
"extensions": [ | ||
"ms-azuretools.vscode-docker", | ||
"ms-python.python" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
services: | ||
wireshark: | ||
image: eecs388/wireshark | ||
restart: always | ||
# Allocate sufficient memory to the Wireshark GUI process. | ||
# If your machine is running out of memory, you might try decreasing this, | ||
# though Wireshark may run into instability if you do so. | ||
shm_size: 2g | ||
# Access Wireshark via http://localhost:3880 in your browser, | ||
# or by vnc://localhost:3881 in a VNC client. | ||
ports: | ||
- 3880:5800 | ||
- 3881:5900 | ||
volumes: | ||
- ..:/workspaces/project3 | ||
- ./preferences:/config/xdg/config/wireshark/preferences | ||
environment: | ||
# Some sensible defaults to give Wireshark's interface enough room to breathe. | ||
# Feel free to change as you wish. | ||
- DISPLAY_WIDTH=1920 | ||
- DISPLAY_HEIGHT=1080 | ||
workspace: | ||
build: . | ||
volumes: | ||
- ..:/workspaces/project3 | ||
# Prevent container from instantly exiting, allowing us to attach terminal | ||
command: /bin/sh -c "sleep infinity" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Make Wireshark's file open dialog open to your project folder. | ||
gui.fileopen.style: SPECIFIED | ||
gui.fileopen.dir: /workspaces/project3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"python.defaultInterpreterPath": "/usr/bin/python3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Project 3 | ||
|
||
Welcome to the USDCE! |