Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Exit codes and other things

  1. #11
    Senior Member
    Join Date
    Jul 2003
    Posts
    813
    Originally posted here by pooh sun tzu

    Then since almost every single question posted on AO is documented somewhere on the net already, we should tell each and everyone of them to RTFM? Do you know how small that would make the entire AO forum as a whole, and how many people would -still- come back to ask us the question again, hoping someone can explain it better than a cryptic man page. I don't care how many times I have to answer a question, I will still answer it. My responce and help would be no different than them running the 'man' command.
    Oh so it's a popularity contest of what Internet forum can have the highest attendance in members then? Yes a lot of questions are probably documented somewhere, hence why some of us know the answers. I seem to observe a thorough and repeated misunderstanding of my reply. I did, upon joining AO, agree to share my knowledge when it comes to 'anything computers'. Otherwise the community would not function and there would indeed be limited - if any - participation. My original reply was not flammatory or 'bitter'. I simply recommended some steps that should be followed when it comes to questions... For one, I always Google the heck out of whatever I can, the man and whatever referrence books I have, even go to IRC ocasionally for some stuff. Does that take long? Depends. And if I don't find the stuff I'm looking for or I don't get it, I'm not afraid of asking the question at AO. Why? First of all, because I have some knowledge of what I want explained and that helps me formulate the question better as well as understand the answers better.


    However, explaining concepts that would take thirty seconds or so from someone here who already knows it, and put it into words that is understandable is just so much more efficient and kind than having someone RTFM, google, ask questions, get flamed, google more, get confused, and then maybe catch on a few days later.
    So because I have information that I could teach somebody else in 30 seconds I should simply disregard the fact that I would be able to learn something new [in those 30 seconds] and spoon-feed another person? Which in turn causes them to become more and more reliant and dependent on me and/or others that can simply offer that information. Information that I [for the most part] learned on my own time from sources readily available to anybody. Whereas if somebody needs clarification with something and I might be able to provide it, I am more likely to do so. I then have the certainty that the person will really learn what I'm trying to explain instead of interrupting me constantly and needing to backtrack and explain other information.

    I've posted many topics of things I know full well I could google and RTFM, but why should I be forced to when I know I can gain much more insight and personal experience from those who have already done it first hand?
    Because we are all individuals and therefore responsible for our own evolution within this world on all levels that it may come to us. I discuss code or concepts with people too, but I try to have a certain degree of base knowledge that [as said] can help me really take advantage of the help I'm given. The person that would offer said help is more likely to offer it to me on this basis as well.

    I guess my primary point is this: You teach people new to the security/programming world to read read read read read and study study study and to never hesitate to ask questions. Yet now when they ask questions we slap them for their newbiness and give then RTFM finger?
    M-hm. On the topic of the FC command the first two steps were skipped and the jump to the question was made.

    And for blithendell

    The F[ile] C[ompare] command as available per the Windows XP DOS Shell is used to compare [as the name says] two or more files for differences. The files can be either compared in ascii [with additional options such as case ignore or considering tabs as 1 or 8 characters] or binary format.

    When executed from a shell the command would either display the differences in the two files [different method between ascii and binary comparison modes], return a "Resynch Failed. Files are too different" or a "FC: no differences enountered" message.

    As far as I get it you're writing out a batch file. Was it your intention to compare the logs as files? [That bit isn't too clear] Because that won't work out too great, with different file stamps and whatnot [which you could avoid through netstat if I remeber correctly]. Anyway unfortunately I do not think at that level FC would do much good for you, what I would try to do is code a small app in C that would peruse the files against a 'standard traffic table' or something and alert when something out of the ordinary is happening. That kind of a thing would involve a lot of string manipulation but it's an option.

    Alternatively somebody out there might be able to help out with some other command that could do the trick.

    P.S. http://www.microsoft.com/windowsxp/h...tdoc/en/fc.asp
    /\\

  2. #12
    My entire argument against how you treated him can be summed up like this:

    So because I have information that I could teach somebody else in 30 seconds I should simply disregard the fact that I would be able to learn something new [in those 30 seconds] and spoon-feed another person?
    Google and man pages are forms of information gathering. The human brain is a form of information gathering. If someone chooses to speak to a human instead of a computer for answers (which would be the same answers whether they did the 31337 process of searching for it or not) then that's perfectly fine. Not only do they get the same information from a human as if they had googled it themselves, but it doesn't make the newbies feel as if someone 'leeter' is pushing them away. IF you feel human contact with a question/answering process results in cookie cutter answers, then I guess I must be guilty on all accounts and have no ability of my own to learn beyond others. I mean, after all, when I started out I learned better through having others show me and guide me through experiences first-hand than reading a monotone tutorial on it that couldn't answer my curiosity in full.

    Some people learn better on their own, some people learn better with others. I embrace both, and will never hesitate to help, explain, and teach (read: not 'spoon-feed') the knowledge which I have learned. If google has the same information that I would give someone, more power to google. Otherwise, they asked here, not google.

    Patience is one of the greatest virtues of teaching.

  3. #13
    Hi, i am also a newbie. Does a newbie like me have any oppotunity to "exist" in this community? For those newbie who posted question that i felt that i am able to help,
    Am i allow to help even thought my answer is not as good as those from hardcore
    guru like u all?

  4. #14
    Summer, welcome to AO first off You "exist" in this community regardless of opprotunity or how much you know. The knowledge levels here range from both brand spankin new people to hardened security veterans. Each has their place and each (so long as their attitude is in check ie. kind) are welcome here.

    A few bits of advice I can give you:

    1. Read read read read read.
    2. When you don't understand something, ask and don't hesitate to ask.
    3. Since you are a bit new, don't hesitate to speak out on something you may know about, but also don't forget to learn. If someone corrects you on something or expands something you have said, listen and learn.

    Once again, welcome to AO!

  5. #15
    Thanks pooh, actually i created this acct quite sometime back as i was digging for fixes of some windows exploit. I have been use to do this all on my own but i suppose nothing beat the feeling of being in a community and make a few friend on the way.

    I suppose all of us have one thing in common, that is hunger for knowledge. We enjoy the process of finding out what we wanted as much as the final solution. So whoever join the community with different priority most likely will be treated as alien.

    Some of us are more tolerable to these "alien", some are not. But all of us are part of these community. All of us are looking at issue with different perspective/ level of expertiz. That is what makes being in a community interesting.

    To some extend i agree with hypronix, you must teach the guy how to fish rather than keep feeding him. But everyone of us were here for different reason. Lets be more tolerable to each other. It would be a kind answer if hypronix point us newbie in a direction to look for relevant information. RTFM also should tell us which manual to read rite?

  6. #16
    Senior Member
    Join Date
    Jul 2003
    Posts
    813
    Originally posted here by Summer_breeze
    [BIt would be a kind answer if hypronix point us newbie in a direction to look for relevant information. RTFM also should tell us which manual to read rite? [/B]
    I am a newbie in millions of way, comparing to pooh sun tzu and many, many others. Anyway I believe our little ideological discussion here took the thread away from what it was meant to do... and there hasn't been any recent repsonse from the starter of the thread so.. what's up?

    P.S. RTFM is meant in regards to the original manual documenting a said application. As in Linux it would be [i]man man[i] for example.
    /\\

  7. #17
    Junior Member
    Join Date
    Aug 2003
    Posts
    11
    To start off, I'm sorry for causing a flame war. I honestly did try searching on google for FC exit codes before I posted, but I only found ones for the diskcomp command.

    I don't think I was too clear on my intentions. I was trying to create an IDS ideal for broadband connections left on at night (just a little project for me...not to be used as serious protection). The User could set what 'normal' traffic would look like and save it in a file, and netstat would run every few seconds and put the output into a seperate file. The FC command would compare the two after netstat is run. I needed the exit codes to see if the files were alike (no intruder), or if they were different (intruder).
    Everything Turns Grey!

  8. #18
    Senior Member
    Join Date
    Jul 2003
    Posts
    813
    1. A disagreement is nothing close to a flame war. I don't think any flammatory remarks were uttered by either of us. A flame war also tends to have a baseless starting point.

    2. I didn't know anything about FC. But I knew it is documented in the reference, and the Windows Knowledge Base has an entry on it [the manual... I read it so I know some stuff about FC now ]

    3. Check up on that link if my reply didn't really make sense. I still think that using FC will give birth to a lot of bugs in terms of simple things. So there might be a lot of false-positives that you'd immediately detect [or after so much as a WHOIS query] but the program might not.

    Well I guess the only way to find out is to write the code... so get cracking at it!
    /\\

  9. #19
    hypronix is correct This never reached a flame war, just a discussion level. You will find this happens a lot on AO, but don't mistake it for flame wars. People here will of course have varying opinions and thus it will lead to discussions, ideas, and disagreements. But that is in no way a flamewar or meant to be personal to either arguing party. Unless of course someone starts name calling or personally insulting each other....

    hypronix makes his mom tuck him in at night! harharhar!!!

  10. #20
    Senior Member
    Join Date
    Jul 2003
    Posts
    813
    Originally posted here by pooh sun tzu
    hypronix is correct This never reached a flame war, just a discussion level. You will find this happens a lot on AO, but don't mistake it for flame wars. People here will of course have varying opinions and thus it will lead to discussions, ideas, and disagreements. But that is in no way a flamewar or meant to be personal to either arguing party. Unless of course someone starts name calling or personally insulting each other....

    hypronix makes his mom tuck him in at night! harharhar!!!
    Right so this thread is long dead... but for the record this was an unfair hit from pooh. He knew very well I was spending the week installing Gentoo so I couldn't check the site... which is like a hit below the belt... especially since my mom was tucking me in so I can sleep better after the long hours of configuration of the OS

    NB: my mom lives about 5k clicks away from me.
    NB2: and pooh and Shrek helped out a lot during that Gentoo install
    /\\

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •