This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
true | openssl s_client -connect site.com:443 -servername site.com | openssl x509 -noout -text | grep DNS: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void getObject(Object obj) { | |
try { | |
for (Field field : obj.getClass().getDeclaredFields()) { | |
//field.setAccessible(true); // if you want to modify private fields | |
System.out.println(field.getName() | |
+ " - " + field.getType() | |
+ " - " + field.get(obj)); | |
} | |
} catch (IllegalAccessException e) { | |
e.printStackTrace(); |
NewerOlder