Plant App unofficial API, SSL Pinning bypass via frida.
import com.mtks.PlantAPI;
// https://cms-v2.plantapp.app/api/plants?pagination[page]=2&populate=*&locale=en
PlantAPI plantAPI = new PlantAPI();
int page = 1;
CompletableFuture<String> plants = plantAPI.plant.getPlants();
CompletableFuture<String> plants = plantAPI.plant.getPlants(page);
String response = plants.get();
Response:
{
"data":[
{
"id": "...",
"name": "...",
"botanicalName": "...",
"createdAt": "..."
}
]
}
frida -U -f com.scaleup.plantid -l sslpinning.js