Updated CHANGELOG.

This commit is contained in:
Cédric Bonhomme 2023-05-23 10:04:06 +02:00
parent e490e32791
commit 0537c13a08
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D
20 changed files with 89 additions and 92 deletions

View file

@ -1,8 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Stegano - Stegano is a pure Python steganography module.
# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information : https://github.com/cedricbonhomme/Stegano
#
@ -26,6 +24,7 @@ __revision__ = "$Date: 2019/06/04 $"
__license__ = "GPLv3"
import inspect
import crayons
try:
@ -34,10 +33,10 @@ try:
except Exception:
print("Install stegano: pipx install Stegano")
from stegano import tools
import argparse
from stegano import tools
class ValidateGenerator(argparse.Action):
def __call__(self, parser, args, values, option_string=None):
@ -76,7 +75,7 @@ def main():
choices=tools.ENCODINGS.keys(),
default="UTF-8",
help="Specify the encoding of the message to hide."
+ " UTF-8 (default) or UTF-32LE.",
" UTF-8 (default) or UTF-32LE.",
)
# Generator
@ -131,7 +130,7 @@ def main():
choices=tools.ENCODINGS.keys(),
default="UTF-8",
help="Specify the encoding of the message to reveal."
+ " UTF-8 (default) or UTF-32LE.",
" UTF-8 (default) or UTF-32LE.",
)
# Generator
@ -179,7 +178,7 @@ def main():
generator = getattr(generators, arguments.generator_function[0])()
except AttributeError:
print("Unknown generator: {}".format(arguments.generator_function))
print(f"Unknown generator: {arguments.generator_function}")
exit(1)
if arguments.command == "hide":
@ -223,6 +222,6 @@ def main():
all_generators = inspect.getmembers(generators, inspect.isfunction)
for generator in all_generators:
print("Generator id:")
print(" {}".format(crayons.green(generator[0], bold=True)))
print(f" {crayons.green(generator[0], bold=True)}")
print("Desciption:")
print(" {}".format(generator[1].__doc__))
print(f" {generator[1].__doc__}")

View file

@ -1,8 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Stegano - Stegano is a pure Python steganography module.
# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information : https://github.com/cedricbonhomme/Stegano
#
@ -24,10 +22,10 @@ __version__ = "$Revision: 0.7 $"
__date__ = "$Date: 2016/08/25 $"
__license__ = "GPLv3"
from PIL import Image
import argparse
from PIL import Image
try:
from stegano.steganalysis import parity
except Exception:

View file

@ -1,8 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Stegano - Stegano is a pure Python steganography module.
# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information : https://github.com/cedricbonhomme/Stegano
#

View file

@ -1,8 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Stegano - Stegano is a pure Python steganography module.
# Copyright (C) 2010-2022 Cédric Bonhomme - https://www.cedricbonhomme.org
# Copyright (C) 2010-2023 Cédric Bonhomme - https://www.cedricbonhomme.org
#
# For more information : https://github.com/cedricbonhomme/Stegano
#
@ -25,10 +23,10 @@ __date__ = "$Date: 2016/08/26 $"
__revision__ = "$Date: 2016/08/26 $"
__license__ = "GPLv3"
from PIL import Image
import argparse
from PIL import Image
try:
from stegano.steganalysis import statistics
except Exception: