eva-exploit 3.1__tar.gz → 3.2.10__tar.gz

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.
Files changed (26) hide show
  1. {eva_exploit-3.1 → eva_exploit-3.2.10}/PKG-INFO +1 -1
  2. {eva_exploit-3.1 → eva_exploit-3.2.10}/config.py +1 -1
  3. {eva_exploit-3.1 → eva_exploit-3.2.10}/eva.py +19 -1
  4. {eva_exploit-3.1 → eva_exploit-3.2.10}/eva_exploit.egg-info/PKG-INFO +1 -1
  5. {eva_exploit-3.1 → eva_exploit-3.2.10}/pyproject.toml +1 -1
  6. {eva_exploit-3.1 → eva_exploit-3.2.10}/utils/system.py +5 -5
  7. {eva_exploit-3.1 → eva_exploit-3.2.10}/README.md +0 -0
  8. {eva_exploit-3.1 → eva_exploit-3.2.10}/eva_exploit.egg-info/SOURCES.txt +0 -0
  9. {eva_exploit-3.1 → eva_exploit-3.2.10}/eva_exploit.egg-info/dependency_links.txt +0 -0
  10. {eva_exploit-3.1 → eva_exploit-3.2.10}/eva_exploit.egg-info/entry_points.txt +0 -0
  11. {eva_exploit-3.1 → eva_exploit-3.2.10}/eva_exploit.egg-info/requires.txt +0 -0
  12. {eva_exploit-3.1 → eva_exploit-3.2.10}/eva_exploit.egg-info/top_level.txt +0 -0
  13. {eva_exploit-3.1 → eva_exploit-3.2.10}/modules/__init__.py +0 -0
  14. {eva_exploit-3.1 → eva_exploit-3.2.10}/modules/attack_map.py +0 -0
  15. {eva_exploit-3.1 → eva_exploit-3.2.10}/modules/exploit_search.py +0 -0
  16. {eva_exploit-3.1 → eva_exploit-3.2.10}/modules/llm.py +0 -0
  17. {eva_exploit-3.1 → eva_exploit-3.2.10}/modules/prompt_builder.py +0 -0
  18. {eva_exploit-3.1 → eva_exploit-3.2.10}/modules/reporting.py +0 -0
  19. {eva_exploit-3.1 → eva_exploit-3.2.10}/modules/tooling.py +0 -0
  20. {eva_exploit-3.1 → eva_exploit-3.2.10}/modules/vuln_intel.py +0 -0
  21. {eva_exploit-3.1 → eva_exploit-3.2.10}/modules/workflow.py +0 -0
  22. {eva_exploit-3.1 → eva_exploit-3.2.10}/sessions/__init__.py +0 -0
  23. {eva_exploit-3.1 → eva_exploit-3.2.10}/sessions/eva_session.py +0 -0
  24. {eva_exploit-3.1 → eva_exploit-3.2.10}/setup.cfg +0 -0
  25. {eva_exploit-3.1 → eva_exploit-3.2.10}/utils/__init__.py +0 -0
  26. {eva_exploit-3.1 → eva_exploit-3.2.10}/utils/ui.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eva-exploit
3
- Version: 3.1
3
+ Version: 3.2.10
4
4
  Summary: Exploit Vector Agent
5
5
  Author: ARCANGEL0
6
6
  License: MIT
@@ -10,7 +10,7 @@ from pathlib import Path
10
10
 
11
11
  # ================= CONFIG =================
12
12
  APP_NAME = "EVA"
13
- APP_VERSION = "3.1"
13
+ APP_VERSION = "3.2.10"
14
14
  GITHUB_REPO = "arcangel0/EVA"
15
15
  PYPI_PACKAGE = "eva-exploit"
16
16
  API_ENDPOINT = "NOT_SET" # <--- change to your desired endpoint if needed
@@ -9,6 +9,7 @@ from pathlib import Path
9
9
  import requests
10
10
  import itertools
11
11
  import threading
12
+ import argparse
12
13
  # ============ Check modules, and autoinstall if not present ============
13
14
  try:
14
15
  from colorama import Fore, Style, init
@@ -789,5 +790,22 @@ def main():
789
790
  Eva(session, backend).chat()
790
791
 
791
792
 
792
- if __name__ == "__main__":
793
+ def cli():
794
+ parser = argparse.ArgumentParser(add_help=True)
795
+ parser.add_argument("-v", "--version", action="store_true", help="Show EVA version")
796
+ args = parser.parse_args()
797
+
798
+ if args.version:
799
+ try:
800
+ from config import APP_VERSION
801
+ except Exception:
802
+ APP_VERSION = "unknown"
803
+ cyber(f":: E.V.A {APP_VERSION} 🍎", color=Fore.CYAN)
804
+ return 0
805
+
793
806
  main()
807
+ return 0
808
+
809
+
810
+ if __name__ == "__main__":
811
+ raise SystemExit(cli())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eva-exploit
3
- Version: 3.1
3
+ Version: 3.2.10
4
4
  Summary: Exploit Vector Agent
5
5
  Author: ARCANGEL0
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "eva-exploit"
7
- version = "3.1"
7
+ version = "3.2.10"
8
8
  description = "Exploit Vector Agent"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -190,10 +190,10 @@ def checkupdts():
190
190
  if not latest:
191
191
  return
192
192
  if _is_newer(latest, current):
193
- print("\n" + Fore.CYAN + "=" * 40)
194
- print(Fore.CYAN + f"🐱 Update available: {current} → {latest}")
195
- print(Fore.GREEN + "Run: eva -u to update to the latest version")
196
- print("=" * 40 + Fore.CYAN + "\n")
193
+ print("\n" + Fore.CYAN + "." * 40)
194
+ print(Fore.CYAN + f"[!] U P D A T E A V A I L A B L E: {current} → {latest}")
195
+ print(Fore.GREEN + "|> Update eva to latest version running " + Style.BRIGHT + Fore.YELLOW + "eva -u" + Style.RESET_ALL)
196
+ print("." * 40 + Fore.CYAN + "\n")
197
197
 
198
198
 
199
199
  def run_self_update():
@@ -201,7 +201,7 @@ def run_self_update():
201
201
  updated = False
202
202
 
203
203
  pip_result = subprocess.run(
204
- [sys.executable, "-m", "pip", "install", "--upgrade", PYPI_PACKAGE],
204
+ ["sudo",sys.executable, "-m", "pip", "install", "--upgrade", PYPI_PACKAGE],
205
205
  text=True
206
206
  )
207
207
  if pip_result.returncode == 0:
File without changes
File without changes
File without changes
File without changes