summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/openslx/taskmanager/tasks/PortScan.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/openslx/taskmanager/tasks/PortScan.java b/src/main/java/org/openslx/taskmanager/tasks/PortScan.java
index dab97f8..bf41479 100644
--- a/src/main/java/org/openslx/taskmanager/tasks/PortScan.java
+++ b/src/main/java/org/openslx/taskmanager/tasks/PortScan.java
@@ -132,11 +132,11 @@ public class PortScan extends AbstractTask
@Override
public void processStdOut( String line )
{
- if ( line.startsWith( "notAfter=" ) ) {
+ if ( line.toLowerCase().startsWith( "notafter=" ) ) {
notAfter.set( line.substring( 9 ) );
messages.append( "\nCertificate valid until " + notAfter.get() );
}
- if ( line.startsWith( "SHA1 Fingerprint=" ) ) {
+ if ( line.toLowerCase().startsWith( "sha1 fingerprint=" ) ) {
fingerprint.set( line.substring( 17 ) );
messages.append( "\nCertificate fingerprint: " + fingerprint.get() );
}