Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Sanitised tests

  • Loading branch information...
commit e73e188d650f5acf4009372fe1588882b1ce9227 1 parent 8ae5eff
@adamvr authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 test.js
View
10 test.js
@@ -8,8 +8,8 @@ var login = d['ssh-login']
console.dir(d);
-console.dir(login.dissect('Feb 15 09:00:07 summer sshd[2470]: Accepted publickey for chris_rieger from 130.102.70.13 port 46410 ssh2'));
-console.dir(logout.dissect('Feb 14 15:38:18 summer sshd[31962]: Received disconnect from 130.102.70.70: 11: disconnected by user'));
-console.dir(sudos.dissect('Feb 15 11:13:43 summer sudo: aabhushan : TTY=pts/4 ; PWD=/home/aabhushan ; USER=root ; COMMAND=/bin/vi /var/www/html/test/ledon.xml'));
-console.dir(sudof.dissect('Feb 15 11:30:56 summer sudo: pam_unix(sudo:auth): authentication failure; logname=aabhushan uid=0 euid=0 tty=/dev/pts/4 ruser= rhost= user=aabhushan'));
-console.dir(baduser.dissect('Feb 13 10:51:35 summer sshd[27435]: Invalid user adam from 172.18.65.144'));
+console.dir(login.dissect('Feb 15 09:00:07 somewhere sshd[2470]: Accepted publickey for somebody from 1.1.1.1 port 46410 ssh2'));
+console.dir(logout.dissect('Feb 14 15:38:18 summer sshd[31962]: Received disconnect from 1.1.1.1: 11: disconnected by user'));
+console.dir(sudos.dissect('Feb 15 11:13:43 summer sudo: noone : TTY=pts/4 ; PWD=/home/noone ; USER=root ; COMMAND=/bin/vi /something'));
+console.dir(sudof.dissect('Feb 15 11:30:56 summer sudo: pam_unix(sudo:auth): authentication failure; logname=noone uid=0 euid=0 tty=/dev/pts/4 ruser= rhost= user=noone'));
+console.dir(baduser.dissect('Feb 13 10:51:35 summer sshd[27435]: Invalid user lolo from 1.1.1.1'));
Please sign in to comment.
Something went wrong with that request. Please try again.