GAWD DAMMIT YOUR SHIT LIMITED? YOUR FUCKING SITE ADMIN DO SOMETHING
OR YOU JUST NOT THINKING CAUSE ALL THAT RUNNING THROUGH YOUR PEANUT BRAIN IS GIVING DIISADFAS A BLOWJOB
jew!
THE EYE OF AN ADMINISTRATOR IS UPON YOU. ANY WRONG YOU DO IM GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE IM GONNA BE
"First they ignore you. Then they laugh at you. Then they fight you. Then you lose.” - Dave84311
HAVING VIRTUAL DETOX
LOL OWNED BY TOXIN AHAHHAHAHAHHA
jew!
THE EYE OF AN ADMINISTRATOR IS UPON YOU. ANY WRONG YOU DO IM GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE IM GONNA BE
"First they ignore you. Then they laugh at you. Then they fight you. Then you lose.” - Dave84311
HAVING VIRTUAL DETOX
contractions equals infractions wigger. I'll give you one for being grammatically retarded
jew!
THE EYE OF AN ADMINISTRATOR IS UPON YOU. ANY WRONG YOU DO IM GONNA SEE, WHEN YOU'RE ON MPGH, LOOK BEHIND YOU, 'CAUSE THATS WHERE IM GONNA BE
"First they ignore you. Then they laugh at you. Then they fight you. Then you lose.” - Dave84311
HAVING VIRTUAL DETOX
lol toxin
FUCKING BLACK PEOPLE
Too late D: ?
There are two types of tragedies in life. One is not getting what you want, the other is getting it.
If you wake up at a different time in a different place, could you wake up as a different person?
Last edited by radnomguywfq3; 10-31-2009 at 03:38 AM.
There are two types of tragedies in life. One is not getting what you want, the other is getting it.
If you wake up at a different time in a different place, could you wake up as a different person?
Meh. =/
"Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."- Dwight D. Eisenhower
LOL YOU TOOK YOUR FUCKING TIME.
jew!
You did farily good why09, only problem is I often found myself reviving an answer I wasn't looking for, but that's my fault. I should've had better questions.
I.e In question one I was looking for use of a pointer as an array and as a pointer. I.e
char* string = "myMsg"; printf("%c", string[0]);
0.3 I was referring to the MSDN Library
Search for a random api and make use of it.
0.5 I was looking for more of a answer which would demonstrate setting and reading flags. But your answer was good enough.
0.6 I disagree with your point, although it can cause _some_ issues. Whole namespaces can be included into the current scope using "using namespace xxx"
0.8 strcpy is a static function, however you didn't really answer the question, a static library is compiled source code which is statically linked to your project. It's used to be able to easily reuse code, or use anothers.
0.9 In a software prospective, that's not really the answer I was looking for. Generally dynamic libraries are used for another purpose when working with software. I.e segments of a game rely on a certain library to manage all file IO. Just this file may need upgrading as the game's platform progresses. In thus case instead of sending users the whole game again, you can just send them the small library used to perform file IO.
1.1 Enumerators are supposed to do the exact opposite. Infact, they make code easier to read. Consider you have six states of a user. You can use an enumerator to hold the state, and contain all possible states. This beats using definitions and integer data-types by a mile.
1.2 There are a lot of situations where a struct is much easier to work with opposed to a class. Consider a method needs to pass several different types of data to another without knowing the operations of a class. Or a library is exporting methods which gather information, is it really appropriate to organize all that information in a class? It's an extremely poor design to have a class with that many public members, even if it is just to hold data.
1.3 Buffer overflows can cause a lot of problems, it can happen with any copying of any sort is done into a buffer, it doesn't have to be a char array, I.e, if you're writing a server that takes the GET\POST parameters passed to a page and stores them in a buffer that is too small to hold them, what can happen is the user can align a return address on the stack. This will overwrite the previous one, and if this is carefully planned, they can have it return inside of the buffer when ret is executed. Which is overflowed with shellcode. This is as dangerous as installing a virus on the server.
1.4 Good answer, but I was looking for something that was more along the lines which described that they were stored in the data-segment, and not on the stack.
1.7 Virtual methods can be overrided by classes which inherit the base class.
2.0 Yes, if we plan to write a debugger with our hacking toolkit.
2.1
The existing problems are:
-Global variable used without proper naming convention(count), and when unnecessary.
-e_flagsText's FlagsTextRed is incorrect. This will alter the same flags altered when a variable is ored with FlagsTextUnderlined.
-The prototype of a function should always be declared in the corresponding c file's header.
-totalArgs is an unneeded variable.
-%s is a format command and the way it is used by printf is correct.
-Buffer is declared in the middle of the method, is should be declared near the top to keep the code neat.
-Data is copied into the buffer using strcpy, this is unsafe because if argv[1] exceeds 50 bytes, it will overflow the buffer. strncpy should be used, or a buffer allocated to the correct size using new or malloc.
-Although return code should be 0, it doesn't have to. However a non-zero return generally means there was an error.
There may be more, that was just a quick scan.
0.3 You have to null out all the bytes which are equal to the deliminator, count all nulled bytes, that's the number of elements in the string. Then using strlen, and printf along with a char pointer in a for loop print out all the elements. Consider parsing a array of character, this method would have some use. Also, if you think this is ridiculous, wait until you see what google asks you. "Find an element in an array without any recursion or recursive code.".
0.4 Bitmaps. set = allocated, unset = free. You'd split memory into blocks of (insert-size-here). If the bitmap is large you split bits further down into another bitmap with blocks of (insert size here) bits.
Yeah I agree the 0.2 problem solving was a dumb one, I just didn't know what to ask for problem solving.
Last edited by radnomguywfq3; 10-31-2009 at 04:23 PM.
There are two types of tragedies in life. One is not getting what you want, the other is getting it.
If you wake up at a different time in a different place, could you wake up as a different person?