mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-05-12 17:18:30 +02:00
Updated command line and README.
This commit is contained in:
parent
2814f04f80
commit
1ce140d638
6 changed files with 16 additions and 10 deletions
10
README.rst
10
README.rst
|
@ -71,7 +71,13 @@ Hide a message
|
|||
|
||||
.. code:: bash
|
||||
|
||||
$ lsb hide -i ./tests/sample-files/Lenna.png -m "Secret Message" -o Lena1.png
|
||||
$ stegano-lsb hide -i ./tests/sample-files/Lenna.png -m "Secret Message" -o Lena1.png
|
||||
|
||||
Reveal the message
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
||||
$ stegano-lsb reveal -i Lena1.png
|
||||
Secret Message
|
||||
|
||||
|
||||
Hide the message with the Sieve of Eratosthenes
|
||||
|
@ -79,7 +85,7 @@ Hide the message with the Sieve of Eratosthenes
|
|||
|
||||
.. code:: bash
|
||||
|
||||
$ lsb-set hide -i ./tests/sample-files/Lenna.png -m 'Secret Message' --generator eratosthenes -o Lena2.png
|
||||
$ stegano-lsb-set hide -i ./tests/sample-files/Lenna.png -m 'Secret Message' --generator eratosthenes -o Lena2.png
|
||||
|
||||
The message will be scattered in the picture, following a set described by the
|
||||
Sieve of Eratosthenes. Other sets are available. You can also use your own
|
||||
|
|
|
@ -32,7 +32,7 @@ except:
|
|||
from stegano import tools
|
||||
|
||||
import argparse
|
||||
parser = argparse.ArgumentParser(prog='lsb')
|
||||
parser = argparse.ArgumentParser(prog='stegano-lsb')
|
||||
subparsers = parser.add_subparsers(help='sub-command help', dest='command')
|
||||
|
||||
# Subparser: Hide
|
|
@ -36,7 +36,7 @@ except:
|
|||
from stegano import tools
|
||||
|
||||
import argparse
|
||||
parser = argparse.ArgumentParser(prog='lsb-set')
|
||||
parser = argparse.ArgumentParser(prog='stegano-lsb-set')
|
||||
subparsers = parser.add_subparsers(help='sub-command help', dest='command')
|
||||
|
||||
# Subparser: Hide
|
|
@ -32,7 +32,7 @@ except:
|
|||
from PIL import Image
|
||||
|
||||
import argparse
|
||||
parser = argparse.ArgumentParser(prog='steganalysis-parity')
|
||||
parser = argparse.ArgumentParser(prog='stegano-steganalysis-parity')
|
||||
parser.add_argument("-i", "--input", dest="input_image_file",
|
||||
help="Image file")
|
||||
parser.add_argument("-o", "--output", dest="output_image_file",
|
|
@ -33,7 +33,7 @@ except:
|
|||
from PIL import Image
|
||||
|
||||
import argparse
|
||||
parser = argparse.ArgumentParser(prog='steganalysis-parity')
|
||||
parser = argparse.ArgumentParser(prog='stegano-steganalysis-parity')
|
||||
parser.add_argument("-i", "--input", dest="input_image_file",
|
||||
help="Image file")
|
||||
parser.add_argument("-o", "--output", dest="output_image_file",
|
8
setup.py
8
setup.py
|
@ -20,11 +20,11 @@ packages = [
|
|||
]
|
||||
|
||||
scripts = [
|
||||
'bin/lsb',
|
||||
'bin/lsb-set',
|
||||
'bin/stegano-lsb',
|
||||
'bin/stegano-lsb-set',
|
||||
'bin/stegano-red',
|
||||
'bin/steganalysis-parity',
|
||||
'bin/steganalysis-statistics'
|
||||
'bin/stegano-steganalysis-parity',
|
||||
'bin/stegano-steganalysis-statistics'
|
||||
]
|
||||
|
||||
requires = ['pillow', 'piexif', 'crayons']
|
||||
|
|
Loading…
Add table
Reference in a new issue