This shows you the differences between two versions of the page.
|
ii:assignments:s2:stegano [2023/04/24 20:56] florin.stancu |
ii:assignments:s2:stegano [2023/05/24 17:14] (current) florin.stancu |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| - | ====== Main: Web-based steganography tool ====== | + | ====== Web-based steganography tool ====== |
| - | <note important> | + | **Deadline**: |
| - | **Work In Progress:** This is NOT the final version of the text / tasks! Please wait for an official announcement before starting the assignment! | + | * **//04.06.2023//**: <color red>HARD!</color> |
| - | </note> | + | |
| + | **Changelog:** | ||
| + | * //24.05.2023//: ''/image/decode'' & ''/image/last/*'' endpoint clarifications + final deadline! | ||
| ===== Context ===== | ===== Context ===== | ||
| Line 58: | Line 60: | ||
| * ''/image/encode'': receives a [[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type|''multipart/form-data'']] with the following fields (i.e., form names): ''file'' (the uploaded file, binary data) and ''message'' (the string message to embed into the image using steganography); responds with the generated image (as binary downloaded data); the encoded image should also be saved onto the server's disk for later retrieval requests; | * ''/image/encode'': receives a [[https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type|''multipart/form-data'']] with the following fields (i.e., form names): ''file'' (the uploaded file, binary data) and ''message'' (the string message to embed into the image using steganography); responds with the generated image (as binary downloaded data); the encoded image should also be saved onto the server's disk for later retrieval requests; | ||
| * ''/image/last/encoded'': retrieves (i.e., downloads / displays) the binary contents of the last encoded image (no arguments required); | * ''/image/last/encoded'': retrieves (i.e., downloads / displays) the binary contents of the last encoded image (no arguments required); | ||
| - | * ''/image/decode'': takes an encoded image and outputs the original steganography message (using the least significant bits technique); same request / response specification as ''/image/encode''! | + | * ''/image/decode'': takes an encoded image and outputs the original steganography message (using the least significant bits technique); request should have a ''multipart/form-data'' content type and receive a ''file'' field with the stegano-encoded image, and output the decoded message (either as HTML page or as a simple ''plain/text''' output); it should also store the decoded text / binary data (if you wish to support it); |
| - | * ''/image/last/decoded'': retrieves the binary contents of the last decoded image. | + | * ''/image/last/decoded'': retrieves the last decoded plain text (or binary data, if you support this); do not output HTML here, just the raw data (used for test automation purposes). |
| Image formats: use any web-compatible lossless compression format (e.g., ''png'' is a safe choice; for advanced users: ''webp'' ;) ). | Image formats: use any web-compatible lossless compression format (e.g., ''png'' is a safe choice; for advanced users: ''webp'' ;) ). | ||