From a5a81500a09e5c761ad8c4ef22f0261c263964e4 Mon Sep 17 00:00:00 2001 From: Mariusz Date: Tue, 20 Mar 2018 14:33:56 +0100 Subject: [PATCH] Update networkConfigurationCredentialsExtract.py --- networks/networkConfigurationCredentialsExtract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networks/networkConfigurationCredentialsExtract.py b/networks/networkConfigurationCredentialsExtract.py index b92205e..a70c448 100644 --- a/networks/networkConfigurationCredentialsExtract.py +++ b/networks/networkConfigurationCredentialsExtract.py @@ -42,7 +42,7 @@ regexes = { 'SNMP-Server User/Password' : r'snmp-server user \name [\w-]+ auth md5 0x\hash priv 0x\hash localizedkey', 'FTP Server Username' : r'ip ftp username \name', 'FTP Server Password' : r'ip ftp password \password', - 'ISAKMP Key' : r'crypto isakmp key \password address \ip', + 'ISAKMP Pre-Shared Key' : r'crypto isakmp key \password(?: address \ip)?', 'SNMP-Server User Auth & Encr keys' : r'snmp-server user \name .* encrypted auth md5 ([0-9a-f\:]+) priv aes \d+ ([0-9a-f\:]+)', 'PPP PAP Sent Username & Password' : r'ppp pap sent-username \name password \password', },