搓了一个脚本,手动统计了一下出现彩蛋的网站路径,做个列表循环,省的手点了,python部署,自己填自己的cookie和user-agent。
反正我自己买了个老款rs1000翻倍款还行
多次运行试了下,如果你两次运行间隔过短,结果是一样的,得等个几分钟再试,彩蛋又变了
import uuid
import requests
# Define the URL and the multi-part form data boundary
base_url = 'https://www.netcup.de/api/eggs'
paths = [
'/',
'/hosting/',
'/vserver/',
'/vserver/vps.php',
'/vserver/arm-server/',
'/vserver/local-block-storage/',
'/bestellen/domainangebote.php',
'/ssl-zertifikate/',
'/bestellen/softwareangebote.php',
'/groupware/',
'/professional/',
'/professional/dedizierte-server/',
'/professional/managed-server/',
'/professional/colocation/',
'/professional/softwareentwicklung/',
'/ueber-netcup/',
'/ueber-netcup/rechenzentren.php',
'/ueber-netcup/auszeichnungen.php',
'/ueber-netcup/zertifizierungen.php',
'/ueber-netcup/partner.php',
'/jobs/',
'/groupware/',
]
# Loop through each path and make a POST request
for path in paths:
boundary = '----WebKitFormBoundary' + uuid.uuid4().hex
# Set up the headers
headers = {
'Accept': '*/*',
'Accept-Language': 'zh-CN,zh;q=0.9,ru;q=0.8',
'Connection': 'keep-alive',
'Content-Type': f'multipart/form-data; boundary={boundary}',
'Cookie': 'PHPSESSID=xxxxxx; cookiesession1=xxxxxx; js-cookie-opt-in__consent=needed',
'Origin': 'https://www.netcup.de',
'Referer': 'https://www.netcup.de/hosting/',
'Sec-Fetch-Dest': 'empty',
'Sec-Fetch-Mode': 'cors',
'Sec-Fetch-Site': 'same-origin',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36'
}
# Prepare the raw data payload
data = f'--{boundary}\r\nContent-Disposition: form-data; name="requrl"\r\n\r\n{path}\r\n--{boundary}--\r\n'
# Make the POST request
response = requests.post(base_url, headers=headers, data=data)
# Print out the response for each path
print(f'Response for {path}:')
print(response.text)
if response.json()['eggs'] == 'false':
print('No eggs found')
print('---')
continue
product_id = response.json()['eggs'][0]['product_id']
product_key = response.json()['eggs'][0]['product_key']
print(f'https://www.netcup.de/bestellen/produkt.php?produkt={product_id}&hiddenkey={product_key}')
print('---') # Separator for responses
脚本运行截图

牛啊,大哥。
绑定,老哥牛的
都有哪些东西啊,有没有隐藏款
@arkylin #3

有俩复活节款,但是要50欧去了,我个人就想要老款rs翻倍拿来刷pt
大佬强

要填写什么样子cookie的模板哈
@junzai #6
用f12的network里手动找个彩蛋eggs,然后在请求标头找到Cookie中的PHPSESSID和cookiesession1填上就行,User-Agent也在请求标头那里
奇怪,打开链接就是错误,明明用的是同一个IP和浏览器环境
@FCB #8
你修改一下headers让其和你的浏览器完全一致试试
感谢大佬,没什么值得买的东西了。想买个VPS 1000 ARM 那款,也没了。