Skip to content

Commit

Permalink
Merge branch '01-edu:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
xySaad authored Mar 1, 2025
2 parents f85c1cb + 9b86236 commit 461d968
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 8 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,11 @@ We welcome contributions! Feel free to submit a [**🪢 pull request**](https://

Thank you!<br>
**📚 The Content Team**

---

### 🙌 Contributors

We extend our sincere gratitude to all the contributors.

[![Contributors](https://contrib.rocks/image?repo=01-edu/public)](https://github.com/01-edu/public/graphs/contributors)
2 changes: 1 addition & 1 deletion subjects/cybersecurity/hole-in-bin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Download the provided VM image and set it up in VirtualBox or UTM:

- **SHA1 Checksums**:

- SHA1 for `hole-in-bin.ova`: 7db09b7a8fdfe25c286561dfa7ca5b50718bd60c
- SHA1 for `hole-in-bin.ova`: 00fda7d71361240d4d32499eb7fc5b156bbd53fc
- SHA1 for `hole-in-bin.utm.zip`: fc93533b2054d10d03b09d53c223e57bf7ac7b62

This VM contains all the binaries you will need to exploit.
Expand Down
2 changes: 1 addition & 1 deletion subjects/forum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ This project will help you learn about:
- The basics of web :
- HTML
- HTTP
- Sessions and cookies
- [Sessions](https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#session-management-waf-protections) and [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies)
- Using and [setting up Docker](https://docs.docker.com/get-started/)
- Containerizing an application
- Compatibility/Dependency
Expand Down
2 changes: 1 addition & 1 deletion subjects/forum/authentication/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ Some examples of authentication means are:

This project will help you learn about:

- Sessions and cookies
- [Sessions](https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#session-management-waf-protections) and [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies)
- Protecting routes
2 changes: 1 addition & 1 deletion subjects/forum/security/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ For this project you must take into account the security of your forum.

- You should encrypt at least the clients passwords. As a Bonus you can also encrypt the database, for this you will have to create a password for your database.

Sessions and cookies were implemented in the [previous project](../README.md) but not under-pressure (tested in an attack environment). So this time you must take this into account.
[Sessions](https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#session-management-waf-protections) and [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies) were implemented in the [previous project](../README.md) but not under-pressure (tested in an attack environment). So this time you must take this into account.

- Clients session cookies should be unique. For instance, the session state is stored on the server and the session should present an unique identifier. This way the client has no direct access to it. Therefore, there is no way for attackers to read or tamper with session state.

Expand Down
2 changes: 1 addition & 1 deletion subjects/real-time-forum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ This project will help you learn about:
- The basics of web :
- HTML
- HTTP
- Sessions and cookies
- [Sessions](https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#session-management-waf-protections) and [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies)
- CSS
- Backend and Frontend
- DOM
Expand Down
6 changes: 3 additions & 3 deletions subjects/social-network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This is typically divided into three major parts:

The backend may consist, like said above, of an **app** containing all the backend logic. This logic will therefore have several middleware, for example:

- Authentication, since HTTP is a stateless protocol, we can use several ways to overcome and authenticate a client/user. You must use [sessions](https://allaboutcookies.org/what-are-session-cookies) and cookies.
- Authentication, since HTTP is a stateless protocol, we can use several ways to overcome and authenticate a client/user. You must use [sessions](https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#session-management-waf-protections) and [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies).
- Images handling, supporting various types of extensions. In this project you have to handle at least JPEG, PNG and GIF types. You will have to store the images, it can be done by storing the file/path in the database and saving the image in a specific file system.
- Websocket, handling the connections in real time, between clients. This will help with the private chats.

Expand Down Expand Up @@ -135,7 +135,7 @@ In order for the users to use the social network they will have to make an accou

Note that the **Avatar/Image**, **Nickname** and **About Me** should be present in the form but the user can skip the filling of those fields.

When the user logins, he/she should stay logged in until he/she chooses a logout option that should be available at all times. For this you will have to implement [sessions](https://allaboutcookies.org/what-are-session-cookies) and [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies).
When the user logins, he/she should stay logged in until he/she chooses a logout option that should be available at all times. For this you will have to implement [sessions](https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html#session-management-waf-protections) and [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies).

You can implement your own package for sessions and cookies or you can take a look at some packages to help you.

Expand Down Expand Up @@ -229,7 +229,7 @@ Every other notification created by you that isn't on the list is welcomed too.
### Allowed Packages

- The [standard Go](https://golang.org/pkg/) packages are allowed
- [Gorilla](https://pkg.go.dev/github.com/gorilla/websocket) websocket
- [Gorilla websocket](https://pkg.go.dev/github.com/gorilla/websocket)
- [golang-migrate](https://github.com/golang-migrate/migrate/)
- [sql-migration](https://pkg.go.dev/github.com/rubenv/sql-migrate)
- [migration](https://pkg.go.dev/github.com/Boostport/migration)
Expand Down

0 comments on commit 461d968

Please sign in to comment.