cloudevil 1.0.8__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.
Potentially problematic release.
This version of cloudevil might be problematic. Click here for more details.
- cloudevil/__init__.py +34 -0
- cloudevil/__main__.py +7 -0
- cloudevil/cloudevil_core.cpython-314-aarch64-linux-android.so +0 -0
- cloudevil-1.0.8.dist-info/METADATA +109 -0
- cloudevil-1.0.8.dist-info/RECORD +8 -0
- cloudevil-1.0.8.dist-info/WHEEL +5 -0
- cloudevil-1.0.8.dist-info/entry_points.txt +2 -0
- cloudevil-1.0.8.dist-info/top_level.txt +1 -0
cloudevil/__init__.py
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
from .cloudevil_core import *
|
|
2
|
+
from .cloudevil_core import __all__, __version__, CHANNEL, DEV_NAME, PRIVATE, VERSION
|
|
3
|
+
from .cloudevil_core import (
|
|
4
|
+
ensure_dependencies, ensure_python, ensure_system,
|
|
5
|
+
install, status, is_termux,
|
|
6
|
+
get_token, get_token_sync, get_token_async,
|
|
7
|
+
get_htoken, get_htoken_sync, get_htoken_async,
|
|
8
|
+
solve, solve_sync, solve_turnstile,
|
|
9
|
+
extract_sitekey,
|
|
10
|
+
format_response,
|
|
11
|
+
ensure_chromium_launcher,
|
|
12
|
+
find_browser,
|
|
13
|
+
main,
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
import os as _os
|
|
17
|
+
import threading as _threading
|
|
18
|
+
import sys as _sys
|
|
19
|
+
|
|
20
|
+
# Multi-version support is gone: this wheel targets CPython 3.14 only.
|
|
21
|
+
# The extension lives at the package root as cloudevil_core.cpython-314-*.so
|
|
22
|
+
# so a plain "from .cloudevil_core import *" above already imported it.
|
|
23
|
+
|
|
24
|
+
if _os.getenv("CLOUDEVIL_NO_BOOTSTRAP", "").strip().lower() not in ("1", "true", "yes", "on"):
|
|
25
|
+
def _auto_bootstrap():
|
|
26
|
+
try:
|
|
27
|
+
ensure_dependencies()
|
|
28
|
+
except Exception:
|
|
29
|
+
pass
|
|
30
|
+
try:
|
|
31
|
+
_t = _threading.Thread(target=_auto_bootstrap, daemon=True)
|
|
32
|
+
_t.start()
|
|
33
|
+
except Exception:
|
|
34
|
+
pass
|
cloudevil/__main__.py
ADDED
|
Binary file
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cloudevil
|
|
3
|
+
Version: 1.0.8
|
|
4
|
+
Summary: Cloudflare Turnstile + hCaptcha token library for Termux (CPython 3.14 only).
|
|
5
|
+
Home-page: https://t.me/A_9_A_6
|
|
6
|
+
Author: Devil
|
|
7
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
8
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
9
|
+
Classifier: Operating System :: Android
|
|
10
|
+
Requires-Python: >=3.14,<3.15
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
Requires-Dist: requests>=2.28
|
|
13
|
+
Requires-Dist: nodriver>=0.34
|
|
14
|
+
Dynamic: author
|
|
15
|
+
Dynamic: classifier
|
|
16
|
+
Dynamic: description
|
|
17
|
+
Dynamic: description-content-type
|
|
18
|
+
Dynamic: home-page
|
|
19
|
+
Dynamic: requires-dist
|
|
20
|
+
Dynamic: requires-python
|
|
21
|
+
Dynamic: summary
|
|
22
|
+
|
|
23
|
+
# cloudevil
|
|
24
|
+
|
|
25
|
+
مكتبة بايثون لجلب توكن Cloudflare Turnstile و hCaptcha.
|
|
26
|
+
|
|
27
|
+
## التثبيت
|
|
28
|
+
|
|
29
|
+
pip install cloudevil
|
|
30
|
+
|
|
31
|
+
## Turnstile
|
|
32
|
+
|
|
33
|
+
import cloudevil
|
|
34
|
+
|
|
35
|
+
r = cloudevil.get_token(url="https://example.com/login")
|
|
36
|
+
print(r["data"]["Token"])
|
|
37
|
+
|
|
38
|
+
مع مفتاح الموقع:
|
|
39
|
+
|
|
40
|
+
import cloudevil
|
|
41
|
+
|
|
42
|
+
r = cloudevil.get_token(sitekey="0x4AAAAAAA...", url="https://example.com/login")
|
|
43
|
+
print(r["data"]["Token"])
|
|
44
|
+
|
|
45
|
+
غير متزامن:
|
|
46
|
+
|
|
47
|
+
import asyncio
|
|
48
|
+
import cloudevil
|
|
49
|
+
|
|
50
|
+
async def main():
|
|
51
|
+
r = await cloudevil.get_token_async(url="https://example.com/login")
|
|
52
|
+
print(r["data"]["Token"])
|
|
53
|
+
|
|
54
|
+
asyncio.run(main())
|
|
55
|
+
|
|
56
|
+
## hCaptcha
|
|
57
|
+
|
|
58
|
+
import cloudevil
|
|
59
|
+
|
|
60
|
+
r = cloudevil.get_htoken(url="https://example.com/signup")
|
|
61
|
+
print(r["data"]["Token"])
|
|
62
|
+
|
|
63
|
+
غير متزامن:
|
|
64
|
+
|
|
65
|
+
import asyncio
|
|
66
|
+
import cloudevil
|
|
67
|
+
|
|
68
|
+
async def main():
|
|
69
|
+
r = await cloudevil.get_htoken_async(url="https://example.com/signup")
|
|
70
|
+
print(r["data"]["Token"])
|
|
71
|
+
|
|
72
|
+
asyncio.run(main())
|
|
73
|
+
|
|
74
|
+
## استخراج مفتاح الموقع
|
|
75
|
+
|
|
76
|
+
import cloudevil
|
|
77
|
+
|
|
78
|
+
sitekey, err = cloudevil.extract_sitekey("https://example.com/signup")
|
|
79
|
+
print(sitekey)
|
|
80
|
+
|
|
81
|
+
## الحالة
|
|
82
|
+
|
|
83
|
+
import cloudevil
|
|
84
|
+
|
|
85
|
+
print(cloudevil.status())
|
|
86
|
+
|
|
87
|
+
## CLI
|
|
88
|
+
|
|
89
|
+
python -m cloudevil --url https://example.com/login
|
|
90
|
+
|
|
91
|
+
python -m cloudevil --url https://example.com/login --sitekey 0x4AAAAAAA...
|
|
92
|
+
|
|
93
|
+
python -m cloudevil --url https://example.com/signup --kind hcaptcha
|
|
94
|
+
|
|
95
|
+
python -m cloudevil --url https://example.com/login --headless
|
|
96
|
+
|
|
97
|
+
python -m cloudevil doctor
|
|
98
|
+
|
|
99
|
+
## شكل الناتج
|
|
100
|
+
|
|
101
|
+
{
|
|
102
|
+
"data": {
|
|
103
|
+
"dev": "Devil",
|
|
104
|
+
"Token": "...",
|
|
105
|
+
"Channel": "https://t.me/A_9_A_6",
|
|
106
|
+
"Private": "https://t.me/iKingNow",
|
|
107
|
+
"url": "https://example.com/login"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
cloudevil/__init__.py,sha256=HmymH-Y8x6xXha1ndZ6S7VSzHjTRfxWPJFrWpcIogqo,1107
|
|
2
|
+
cloudevil/__main__.py,sha256=gS9FCBKxlT7ApPQOobx7CpJiCoRMMHhar4sBQbcgRfE,128
|
|
3
|
+
cloudevil/cloudevil_core.cpython-314-aarch64-linux-android.so,sha256=HORWYUcEuTJVMWEOM4EfNHHE-50eNj6KxL6wwcwF-7Y,3410888
|
|
4
|
+
cloudevil-1.0.8.dist-info/METADATA,sha256=Q8lnRcWB6vfoT4ZGoSOz-ljNyJnfYlKuyfECtV6vrjU,2436
|
|
5
|
+
cloudevil-1.0.8.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
6
|
+
cloudevil-1.0.8.dist-info/entry_points.txt,sha256=d3wntO3WdzpvE-gHStK-tUr32GHU8tgfzcOnfnT3LpY,60
|
|
7
|
+
cloudevil-1.0.8.dist-info/top_level.txt,sha256=zziqBc7KaQVUKtatPmpIX8ieR7444GHq6N8Y3o2P2gw,10
|
|
8
|
+
cloudevil-1.0.8.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cloudevil
|