mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2024-12-23 01:13:11 +07:00
Add Day 6 - Hands-On: Building a weak app
This commit is contained in:
parent
d4fe81252b
commit
bfc931d402
@ -8,7 +8,7 @@ In this final introduction section into DevSecOps, I want to attempt to build an
|
||||
|
||||
### Building our first weak application
|
||||
|
||||
<span style="color:red">**Important Message: This exercise is to highlight bad and weaknesses in an application, Please do not try this at home but beware this is bad practice**</span>
|
||||
<span style="color:red">**Important Message: This exercise is to highlight bad and weaknesses in an application, Please do try this at home but beware this is bad practice**</span>
|
||||
|
||||
At this stage, I am not going to run through my software development environment in any detail. I would generally be using VScode on Windows with WSL2 enabled. We might then use Vagrant to provision dedicated compute instances to VirtualBox all of which I covered throughout the 2022 sections of #90DaysOfDevOps mostly in the Linux section.
|
||||
|
||||
@ -184,6 +184,9 @@ Now edit app/views/bootcamps/show.html.erb and make the description field a raw
|
||||
<%=raw @bootcamp.description %>
|
||||
</p>
|
||||
```
|
||||
I recorded the steps to get to this point below. Hopefully this renders well, something I found GitHub now supports is embedding videos into markdown. (pretty cool!)
|
||||
|
||||
![](images\day06-stage1-creatingapp.mp4)
|
||||
|
||||
Now why this is all relevant is that using raw in the description field means that this field now becomes a potential XSS target. Or cross-site scripting.
|
||||
|
||||
|
BIN
2023/images/day06-stage1-creatingapp.mp4
Normal file
BIN
2023/images/day06-stage1-creatingapp.mp4
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user