Metasploit mailing list archives

byakugan installation


From: pusscat at metasploit.com (Pusscat)
Date: Wed, 17 Sep 2008 11:01:40 -0400

I'm not sure about the loading problem but I'll look into it.  As far as the
building issue, it looks like you're running setup.bat from within a visual
studio / SDK build environment rather than from within a WDK build
environment.  Byak will only build in the driver development environment
because that's what's required for debugging plugins (for some reason).

 

 

 

~ Puss, NOP :)

 

From: framework-bounces at spool.metasploit.com
[mailto:framework-bounces at spool.metasploit.com] On Behalf Of Dan Guido
Sent: Saturday, September 13, 2008 8:40 PM
To: framework at spool.metasploit.com
Subject: [framework] byakugan installation

 

I'm experiencing the same problems as this poster except on XP SP1:
http://blog.metasploit.com/2008/08/byakugan-windbg-plugin-released.html#6109
177459934658267

--------------------------------

On two different machines (XPsp2 and XPsp3), I get the following error
message whenever I try loading the byakugen.dll as documented in the
presentation. That is with the provided DLLs. I also tried compiling from
scratch but that failed.

Is there a mailing list or forum where I can get support?

0:001> !load C:\windbg\byakugan.dll
The call to LoadLibrary(C:\windbg\byakugan.dll) failed, Win32 error 0n127
"The specified procedure could not be found."
Please check your debugger configuration and/or network access.

--------------------------------

The errors I get from compiling byakugan are:

--------------------------------

C:\Documents and Settings\Administrator\Application
Data\msf-trunk\external\sour
ce\byakugan>setup.bat

C:\Documents and Settings\Administrator\Application
Data\msf-trunk\external\sour
ce\byakugan># Assumes that Debugging Tools for Windows is installed in
C:\windbg

'#' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Administrator\Application
Data\msf-trunk\external\sour
ce\byakugan>set DBGSDK_INC_PATH=C:\windbg\sdk\inc

C:\Documents and Settings\Administrator\Application
Data\msf-trunk\external\sour
ce\byakugan>set DBGSDK_LIB_PATH=C:\windbg\sdk\lib

C:\Documents and Settings\Administrator\Application
Data\msf-trunk\external\sour
ce\byakugan>set DBGLIB_LIB_PATH=C:\windbg\sdk\lib

C:\Documents and Settings\Administrator\Application
Data\msf-trunk\external\sour
ce\byakugan>#build byakugan
'#build' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Administrator\Application
Data\msf-trunk\external\sour
ce\byakugan>build -cZMg
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Object root set to: ==> objfre_wnet_x86
BUILD: Compile and Link for i386
BUILD: Examining c:\documents and settings\administrator\application
data\msf-tr
unk\external\source\byakugan directory for files to compile.
    c:\documents and settings\administrator\application
data\msf-trunk\external\
BUILD: Compiling (NoSync) c:\documents and
settings\administrator\application da
ta\msf-trunk\external\source\byakugan directory
errors in directory c:\documents and settings\administrator\application
data\msf
-trunk\external\source\byakugan
NMAKE : warning U4006: special macro undefined : '$<'
Compiling - objfre_wnet_x86\i386 for all platforms
objfre_wnet_x86\i386 : error 'jvc' is not recognized as an internal or
external
command,
NMAKE : warning U4006: special macro undefined : '$<'
Compiling - objfre_wnet_x86\i386 for all platforms
objfre_wnet_x86\i386 : error 'jvc' is not recognized as an internal or
external
command,
NMAKE : warning U4006: special macro undefined : '$<'
Compiling - objfre_wnet_x86\i386 for all platforms
objfre_wnet_x86\i386 : error 'jvc' is not recognized as an internal or
external
command,
NMAKE : warning U4006: special macro undefined : '$<'
Compiling - objfre_wnet_x86\i386 for all platforms
objfre_wnet_x86\i386 : error 'jvc' is not recognized as an internal or
external
command,
BUILD: Compile errors: not linking c:\documents and
settings\administrator\appli
cation data\msf-trunk\external\source\byakugan directory
BUILD: Done

    4 files compiled - 8 Errors

C:\Documents and Settings\Administrator\Application
Data\msf-trunk\external\sour
ce\byakugan>#build injectsu
'#build' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Administrator\Application
Data\msf-trunk\external\sour
ce\byakugan>cd injectsu\

C:\Documents and Settings\Administrator\Application
Data\msf-trunk\external\sour
ce\byakugan\injectsu>build -cZMg
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Object root set to: ==> objfre_wnet_x86
BUILD: Compile and Link for i386
BUILD: Examining c:\documents and settings\administrator\application
data\msf-tr
unk\external\source\byakugan\injectsu directory for files to compile.
    c:\documents and settings\administrator\application
data\msf-trunk\external\
BUILD: Compiling (NoSync) c:\documents and
settings\administrator\application da
ta\msf-trunk\external\source\byakugan\injectsu directory
errors in directory c:\documents and settings\administrator\application
data\msf
-trunk\external\source\byakugan\injectsu
NMAKE : warning U4006: special macro undefined : '$<'
Compiling - objfre_wnet_x86\i386 for all platforms
objfre_wnet_x86\i386 : error 'jvc' is not recognized as an internal or
external
command,
NMAKE : warning U4006: special macro undefined : '$<'
Compiling - objfre_wnet_x86\i386 for all platforms
objfre_wnet_x86\i386 : error 'jvc' is not recognized as an internal or
external
command,
NMAKE : warning U4006: special macro undefined : '$<'
Compiling - objfre_wnet_x86\i386 for all platforms
objfre_wnet_x86\i386 : error 'jvc' is not recognized as an internal or
external
command,
NMAKE : warning U4006: special macro undefined : '$<'
Compiling - objfre_wnet_x86\i386 for all platforms
objfre_wnet_x86\i386 : error 'jvc' is not recognized as an internal or
external
command,
BUILD: Compile errors: not linking c:\documents and
settings\administrator\appli
cation data\msf-trunk\external\source\byakugan\injectsu directory
BUILD: Done

    4 files compiled - 8 Errors

C:\Documents and Settings\Administrator\Application
Data\msf-trunk\external\sour
ce\byakugan\injectsu>cd ..

C:\Documents and Settings\Administrator\Application
Data\msf-trunk\external\sour
ce\byakugan>copy /Y i386\byakugan.dll C:\windbg\
The system cannot find the file specified.

C:\Documents and Settings\Administrator\Application
Data\msf-trunk\external\sour
ce\byakugan>

--------------------------------

Thanks!

--
Dan Guido

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.metasploit.com/pipermail/framework/attachments/20080917/354975e5/attachment.htm>


Current thread: