Skip to content

Commit

Permalink
Fix: lunar decompiler and regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
remiliacn committed Dec 16, 2024
1 parent 7b7a0a1 commit 06ae354
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion constants/regex.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
WEBHOOK_REGEX = r"(https?:\/\/*discord(app)?\.com\/api\/webhooks\/\d+\/.{68})"
WEBHOOK_REGEX = r"(https?:\/\/.*discord(app)?\.com\/api\/webhooks\/\d+\/.{68})"
WEBHOOK_REGEX_BASE64 = r"(aHR0cHM6Ly9[\d\w]+==)"
TELEGRAM_REGEX = r"([0-9]{10}:[a-zA-Z0-9]{35})"
TELEGRAM_REGEX_BASE64 = r"([MNZO][A-Za-z0-9+/=]{30,})\x00"
Expand Down
3 changes: 2 additions & 1 deletion luna_grabber_decompiler.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from os import getcwd, path
from sys import argv
from typing import List

from loguru import logger
Expand Down Expand Up @@ -45,4 +46,4 @@ def luna_grabber_decompiler(exe_path: str) -> List[str]:


if __name__ == "__main__":
luna_grabber_decompiler(f"{getcwd()}/93483434.exe")
print(luna_grabber_decompiler(argv[1]))

0 comments on commit 06ae354

Please sign in to comment.