hyper-sdk 0.4.0__tar.gz → 0.6.0__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.
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/PKG-INFO +1 -1
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/akamai_input.py +6 -4
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/datadome_input.py +3 -1
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/kasada_input.py +3 -1
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/session.py +3 -1
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk.egg-info/PKG-INFO +1 -1
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/pyproject.toml +1 -1
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/LICENSE +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/README.md +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/__init__.py +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/akamai/__init__.py +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/akamai/pixel.py +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/akamai/script_path.py +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/akamai/sec_cpt.py +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/akamai/stop_signal.py +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/datadome/__init__.py +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/datadome/parse.py +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/incapsula/__init__.py +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/incapsula/utmvc.py +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/incapsula_input.py +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/kasada/__init__.py +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk/kasada/parse.py +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk.egg-info/SOURCES.txt +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk.egg-info/dependency_links.txt +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk.egg-info/requires.txt +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/hyper_sdk.egg-info/top_level.txt +0 -0
- {hyper_sdk-0.4.0 → hyper_sdk-0.6.0}/setup.cfg +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
class SensorInput:
|
|
2
|
-
def __init__(self, abck: str, bmsz: str, version: str, page_url: str, user_agent: str, ip
|
|
2
|
+
def __init__(self, abck: str, bmsz: str, version: str, page_url: str, user_agent: str, ip: str, language: str, script_hash="", dynamic_values=""):
|
|
3
3
|
self.abck = abck
|
|
4
4
|
self.bmsz = bmsz
|
|
5
5
|
self.version = version
|
|
@@ -12,10 +12,12 @@ class SensorInput:
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
class PixelInput:
|
|
15
|
-
def __init__(self, user_agent: str, html_var: str, script_var: str):
|
|
15
|
+
def __init__(self, user_agent: str, html_var: str, script_var: str, language: str, ip: str):
|
|
16
16
|
self.user_agent = user_agent
|
|
17
17
|
self.html_var = html_var
|
|
18
18
|
self.script_var = script_var
|
|
19
|
+
self.language = language
|
|
20
|
+
self.ip = ip
|
|
19
21
|
|
|
20
22
|
|
|
21
23
|
class DynamicInput:
|
|
@@ -24,11 +26,11 @@ class DynamicInput:
|
|
|
24
26
|
|
|
25
27
|
|
|
26
28
|
class SbsdInput:
|
|
27
|
-
def __init__(self, user_agent: str, uuid: str, page_url: str, o_cookie: str,
|
|
29
|
+
def __init__(self, user_agent: str, uuid: str, page_url: str, o_cookie: str, script: str, language: str, ip: str):
|
|
28
30
|
self.user_agent = user_agent
|
|
29
31
|
self.uuid = uuid
|
|
30
32
|
self.page_url = page_url
|
|
31
33
|
self.o_cookie = o_cookie
|
|
32
|
-
self.
|
|
34
|
+
self.script = script
|
|
33
35
|
self.language = language
|
|
34
36
|
self.ip = ip
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
class DataDomeSliderInput:
|
|
3
|
-
def __init__(self, user_agent: str, device_link: str, html: str, puzzle: str, piece: str, language: str, ip: str):
|
|
3
|
+
def __init__(self, user_agent: str, device_link: str, html: str, puzzle: str, piece: str, parent_url: str, language: str, ip: str):
|
|
4
4
|
# UserAgent must be a Chrome Windows User-Agent.
|
|
5
5
|
self.user_agent = user_agent
|
|
6
6
|
|
|
@@ -21,6 +21,7 @@ class DataDomeSliderInput:
|
|
|
21
21
|
# https://dd.prod.captcha-delivery.com/image/2024-xx-xx/hash.frag.png
|
|
22
22
|
self.piece = piece
|
|
23
23
|
|
|
24
|
+
self.parent_url = parent_url
|
|
24
25
|
self.language = language
|
|
25
26
|
self.ip = ip
|
|
26
27
|
|
|
@@ -31,6 +32,7 @@ class DataDomeSliderInput:
|
|
|
31
32
|
"html": self.html,
|
|
32
33
|
"puzzle": self.puzzle,
|
|
33
34
|
"piece": self.piece,
|
|
35
|
+
"parentUrl": self.parent_url,
|
|
34
36
|
"language": self.language,
|
|
35
37
|
"ip": self.ip,
|
|
36
38
|
}
|
|
@@ -13,7 +13,7 @@ class KasadaPowInput:
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
class KasadaPayloadInput:
|
|
16
|
-
def __init__(self, user_agent: str, ips_link: str, script: str, language: str):
|
|
16
|
+
def __init__(self, user_agent: str, ips_link: str, script: str, language: str, ip: str):
|
|
17
17
|
# UserAgent must be a Chrome Windows User-Agent.
|
|
18
18
|
self.user_agent = user_agent
|
|
19
19
|
|
|
@@ -25,6 +25,7 @@ class KasadaPayloadInput:
|
|
|
25
25
|
|
|
26
26
|
# Language is the first language of your accept-language header
|
|
27
27
|
self.language = language
|
|
28
|
+
self.ip = ip
|
|
28
29
|
|
|
29
30
|
def to_dict(self):
|
|
30
31
|
result = {
|
|
@@ -32,5 +33,6 @@ class KasadaPayloadInput:
|
|
|
32
33
|
"ipsLink": self.ips_link,
|
|
33
34
|
"script": self.script,
|
|
34
35
|
"language": self.language,
|
|
36
|
+
"ip": self.ip,
|
|
35
37
|
}
|
|
36
38
|
return result
|
|
@@ -56,7 +56,7 @@ class Session:
|
|
|
56
56
|
'uuid': input_data.uuid,
|
|
57
57
|
'pageUrl': input_data.page_url,
|
|
58
58
|
'o': input_data.o_cookie,
|
|
59
|
-
'
|
|
59
|
+
'script': input_data.script,
|
|
60
60
|
'language': input_data.language,
|
|
61
61
|
'ip': input_data.ip,
|
|
62
62
|
})
|
|
@@ -92,6 +92,8 @@ class Session:
|
|
|
92
92
|
'userAgent': input_data.user_agent,
|
|
93
93
|
'htmlVar': input_data.html_var,
|
|
94
94
|
'scriptVar': input_data.script_var,
|
|
95
|
+
'ip': input_data.ip,
|
|
96
|
+
'language': input_data.language,
|
|
95
97
|
})
|
|
96
98
|
|
|
97
99
|
def generate_reese84_sensor(self, site: str, input_data: ReeseInput) -> str:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|