Power by IDeal_

📱 QQ群:1078935572

📁 接口模块下载:

我用夸克网盘给你分享了「快手新一键抓包及免费脚本/模块」,点击链接跳转或复制打开「夸克APP」即可获取。

/~69a23LrH3Q~:/

API 文档

Base URL: http://127.0.0.1:52000
/encsign
/nssig
POST /encsign

数据加密签名接口,用于对数据进行加密并生成签名。

请求参数

参数名 类型 必填 说明
data string 需要加密的数据
timestamp integer Unix 时间戳(秒)

请求示例

PowerShell
cURL
JavaScript
Python
PowerShell
$SIGN_API = "http://127.0.0.1:52000"
$timestamp = [int][double]::Parse((Get-Date -UFormat %s))

$encsignData = @{
    data = "your_data_here"
    timestamp = $timestamp
} | ConvertTo-Json

try {
    $response = Invoke-RestMethod -Uri "${SIGN_API}/encsign" `
        -Method Post `
        -Headers @{
            "Content-Type" = "application/json"
            "User-Agent" = "Mozilla/5.0"
        } `
        -Body $encsignData `
        -TimeoutSec 30
    
    $response | ConvertTo-Json -Depth 10
}
catch {
    Write-Host "Request failed: $($_.Exception.Message)"
}
cURL
curl -X POST "http://127.0.0.1:52000/encsign" \
  -H "Content-Type: application/json" \
  -H "User-Agent: Mozilla/5.0" \
  -d '{
    "data": "your_data_here",
    "timestamp": 1772481384
  }'
JavaScript
const timestamp = Math.floor(Date.now() / 1000);

fetch('http://127.0.0.1:52000/encsign', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'User-Agent': 'Mozilla/5.0'
  },
  body: JSON.stringify({
    data: 'your_data_here',
    timestamp: timestamp
  })
})
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));
Python
import requests
import time
import json

url = "http://127.0.0.1:52000/encsign"
timestamp = int(time.time())

payload = {
    "data": "your_data_here",
    "timestamp": timestamp
}

headers = {
    "Content-Type": "application/json",
    "User-Agent": "Mozilla/5.0"
}

try:
    response = requests.post(url, json=payload, headers=headers, timeout=30)
    print(response.json())
except Exception as e:
    print(f"Request failed: {e}")

响应示例

JSON
{
  "status": true,
  "data": {
    "encdata": "WlTuzeTU6mGT9525bjJUVHpueQIEQ3pjgjAw+tDz1mY6segytHVJY7xrkz6lP6Sy...",
    "sign": "5a54eecde4d4ea61264d1a4eb450dc7b107a61122195b5ca9e76ad3771005b4e"
  }
}

响应字段说明

字段名 类型 说明
status boolean 请求是否成功
data.encdata string 加密后的数据
data.sign string 数据签名(64位十六进制字符串)