mirror of
https://github.com/cedricbonhomme/Stegano.git
synced 2025-06-28 19:26:14 +02:00
Added a command line for the 'red' module.
This commit is contained in:
parent
4a45689298
commit
086c3898b7
5 changed files with 94 additions and 2 deletions
|
@ -72,6 +72,12 @@ parser_reveal.add_argument("-o", dest="secret_binary",
|
|||
|
||||
arguments = parser.parse_args()
|
||||
|
||||
try:
|
||||
arguments.generator_function
|
||||
except AttributeError:
|
||||
print('You must specify the name of a generator.')
|
||||
parser.print_help()
|
||||
exit(1)
|
||||
|
||||
try:
|
||||
generator = getattr(generators, arguments.generator_function)()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue