File tree 3 files changed +5
-3
lines changed
plaso/parsers/text_plugins
tests/parsers/text_plugins
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ class WinIISTextPlugin(interface.TextPlugin):
101
101
lambda tokens : int (tokens [0 ], 10 )) | _BLANK
102
102
103
103
# Username can consist of: "domain.username", "domain\username",
104
- # "domain\user$" or "-" for an anonymous user.
105
- _USERNAME = pyparsing .Word (pyparsing .alphanums + '-.\\ $' ) | _BLANK
104
+ # "domain\user$", "domain/user", "user@domain" or "-" for an anonymous user.
105
+ _USERNAME = pyparsing .Word (pyparsing .alphanums + '-.\\ $@/ ' ) | _BLANK
106
106
107
107
_URI_SAFE_CHARACTERS = '/.?&+;_=()-:,%'
108
108
Original file line number Diff line number Diff line change 14
14
2022-01-01 18:42:36 ::1 POST /ews/exchange.asmx &request_id=GHJGJYHG-ea2f-4e0f-894c-tdtyd667tyftyf 444 RaDomain\RandomMailbox3242354 ::1 Ews_Probe/Local+(ExchangeServicesClient/15.01.25965.004) - 200 0 0 102
15
15
2022-01-01 18:42:37 ::1 POST /mapi/emdata/ useMailboxOfAuthenticatedUser=true 444 RaDomain\RandomMailbox3242354 ::1 MapiHttpClient - 200 0 0 4
16
16
2022-01-01 18:42:55 ::1 GET /rancertloc/logoff.aspx ActID=werwer-3e02-56456-ererere545-sdf8798798dfh 444 RaDomain\RandomMailbox3242354 ::1 Mozilla/4.0+(compatible;+MSIE+12.0;+Trident/7.0;+rv:12.0;+Windows+NT+6.1;+MSEXCHMON;+ACTIVEMONITORING;+BACKLOOK) - 302 0 0 5
17
+ 2022-01-01 00:01:24 ::1 POST /powershell clientApplication=ActiveMonitor;PSVersion=5.1.14393.4467 444 random/ranuser1 ::1 Microsoft+WinRM+Client - 200 0 0 15
18
+ 2022-01-01 00:01:24 ::1 POST /powershell clientApplication=ActiveMonitor;PSVersion=5.1.14393.4467 444 ranuser1@random ::1 Microsoft+WinRM+Client - 200 0 0 15
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ def testProcessWithIIS10Log(self):
176
176
177
177
number_of_event_data = storage_writer .GetNumberOfAttributeContainers (
178
178
'event_data' )
179
- self .assertEqual (number_of_event_data , 12 )
179
+ self .assertEqual (number_of_event_data , 14 )
180
180
181
181
number_of_warnings = storage_writer .GetNumberOfAttributeContainers (
182
182
'extraction_warning' )
You can’t perform that action at this time.
0 commit comments