forked from chu1337/CMS-Exploit-Framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconsole.py
More file actions
33 lines (28 loc) · 763 Bytes
/
console.py
File metadata and controls
33 lines (28 loc) · 763 Bytes
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
#!/usr/bin/env python
# -*- coding:utf-8 -*-
from lib.console import Interface
def main():
logo = """
_______________________
< CMS Exploit Framework >
-----------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\\
||----w |
|| ||
+ -- --=[ CMS Exploit Framework - %s ]
+ -- --=[ %-34s ]
+ -- --=[ %-34s ]
"""
interface = Interface()
print logo % (interface.version(),
"%d CMS" % interface.cms_num(),
"%d Plugins" % interface.plugins_num())
while True:
try:
interface.cmdloop()
except KeyboardInterrupt:
print "Interrupt: use the 'exit' command to quit"
if __name__ == "__main__":
main()