linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
* Quoted argument not listed
@ 2010-08-19 10:54 Jure Simsic
  2010-08-19 12:37 ` Steve Grubb
  0 siblings, 1 reply; 2+ messages in thread
From: Jure Simsic @ 2010-08-19 10:54 UTC (permalink / raw)
  To: linux-audit


[-- Attachment #1.1: Type: text/plain, Size: 566 bytes --]

Hi
I have a case where I need to audit some command which goes like:

cmd -a foo -b -c -query 'some query'

What I get in the audit log is:

type=EXECVE msg=audit(1282117611.037:27469599): argv[0]="cmd" argv[1]="-a"
argv[2]="foo" argv[3]="-b" argv[4]="-c" argv[5]="-query"
argv[6]=737472626567696E73287468726561645F69642C227468726561645F69643D32333639383932662229


The argv[6] is even sometimes like 'arg,"id=123"' , I guess that doesn't
make much difference..

Is there any way to catch the quoted argument as it is and not as an
interesting longstring?

Tnx
Jure

[-- Attachment #1.2: Type: text/html, Size: 896 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-19 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-19 10:54 Quoted argument not listed Jure Simsic
2010-08-19 12:37 ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).