|
1 | 1 | """ |
2 | | - Copyright (c) 2023-2025. Vili and contributors. |
| 2 | +Copyright (c) 2023-2025. Vili and contributors. |
3 | 3 |
|
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. |
8 | 8 |
|
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. |
13 | 13 |
|
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/>. |
16 | 16 | """ |
17 | 17 |
|
18 | 18 | from helper import printer |
@@ -50,7 +50,8 @@ def handle_web_search() -> None: |
50 | 50 | Handles the Web Search util. |
51 | 51 | """ |
52 | 52 | 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 | + ) |
54 | 55 | query = str(printer.inp("Search query : \t")) |
55 | 56 | websearch.websearch(query=query) |
56 | 57 |
|
@@ -117,39 +118,39 @@ def handle_web_scrape() -> None: |
117 | 118 | """ |
118 | 119 | Handles the Web Scrape util. |
119 | 120 | """ |
120 | | - url = str(printer.inp(f"Enter a url : \t")) |
| 121 | + url = str(printer.inp("Enter a url : \t")) |
121 | 122 | web_scrape.scrape(url=url) |
122 | 123 |
|
123 | 124 |
|
124 | 125 | def handle_wifi_finder() -> None: |
125 | 126 | """ |
126 | 127 | Handles the Wi-Fi Finder util. |
127 | 128 | """ |
128 | | - printer.info(f"Scanning for nearby Wi-Fi networks...") |
| 129 | + printer.info("Scanning for nearby Wi-Fi networks...") |
129 | 130 | wifi_finder.scan_nearby_wifi() |
130 | 131 |
|
131 | 132 |
|
132 | 133 | def handle_wifi_vault() -> None: |
133 | 134 | """ |
134 | 135 | Handles the Wi-Fi Password Getter util. |
135 | 136 | """ |
136 | | - printer.info(f"Scanning for locally saved Wi-Fi passwords...") |
| 137 | + printer.info("Scanning for locally saved Wi-Fi passwords...") |
137 | 138 | wifi_vault.get_local_passwords() |
138 | 139 |
|
139 | 140 |
|
140 | 141 | def handle_dir_buster() -> None: |
141 | 142 | """ |
142 | 143 | Handles the Dir Buster util. |
143 | 144 | """ |
144 | | - domain = printer.inp(f"Enter a domain : \t") |
| 145 | + domain = printer.inp("Enter a domain : \t") |
145 | 146 | dirbuster.bust(domain=domain) |
146 | 147 |
|
147 | 148 |
|
148 | 149 | def handle_local_users() -> None: |
149 | 150 | """ |
150 | 151 | Handles the Local User Enum. |
151 | 152 | """ |
152 | | - printer.info(f"Scanning for local accounts...") |
| 153 | + printer.info("Scanning for local accounts...") |
153 | 154 | local_users.scan_for_local_users() |
154 | 155 |
|
155 | 156 |
|
|
0 commit comments