mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-12 17:18:30 +02:00
Added code-block for bash in the Sphinx documentatioN;
This commit is contained in:
parent
aa75652549
commit
b85aeda93e
2 changed files with 20 additions and 3 deletions
|
@ -40,6 +40,11 @@ Moreover some methods of steganalysis are provided:
|
|||
- statistical steganalysis.
|
||||
|
||||
|
||||
Turorial
|
||||
========
|
||||
|
||||
More information available at the [[tutorial]] page
|
||||
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
Getting Stéganô
|
||||
===============
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ hg clone https://bitbucket.org/cedricbonhomme/stegano
|
||||
$ cd stegano/
|
||||
$ chmod u+x *.py # if you want to use Stéganô in command line
|
||||
|
@ -32,6 +34,8 @@ Using Stéganô in command line for your scripts
|
|||
Display help
|
||||
------------
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ ./slsb.py --help
|
||||
Usage: slsb.py [options]
|
||||
|
||||
|
@ -55,6 +59,8 @@ Display help
|
|||
Hide and reveal a text message
|
||||
------------------------------
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ ./slsb.py --hide -i ./pictures/Lenna.png -o ./pictures/Lenna_enc.png -m HelloWorld!
|
||||
$ ./slsb.py --reveal -i ./pictures/Lenna_enc.png
|
||||
HelloWorld!
|
||||
|
@ -62,6 +68,8 @@ Hide and reveal a text message
|
|||
Hide and reveal a binary file
|
||||
-----------------------------
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ wget http://www.gnu.org/music/free-software-song.ogg
|
||||
$ ./slsb.py --hide -i ./pictures/Montenach.png -o ./pictures/Montenach_enc.png -f ./free-software-song.ogg
|
||||
$ rm free-software-song.ogg
|
||||
|
@ -70,12 +78,16 @@ Hide and reveal a binary file
|
|||
Hide and reveal a message by using the description field of the image
|
||||
---------------------------------------------------------------------
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ ./exif-header.py --hide -i ./Elisha-Cuthbert.jpg -o ./Elisha-Cuthbert_enc.jpg -f ./fileToHide.txt
|
||||
$ ./exif-header.py --reveal -i ./Elisha-Cuthbert_enc.jpg
|
||||
|
||||
Steganalysis
|
||||
------------
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ ./steganalysis-parity.py -i ./pictures./Lenna_enc.png -o ./pictures/Lenna_enc_st.png
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue