I got below code to crack, and I have expanded all the jars which are having below methods still, doesn't have any clue from where the verify method taking hostname, is it taking the current machine hostname with help of API ??
hostname verifier hv= new HostnameVerifier() {
@Override
public boolean verify(String hostname, SSLSession session) {
if (hostname.equals("hostname of applcation"))
{
System.out.println("Host name verifier : true ");
return true;
}
return false;
}
};