unidbg server
1.0.0
springboot ejecuta unidbg
1. Cargue la idea
2.agregar un proyecto maven
3. Ejecute UnidbgServerApplication.java
para iniciar el servicio.
Modifique la dirección del servicio (el valor predeterminado es 0.0.0.0
) y el puerto (el valor predeterminado es 9090
) a través de application.properties
Archivo de muestra del controlador SignController.py
Bajo la premisa de configurar el entorno maven, ejecute el proyecto en el directorio principal
mvn clean package - Dmaven . test . skip = true
Simplemente use el paquete de maven y luego encontrará que se genera un directorio de destino con un paquete jar.
mvn package
java -jar targetunidbg-server-0.0.2.jar
curl -XGET 'http://127.0.0.1:9090/unidbg/dySign?url=https://aweme-eagle.snssdk.com/aweme/v1/feed/?type=0%26max_cursor=0%26min_cursor=-1%26count=30%26volume=0.06666666666666667%26pull_type=2%26need_relieve_aweme=0%26ts=1604989727%26app_type=lite%26manifest_version_code=180%26_rticket=1604989727594%26ac=wifi%26device_id=123411234%26iid=123411234%26os_version=8.1.0%26channel=xiaoshangdian_douyin_and19%26version_code=180%26device_type=Pixel%26language=zh%26resolution=1080*1758%26openudid=2dc3087ecc9addf9%26update_version_code=1800%26app_name=aweme%26version_name=1.8.0%26os_api=27%26device_brand=google%26ssmix=a%26device_platform=android%26dpi=540%26aid=1128'
import requests
url = 'http://127.0.0.1:9090/unidbg/dySign'
data = {'url': 'https://aweme-eagle.snssdk.com/aweme/v1/feed/?type=0&max_cursor=0&min_cursor=-1&count=30&volume=0.06666666666666667&pull_type=2&need_relieve_aweme=0&ts=1604989727&app_type=lite&manifest_version_code=180&_rticket=1604989727594&ac=wifi&device_id=123411234&iid=123411234&os_version=8.1.0&channel=xiaoshangdian_douyin_and19&version_code=180&device_type=Pixel&language=zh&resolution=1080*1758&openudid=2dc3087ecc9addf9&update_version_code=1800&app_name=aweme&version_name=1.8.0&os_api=27&device_brand=google&ssmix=a&device_platform=android&dpi=540&aid=1128'}
req=requests.post(url,data=data)
print(req.json())
https://github.com/zhkl0228/unidbg