diff options
author | Richard Sharpe <sharpe@ns.aus.com> | 2003-04-29 21:06:27 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@ns.aus.com> | 2003-04-29 21:06:27 +0000 |
commit | 925a9396fb9fb84ad449236e5ab5e29268a108e7 (patch) | |
tree | eaba98e7939c5d76648e24735e4dc75968280a9d | |
parent | daeac95d4aca8fc28e30d033b35b0131a680fe4c (diff) | |
download | wireshark-925a9396fb9fb84ad449236e5ab5e29268a108e7.tar.gz wireshark-925a9396fb9fb84ad449236e5ab5e29268a108e7.tar.bz2 wireshark-925a9396fb9fb84ad449236e5ab5e29268a108e7.zip |
Confirm a simple theory. Write small VC++ program to call NetWkstaEnumUsers
and watch for the RPC to be sent. Grab RPC OpNum from trace, and increase
our knowledge of these RPCs.
Next to code up the dissectors, and then on to NetWkstaSetInfo etc. MSDN has
lots of info ...
svn path=/trunk/; revision=7602
-rw-r--r-- | packet-dcerpc-wkssvc.c | 8 | ||||
-rw-r--r-- | packet-dcerpc-wkssvc.h | 7 |
2 files changed, 9 insertions, 6 deletions
diff --git a/packet-dcerpc-wkssvc.c b/packet-dcerpc-wkssvc.c index 4bd1481091..ddbb1a5e39 100644 --- a/packet-dcerpc-wkssvc.c +++ b/packet-dcerpc-wkssvc.c @@ -3,7 +3,7 @@ * Copyright 2001, Tim Potter <tpot@samba.org> * Copyright 2003, Richard Sharpe <rsharpe@richardsharpe.com> * - * $Id: packet-dcerpc-wkssvc.c,v 1.10 2003/04/27 06:23:16 sharpe Exp $ + * $Id: packet-dcerpc-wkssvc.c,v 1.11 2003/04/29 21:06:27 sharpe Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -245,10 +245,12 @@ static int wkssvc_dissect_netrqueryinfo_reply(tvbuff_t *tvb, int offset, } static dcerpc_sub_dissector dcerpc_wkssvc_dissectors[] = { - { WKS_QUERY_INFO, "NetWkstaGetInfo", + { WKS_NetWkstaGetInfo, "NetWkstaGetInfo", wkssvc_dissect_netrqueryinfo_rqst, wkssvc_dissect_netrqueryinfo_reply}, - + { WKS_NetWkstaEnumUsers, "NetWkstaEnumUsers", + NULL, + NULL}, {0, NULL, NULL, NULL } }; diff --git a/packet-dcerpc-wkssvc.h b/packet-dcerpc-wkssvc.h index b97c590112..1a86e14102 100644 --- a/packet-dcerpc-wkssvc.h +++ b/packet-dcerpc-wkssvc.h @@ -1,8 +1,9 @@ /* packet-dcerpc-wkssvc.h * Routines for SMB \PIPE\wkssvc packet disassembly * Copyright 2001, Tim Potter <tpot@samba.org> + * Copyright 2002, Richard Sharpe <rsharpe@richardsharpe.org> * - * $Id: packet-dcerpc-wkssvc.h,v 1.4 2002/08/28 21:00:12 jmayer Exp $ + * $Id: packet-dcerpc-wkssvc.h,v 1.5 2003/04/29 21:06:27 sharpe Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -28,6 +29,6 @@ /* Functions available on the WKSSVC pipe. From Samba, include/rpc_wkssvc.h */ -#define WKS_QUERY_INFO 0x00 - +#define WKS_NetWkstaGetInfo 0x00 +#define WKS_NetWkstaEnumUsers 0x02 #endif /* packet-dcerpc-wkssvc.h */ |