moriarty-project 0.1.16__py3-none-any.whl → 0.1.17__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
moriarty/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  from __future__ import annotations
2
2
 
3
3
  __all__ = ["__version__"]
4
- __version__ = "0.1.16"
4
+ __version__ = "0.1.17"
@@ -18,6 +18,7 @@ from .attacks import (
18
18
  # Import utility functions
19
19
  from .utils import (
20
20
  is_root,
21
+ get_wireless_interfaces,
21
22
  check_dependencies,
22
23
  get_network_interfaces,
23
24
  get_monitor_interfaces,
@@ -40,7 +41,7 @@ from .utils import (
40
41
  parse_airodump_csv,
41
42
  parse_airodump_stations,
42
43
  run_command,
43
- get_wireless_interfaces
44
+ command_exists
44
45
  )
45
46
 
46
47
  __all__ = [
@@ -131,23 +131,6 @@ def run_command(cmd: Union[str, List[str]], capture_output: bool = False,
131
131
 
132
132
  try:
133
133
  return subprocess.run(cmd, check=check, **kwargs)
134
- except subprocess.CalledProcessError as e:
135
- logger.error(f"Command failed with exit code {e.returncode}: {' '.join(cmd)}")
136
- if capture_output and e.stderr:
137
- logger.error(f"Error output: {e.stderr.strip()}")
138
- raise
139
-
140
- def get_monitor_interfaces() -> List[str]:
141
- """Retorna a lista de interfaces em modo monitor."""
142
- monitor_ifaces = []
143
-
144
- try:
145
- for interface in netifaces.interfaces():
146
- if interface.endswith('mon'):
147
- monitor_ifaces.append(interface)
148
- else:
149
- try:
150
- with open(f"/sys/class/net/{interface}/type", 'r') as f:
151
134
  if f.read().strip() == '803': # ARPHRD_IEEE80211_RADIOTAP
152
135
  monitor_ifaces.append(interface)
153
136
  except (IOError, FileNotFoundError):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moriarty-project
3
- Version: 0.1.16
3
+ Version: 0.1.17
4
4
  Summary: Client-side OSINT toolkit with forensic-grade evidence handling.
5
5
  Project-URL: Homepage, https://github.com/DonatoReis/moriarty
6
6
  Project-URL: Documentation, https://github.com/DonatoReis/moriarty#readme
@@ -98,7 +98,7 @@ Description-Content-Type: text/markdown
98
98
  <!-- Badges -->
99
99
  <p align="center">
100
100
  <a href="https://pypi.org/project/moriarty-project/">
101
- <img src="https://img.shields.io/badge/version-0.1.15-blue" alt="Version 0.1.15">
101
+ <img src="https://img.shields.io/badge/version-0.1.17-blue" alt="Version 0.1.17">
102
102
  </a>
103
103
  <a href="https://www.python.org/downloads/">
104
104
  <img src="https://img.shields.io/pypi/pyversions/moriarty-project?color=blue" alt="Python Versions">
@@ -1,4 +1,4 @@
1
- moriarty/__init__.py,sha256=a_lELIos9-QZM7ytLsC8RAwIe5OBWryXfyjLrbMZfLI,85
1
+ moriarty/__init__.py,sha256=L2fbjocaZTjJE15HUUNFYfcFQWfvjP1fcAB1QUShkbU,85
2
2
  moriarty/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  moriarty/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  moriarty/assets/modules/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -401,7 +401,7 @@ moriarty/modules/waf_detector.py,sha256=5biF5OVBHbLAj_5x0ZXzCS-94bQeJNzIcYm7kMDA
401
401
  moriarty/modules/wayback_discovery.py,sha256=sJN9at7Py-ZiUWuwnMU7fHOc_F3WwN1R3Y72qNSmxck,8573
402
402
  moriarty/modules/web_crawler.py,sha256=hxWbnD2GO_IbIb2FChCxCesgGu4dNhlloVqr5u1MC1k,5890
403
403
  moriarty/modules/wifippler/__init__.py,sha256=x3Qs7_qVtVjaf8V2hVJxbjEJNK66tOcic1NCS6ZQNQ4,1316
404
- moriarty/modules/wifippler/core/__init__.py,sha256=G2fiP2pTofMo7UcWKzwoVggbCexcR3zNWSYFmM9AWRk,1812
404
+ moriarty/modules/wifippler/core/__init__.py,sha256=2WBNJv6ipNpG3McJ3sBu4zJrFshP6Aan6dch_LHvDM4,1832
405
405
  moriarty/modules/wifippler/core/scanner.py,sha256=bjCBwDAybUMintwfUORZEl24Wr0zRJHfVg-j8-OUoKg,34193
406
406
  moriarty/modules/wifippler/core/utils.py,sha256=byGdpd0TrwYi9-HrqSDWRIvCTCpPZ9Xw7-ZYQqSnTx4,28135
407
407
  moriarty/modules/wifippler/core/attacks/__init__.py,sha256=Ch9qg0PUB1Q8aSiZuoJRJl5iVyy7muMgZ88e2bkG_Zs,370
@@ -413,7 +413,7 @@ moriarty/modules/wifippler/core/attacks/wpa.py,sha256=meYN_ZOeAghXnht2GWUpLcXAbz
413
413
  moriarty/modules/wifippler/core/attacks/wps.py,sha256=yYx6VITE3QYGBwM8J1RO6yu_r45ZLWNDWwdVMaU6xho,17504
414
414
  moriarty/modules/wifippler/core/models/__init__.py,sha256=J6GPV457hbFy7Tdk2PNKzT8LnO9Cj3xqRDaQ8IoDptA,148
415
415
  moriarty/modules/wifippler/core/models/network.py,sha256=xUi1Ac7LWWsrihq8RfDu9dHLZFN4oALlNvfJhHxWgok,6709
416
- moriarty/modules/wifippler/core/utils/__init__.py,sha256=5XQkC4YR9G_6v5ZQ4djvgRU9eqm8DbS3sMu9DzpgcUI,20796
416
+ moriarty/modules/wifippler/core/utils/__init__.py,sha256=n1WMg5Jy8AbJLCSEAez427wE7QTNwrKhhtIMQoIMN_g,20151
417
417
  moriarty/net/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
418
418
  moriarty/net/dns_cache.py,sha256=JwuDYKqmuSD-hl7PMyyQAen57ut-uvIszYrMKT-i8pY,6022
419
419
  moriarty/net/dns_client.py,sha256=iem7FekC79ruwxWzG6eFkicYJi-urkRV0kNvj9uakM0,6591
@@ -427,7 +427,7 @@ moriarty/tests/test_email_service.py,sha256=mWqimjQRlljZNBuNePvSzhfq5FZ4mljrILGW
427
427
  moriarty/tests/test_models.py,sha256=etklIISEUts3banaSRDSjhv-g6kd4wxucchCmlJkx6Y,1282
428
428
  moriarty/tests/test_orchestrator.py,sha256=Do3M1qnbqPf_1pR3v89FXxhiwfYPZfXRvcfl05isQvs,856
429
429
  moriarty/tests/test_tls_client.py,sha256=bQ46yXlIYNZwPTd8WGs6eUynHj56hVosxBycSU1gJe4,461
430
- moriarty_project-0.1.16.dist-info/METADATA,sha256=8atadpMcE8EdRq8LqBqtAfz69AerY7QL7EXOGTY_SwQ,11709
431
- moriarty_project-0.1.16.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
432
- moriarty_project-0.1.16.dist-info/entry_points.txt,sha256=L4TAUKy7HAy5hT46ZqS6eNOCmUTMi4x7ehZkIkTNnuE,51
433
- moriarty_project-0.1.16.dist-info/RECORD,,
430
+ moriarty_project-0.1.17.dist-info/METADATA,sha256=5Q4nUsqSqJBBCjMtO1qJ2CLNLVnk-dE5f1fplqPIbbY,11709
431
+ moriarty_project-0.1.17.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
432
+ moriarty_project-0.1.17.dist-info/entry_points.txt,sha256=L4TAUKy7HAy5hT46ZqS6eNOCmUTMi4x7ehZkIkTNnuE,51
433
+ moriarty_project-0.1.17.dist-info/RECORD,,