Skip to content

Commit 802f176

Browse files
committed
code formatting and fix linting warnings
1 parent 39f0afa commit 802f176

21 files changed

+896
-773
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ updates:
1313
groups:
1414
python-packages:
1515
patterns:
16-
- "*"
16+
- "*"

helper/handles.py

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
"""
2-
Copyright (c) 2023-2025. Vili and contributors.
2+
Copyright (c) 2023-2025. Vili and contributors.
33
4-
This program is free software: you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation, either version 3 of the License, or
7-
(at your option) any later version.
4+
This program is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
88
9-
This program is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
9+
This program is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
1313
14-
You should have received a copy of the GNU General Public License
15-
along with this program. If not, see <https://www.gnu.org/licenses/>.
14+
You should have received a copy of the GNU General Public License
15+
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
"""
1717

1818
from helper import printer
@@ -50,7 +50,8 @@ def handle_web_search() -> None:
5050
Handles the Web Search util.
5151
"""
5252
printer.info(
53-
"For advanced searching, you can use DuckDuckGo's advanced syntaxing. Please refer to this guide: \nhttps://duckduckgo.com/duckduckgo-help-pages/results/syntax/")
53+
"For advanced searching, you can use DuckDuckGo's advanced syntaxing. Please refer to this guide: \nhttps://duckduckgo.com/duckduckgo-help-pages/results/syntax/"
54+
)
5455
query = str(printer.inp("Search query : \t"))
5556
websearch.websearch(query=query)
5657

@@ -117,39 +118,39 @@ def handle_web_scrape() -> None:
117118
"""
118119
Handles the Web Scrape util.
119120
"""
120-
url = str(printer.inp(f"Enter a url : \t"))
121+
url = str(printer.inp("Enter a url : \t"))
121122
web_scrape.scrape(url=url)
122123

123124

124125
def handle_wifi_finder() -> None:
125126
"""
126127
Handles the Wi-Fi Finder util.
127128
"""
128-
printer.info(f"Scanning for nearby Wi-Fi networks...")
129+
printer.info("Scanning for nearby Wi-Fi networks...")
129130
wifi_finder.scan_nearby_wifi()
130131

131132

132133
def handle_wifi_vault() -> None:
133134
"""
134135
Handles the Wi-Fi Password Getter util.
135136
"""
136-
printer.info(f"Scanning for locally saved Wi-Fi passwords...")
137+
printer.info("Scanning for locally saved Wi-Fi passwords...")
137138
wifi_vault.get_local_passwords()
138139

139140

140141
def handle_dir_buster() -> None:
141142
"""
142143
Handles the Dir Buster util.
143144
"""
144-
domain = printer.inp(f"Enter a domain : \t")
145+
domain = printer.inp("Enter a domain : \t")
145146
dirbuster.bust(domain=domain)
146147

147148

148149
def handle_local_users() -> None:
149150
"""
150151
Handles the Local User Enum.
151152
"""
152-
printer.info(f"Scanning for local accounts...")
153+
printer.info("Scanning for local accounts...")
153154
local_users.scan_for_local_users()
154155

155156

helper/printer.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
"""
2-
Copyright (c) 2023-2025. Vili and contributors.
2+
Copyright (c) 2023-2025. Vili and contributors.
33
4-
This program is free software: you can redistribute it and/or modify
5-
it under the terms of the GNU General Public License as published by
6-
the Free Software Foundation, either version 3 of the License, or
7-
(at your option) any later version.
4+
This program is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 3 of the License, or
7+
(at your option) any later version.
88
9-
This program is distributed in the hope that it will be useful,
10-
but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
GNU General Public License for more details.
9+
This program is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
1313
14-
You should have received a copy of the GNU General Public License
15-
along with this program. If not, see <https://www.gnu.org/licenses/>.
14+
You should have received a copy of the GNU General Public License
15+
along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
"""
1717

1818
from colorama import Fore, Style

0 commit comments

Comments
 (0)