Search found 264 matches

Return to advanced search

Re: Forensic Mission 1

Indeed, Basic 1 :)
by BhaaL
on Sat Oct 23, 2010 5:27 am
 
Forum: Forensic
Topic: Old Forensic Mission --DOWN
Comments: 38
Views: 198530

Re: Scrollbars in Firefox. Halp?! Let's break the rules.

Doesn't work. End of story.

You could probably write an AddOn that parses the CSS and tries to modify the chrome it displays, but I doubt that would work (in case it would, someone would have done it already).
by BhaaL
on Mon Mar 15, 2010 12:15 pm
 
Forum: Programming
Topic: Scrollbars in Firefox. Halp?! Let's break the rules.
Comments: 10
Views: 11570

Re: C# Login

It works the same as for any other Website. Maybe google a bit for what you are trying to do (like, POST some form fields in C#) or look at RFC 2616 and related.
by BhaaL
on Fri Mar 05, 2010 9:09 am
 
Forum: Programming
Topic: C# Login
Comments: 12
Views: 16822

Re: C# Login

You dont need to take care of cookies yourself, the Cookie Container does that for your; just make sure to include the same container for all requests. Just call GetRequestStream() on the Request object, and use whatever method you like to write to it (StreamWriter for example). Then, simply close t...
by BhaaL
on Thu Mar 04, 2010 12:09 pm
 
Forum: Programming
Topic: C# Login
Comments: 12
Views: 16822

Re: C# Login

You need to use a different url to log in, store the cookie, and then submit your answer. The cookie container is correct for the latter, but you still need to go to login first. And you'll need to write your HTTP to the request stream you obtain from the HttpWebRequest object before getting the res...
by BhaaL
on Tue Mar 02, 2010 12:26 pm
 
Forum: Programming
Topic: C# Login
Comments: 12
Views: 16822

Re: Class Library C#

It does draw the graphics, but this is not the correct way to achieve permanent stuff. The control will redraw itself after some time, which will delete your rectangle. Attach that painting to c.Paint (or, if you have your own class derived from Control, override the OnPaint method) to get it perman...
by BhaaL
on Tue Feb 16, 2010 11:50 am
 
Forum: Programming
Topic: Class Library C#
Comments: 3
Views: 5294

Re: Metamorphism help?

I suppose you are talking about self-modifying code? I don't think this is possible in managed languages like Java, since you don't have access to the lower levels where the VM actually runs your code. Even if you did, I could imagine it will block such attempts. And you usually dont need the JDK (D...
by BhaaL
on Mon Jan 25, 2010 12:46 pm
 
Forum: Programming
Topic: Metamorphism help?
Comments: 4
Views: 7126

Re: C# socket problem

The try/catch approach to this problem is very slow, and might yield false positives. A lot of operations on the .Net Framework follow the asynchronous pattern, and provide either BeginXxx/EndXxx methods, or a related XxxAsync method that runs in background. Keep a (thread-safe) storage that knows a...
by BhaaL
on Sun Jan 03, 2010 5:59 am
 
Forum: Programming
Topic: C# socket problem
Comments: 6
Views: 11190

Re: Difficulty understanding header files

Yes, you can. Infact, you might have to for cases like my a/b example.
You only put them into header files to have better separation, and allow stuff to be distributed as sort-of API (you know the functions, but you dont have to know the code).
by BhaaL
on Wed Dec 30, 2009 5:45 am
 
Forum: C and C++
Topic: Difficulty understanding header files
Comments: 4
Views: 8284

Re: Difficulty understanding header files

Those forward declarations (also called prototypes) only define how the function is going to look like. While compiling, the compiler of choice does a top-down parse and throws if it doesnt know functions: void a() { b(); } //will fail, b is not known void b() { a(); } //a was defined before b, so y...
by BhaaL
on Tue Dec 29, 2009 6:20 am
 
Forum: C and C++
Topic: Difficulty understanding header files
Comments: 4
Views: 8284
Next

Return to advanced search