Skip to content

Commit

Permalink
added deprecated in some functions
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanBindez committed May 22, 2024
1 parent 84c5ee6 commit 9e15c58
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build.rocketfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
git add .
git commit -m ' added deprecated warnings and fixed the command line ip info #5 '
git commit -m ' added deprecated in some functions'
git push -u origin main
git tag v3.3.1
git tag v3.4.0
git push --tag
make clean
make upload
7 changes: 4 additions & 3 deletions direnumerate/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ def __init__(self, file_log):
"""
self.file_log = file_log

@deprecated
def find_in_log(self, keyword: str = None):
"""
Search for the specified keyword in the log file and display matching lines.
Expand Down Expand Up @@ -282,7 +283,7 @@ class InfoIp:
def __init__(self, ip):
self.ip = ip


@deprecated
def ip_calculator(self,
all: bool = False,
verify_valid_ip: bool = False,
Expand Down Expand Up @@ -340,7 +341,7 @@ def ip_calculator(self,
else:
print(Color.RED + "Invalid IP address. Make sure to use the correct format.", + Color.RESET)


@deprecated
def show_info(self):
"""
Display detailed information about the IP address, including its geographical location, hostname, and more.
Expand Down Expand Up @@ -382,7 +383,7 @@ def show_info(self):
ic.ip_calculator(all=True)


@deprecated

class UserScan:
def __init__(self, user_name):
self.user_name = user_name
Expand Down
1 change: 0 additions & 1 deletion direnumerate/ipcalculator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@


def is_valid_ip(ip):
try:
parts = ip.split('.')
Expand Down
2 changes: 1 addition & 1 deletion direnumerate/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.3.1"
__version__ = "3.4.0"

if __name__ == "__main__":
print(__version__)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "direnumerate"
version = "3.3.1"
version = "3.4.0"
authors = [
{ name="Juan Bindez", email="[email protected]" },
]
Expand Down

0 comments on commit 9e15c58

Please sign in to comment.