diff --git a/ghost/core/console.py b/ghost/core/console.py index 7412f74..c827444 100644 --- a/ghost/core/console.py +++ b/ghost/core/console.py @@ -35,10 +35,9 @@ class Console(Cmd): """ def __init__(self) -> None: - super().__init__(prompt='(%lineghost%end)> ') - - self.devices = {} - self.banner = """%clear%end + super().__init__( + prompt='(%lineghost%end)> ' + intro="""%clear%end .--. .-. .-. : .--': : .' `. : : _ : `-. .--. .--.`. .' @@ -48,6 +47,9 @@ def __init__(self) -> None: --=[ %bold%whiteGhost Framework 8.0.0%end --=[ Developed by EntySec (%linehttps://entysec.com/%end) """ + ) + + self.devices = {} def do_exit(self, _) -> None: """ Exit Ghost Framework. @@ -164,5 +166,4 @@ def shell(self) -> None: :return None: None """ - self.print_empty(self.banner) self.loop()