forked from underloki/Cyprium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cyprium.py
executable file
·56 lines (47 loc) · 2.63 KB
/
cyprium.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#! /usr/bin/python3
########################################################################
# #
# Cyprium is a multifunction cryptographic, steganographic and #
# cryptanalysis tool developped by members of The Hackademy. #
# French White Hat Hackers Community! #
# www.thehackademy.fr #
# Copyright © 2012 #
# Authors: SAKAROV, Madhatter, mont29, Luxerails, PauseKawa, fred, #
# afranck64, Tyrtamos. #
# Contact: [email protected], [email protected], #
# irc.thehackademy.fr #cyprium, irc.thehackademy.fr #hackademy #
# #
# Cyprium is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published #
# by the Free Software Foundation, either version 3 of the License, #
# or any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but without any warranty; without even the implied warranty of #
# merchantability or fitness for a particular purpose. See the #
# GNU General Public License for more details. #
# #
# The terms of the GNU General Public License is detailed in the #
# COPYING attached file. If not, see : http://www.gnu.org/licenses #
# #
########################################################################
# PEP8
import app
import app.cli
import app.cli.ui
import app.cli.root
import kernel.utils as utils
if __name__ == "__main__":
import argparse
parser = argparse.ArgumentParser(description=""
"Cyprium: main app regrouping many "
"cryptographic/steganographic tools, "
"as well as some cryptanalysis ones.")
parser.add_argument('-d', '--debug', action="store_true", default=False,
help="Enable debug mode.")
args = parser.parse_args()
utils.DEBUG = args.debug
tree = app.cli.Tree(app.cli.root)
ui = app.cli.ui.UI()
tree.main(ui)