Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ii:assignments:s2:stegano [2023/04/26 11:36]
florin.stancu
ii:assignments:s2:stegano [2023/05/24 17:14] (current)
florin.stancu
Line 3: Line 3:
 ====== Web-based steganography tool ====== ====== Web-based steganography tool ======
  
 +**Deadline**:​
 +  * **//​04.06.2023//​**:​ <color red>​HARD!</​color>​
 +
 +**Changelog:​**
 +  * //​24.05.2023//:​ ''/​image/​decode''​ & ''/​image/​last/​*''​ endpoint clarifications + final deadline!
  
 ===== Context ===== ===== Context =====
Line 55: 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''​ ;) ).
ii/assignments/s2/stegano.1682498216.txt.gz · Last modified: 2023/04/26 11:36 by florin.stancu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0