|
-
December 8th, 2007, 07:50 PM
#3
 Originally Posted by xiphias360
If your doing a hacker challenge then you're not going to learn anything if you ask others to solve the problem for you.
I'm not asking you for the answer to the hacker challenge. I'm simply looking for advice as to why my compiler won't compile the script.
 Originally Posted by xiphias360
While you didn't come right out and say it, it's pretty obvious you didn't do any research on the problem at all. I don't mean to sound rude or anything, but most hackers wont help someone go from A to D and skip B & C. You have to at least show that you're making some kind of effort beyond getting frustrated after tried to compile a program.
I did do a lot of research on this problem. I do have limited time to work on this stuff, but when the time permits, I am doing the research.
I do agree with you. I did not show any effort on my part. My original post should have showed what I had done and what I know.
 Originally Posted by xiphias360
First, I don't think you have any programming experience at all, so trying to compile a program you don't understand is like trying to drive a car with a blacked out windshield. Look at your first error:
I know exactly what I am compiling and what the purpose of this program is. Some lines in the code I am having difficultly with. That is why I was asking for help.
 Originally Posted by xiphias360
c:\Program Files\Microsoft Visual C++ Toolkit 2003\bin\pcap.h(1) : error C2059: syntax error : 'constant'
Try googling some of the key words there and see what the problem could be. However, you may need to take a basic course in C++ before hand. Yes, there is some work involved in compromising security.
I had already done this before posting. I found and read tons of information, but nothing that pointed me into the right direction.
 Originally Posted by xiphias360
*edit* Here's a question, are you trying to compile pcap exactly as it is in the file you attached??
Bingo! And here is the problem. The pcap header file I was using had numbers to indicate each line. I have no idea how this happened?? What makes this even stranger is I was using textpad the whole time and these numbers didn't show up.
I think this may have to do with Vista blocking my saves to a directory I was trying to write to in c:\program files.
 Originally Posted by xiphias360
It's not uncommon for hackers to put out exploit code out there with blatently obvious syntax errors. This keeps the script kiddies from being able to just pick up the ball and start running with it. In your situation, that's exactly what's happened here. A script kiddie is someone who uses hacking tools and exploits without even understanding how or why they work.
I actually don't see any errors in the exploit code that I attached yesterday. My pcap header file was all screwy, but other then that, there are no errors in the exploit code itself.
I do agree with you that exploit code can contain errors that prevent the script kiddie from compiling it. This has never stopped me in the past.
I think in this case, Vista was preventing me from doing the work correctly. By trying to compile the program outside of my user space, it was causing me to see things that weren't actually there!!!!
 Originally Posted by xiphias360
Sit down tomorrow and put some good effort into what I just glazed over, and if you still have troubles post an update tomorrow and we'll see what we can do 
Thanks for the help Xiphias360. I have almost got this thing working. I just need to find the winsock/windows.h header files and I should be good to go.
- The Wolfman
Similar Threads
-
By SDK in forum Miscellaneous Security Discussions
Replies: 4
Last Post: January 28th, 2005, 05:54 PM
-
By progme in forum Other Tutorials Forum
Replies: 11
Last Post: November 2nd, 2003, 04:43 PM
-
By corndog420 in forum Programming Security
Replies: 10
Last Post: August 22nd, 2003, 04:37 AM
-
By tampabay420 in forum Programming Security
Replies: 2
Last Post: February 14th, 2003, 02:36 PM
-
By ele5125 in forum Programming Security
Replies: 1
Last Post: November 3rd, 2002, 11:29 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|