diff --git a/app/ctfsolver.egg-info/PKG-INFO b/app/ctfsolver.egg-info/PKG-INFO index 9a0fef9..6da375b 100644 --- a/app/ctfsolver.egg-info/PKG-INFO +++ b/app/ctfsolver.egg-info/PKG-INFO @@ -19,6 +19,7 @@ Requires-Dist: wheel>=0.37.0 Provides-Extra: dev Requires-Dist: pytest>=6.2.4; extra == "dev" Requires-Dist: twine>=3.4.2; extra == "dev" +Requires-Dist: pipdeptree>=2.0.0; extra == "dev" Provides-Extra: docs Requires-Dist: pdoc3>=0.11.4; extra == "docs" diff --git a/app/ctfsolver.egg-info/requires.txt b/app/ctfsolver.egg-info/requires.txt index aa9b97f..079f265 100644 --- a/app/ctfsolver.egg-info/requires.txt +++ b/app/ctfsolver.egg-info/requires.txt @@ -7,6 +7,7 @@ wheel>=0.37.0 [dev] pytest>=6.2.4 twine>=3.4.2 +pipdeptree>=2.0.0 [docs] pdoc3>=0.11.4 diff --git a/app/ctfsolver/src/manager_connections.py b/app/ctfsolver/src/manager_connections.py index 63080c0..cd75ede 100644 --- a/app/ctfsolver/src/manager_connections.py +++ b/app/ctfsolver/src/manager_connections.py @@ -1,5 +1,4 @@ import pwn -from warnings import deprecated class ManagerConnections: @@ -56,9 +55,8 @@ def connect(self, *args, **kwargs) -> None: elif self.conn_type == "local" and self.file: self.conn = self.pwn.process(str(self.challenge_file), **kwargs) - @deprecated("Depracated function. Use recv_lines instead.") def recv_menu(self, number=1, display=False, save=False): - pass + raise DeprecationWarning("Depracated function. Use recv_lines instead.") def recv_lines(self, number=1, display=False, save=False): """ diff --git a/app/ctfsolver/src/manager_file.py b/app/ctfsolver/src/manager_file.py index 289fea1..7d0f16e 100644 --- a/app/ctfsolver/src/manager_file.py +++ b/app/ctfsolver/src/manager_file.py @@ -3,7 +3,6 @@ import os import ast from .manager_files_pcap import ManagerFilePcap -from warnings import depracated class ManagerFile(ManagerFilePcap): @@ -208,8 +207,10 @@ def search_files( if save: return output - @depracated("Depracated, checkout search_for_base64_file") def search_for_base64(self, file, *args, **kwargs): + """ + Deprecated: Use search_for_base64_file + """ return self.search_for_base64_file(file, *args, **kwargs) def search_for_base64_file(self, file, *args, **kwargs): diff --git a/build/lib/ctfsolver/src/manager_connections.py b/build/lib/ctfsolver/src/manager_connections.py index 492ceaf..cd75ede 100644 --- a/build/lib/ctfsolver/src/manager_connections.py +++ b/build/lib/ctfsolver/src/manager_connections.py @@ -56,10 +56,7 @@ def connect(self, *args, **kwargs) -> None: self.conn = self.pwn.process(str(self.challenge_file), **kwargs) def recv_menu(self, number=1, display=False, save=False): - """ - Depracated function. Use recv_lines instead. - """ - raise DeprecationWarning("recv_menu is deprecated. Use recv_lines instead.") + raise DeprecationWarning("Depracated function. Use recv_lines instead.") def recv_lines(self, number=1, display=False, save=False): """