Nmap Development mailing list archives

Re: DRAZEN_SVC testing


From: Dražen Popović <drazen.popovic () fer hr>
Date: Thu, 24 Jun 2010 20:06:43 +0200

On Thu, 2010-06-24 at 10:28 -0600, David Fifield wrote:
I had to remove "local" from msrpc.call_function. You had to make the
same change, am I right? If so, don't leave things like that in your
working directory, commit them.

Oh yes, I forgot to mention that. I see you've done the commit.

What tool are you using to generate the RPC stubs? (Whatever is
generating the code with the "pack the request", "call the function",
"sanity check", etc. comments.) Can you commit it somewhere? I think it
is very cool that you can automatically go from an IDL file like this:

Actually this is not automatically generated. I made sort of a template
so it looks consistent, and this is just a search process for the final
stub design which will be generated automatically.

I was not able to build DNSSERVER_SVC_TEST. I get errors:

1>DNSSERVER_TEST_s.obj : error LNK2001: unresolved external symbol _R_DnssrvUpdateRecord2
1>DNSSERVER_TEST_s.obj : error LNK2001: unresolved external symbol _R_DnssrvEnumRecords2
1>DNSSERVER_TEST_s.obj : error LNK2001: unresolved external symbol _R_DnssrvComplexOperation2
1>DNSSERVER_TEST_s.obj : error LNK2001: unresolved external symbol _R_DnssrvQuery2
1>DNSSERVER_TEST_s.obj : error LNK2001: unresolved external symbol _R_DnssrvUpdateRecord
1>DNSSERVER_TEST_s.obj : error LNK2001: unresolved external symbol _R_DnssrvEnumRecords
1>DNSSERVER_TEST_s.obj : error LNK2001: unresolved external symbol _R_DnssrvComplexOperation
1>DNSSERVER_TEST_s.obj : error LNK2001: unresolved external symbol _R_DnssrvQuery
1>DNSSERVER_TEST_s.obj : error LNK2001: unresolved external symbol _R_DnssrvOperation
1>C:\cygwin\home\david\drazen\var\MIDL_BENCH\Debug\DNSSERVER_SVC_TEST.exe : fatal error LNK1120: 9 unresolved 
externals

Does DNSSERVER_SVC_TEST build for you? What do I need to do to get it
build?

Hmm, I used this service as a testing ground when making ms07-029. This
error states that I haven't implemented these RPC methods. Well it
should build (it builds for me) but anyways I've commited fresh copies
of project files, so you can try it now.

DNSSERVER_SVC_TEST - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped
==========

Thanks for playing with MIDL_BENCH.

Cheers,
Dražen.

-- 
Laboratory for Systems and Signals
Department of Electronic Systems and Information Processing
Faculty of Electrical Engineering and Computing
University of Zagreb
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: