School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,406 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,660 people online right now. Registration is fast and FREE... Join Now!




Compiling C Source for samdump2

 

Compiling C Source for samdump2, How to compilie C Source for samdump2 (win32)?

l33titude

5 Jun, 2009 - 02:04 AM
Post #1

New D.I.C Head
*

Joined: 5 Jun, 2009
Posts: 2

Ok, my problem is I am creating a user interface to crack SAM and SYSTEM files and dump the hash. The program then uploads the hash to our servers in which we will crack them and send the cracked password back to the user automatically (freeware of course).

Now my problem is to crack NTLM hash's u need a newer version of bkhive and samdump2 than what I currently have. So I went to http://sourceforge.net/project/showfiles.p...ckage_id=222150 in which both bkhive and samdump are hosted (the versions I need). However the code is open source. I downloaded the source to find no project files, just c headers and code. I managed to somehow compile bkhive 1.1.1 with cygwin and it works fine on windows. But however, when i try to do the same with samdump2 it errors. I have tried every version receiving exactly the same error. I have not done much at all to do with compiling source, so I really have no idea where to go from here.


So my problem is how can i compile this source for windows....? If someone could take their time to compile it on their own computer and test that it works for me, I will be very thankful and quite willing to add your name to the authors of the finished project. If i can't get this running then I can't complete the project.

Thanks for your help
Ben

P.S. I tried to upload the source but new user and the whole permissions thing...

Ohh and I also thought about using pwdump7, but it turns out one in four antivirus programs block it as a hacking tool (which i suppose it is). Is there any possible way to get around this?

This post has been edited by l33titude: 5 Jun, 2009 - 02:12 AM

User is offlineProfile CardPM
+Quote Post


janotte

RE: Compiling C Source For Samdump2

5 Jun, 2009 - 04:36 AM
Post #2

code > sword
Group Icon

Joined: 28 Sep, 2006
Posts: 2,157



Thanked: 152 times
Expert In: C/C++

My Contributions

Welcome to DIC!

You tell us what tool you are using but the mention of project files makes me think that maybe you are using VS?

If so then this might be useful
http://msdn.microsoft.com/en-us/library/ms181392.aspx



User is offlineProfile CardPM
+Quote Post

l33titude

RE: Compiling C Source For Samdump2

5 Jun, 2009 - 05:58 AM
Post #3

New D.I.C Head
*

Joined: 5 Jun, 2009
Posts: 2

QUOTE(janotte @ 5 Jun, 2009 - 04:36 AM) *

Welcome to DIC!

You tell us what tool you are using but the mention of project files makes me think that maybe you are using VS?

If so then this might be useful
http://msdn.microsoft.com/en-us/library/ms181392.aspx


No thats the thing, there are no project files for the source and I am unable to compile the source using cygwin.

Just in case anyone misunderstands, the program I am creating is separate to this source code. I need to compile this code to a win32 binary to be executed with some parameters from the project I am creating.

I have tried to compile it in VS adding the files into an empty project but i still get an error. I know for a fact that this source can be compiled I just can't seem to do it. Perhaps there is a precompiled version of samdump2-2.0.1 for windows but I have been searching for days with no results but to compile this source which I can not seem to do.

Thanks for your help, this whole thing is just really frustrating me. If i can't get this compiled I can't complete this project.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 10:54PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month