topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 19, 2024, 5:57 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - megatron [ switch to compact view ]

Pages: [1]
1
Developer's Corner / use of $('#some_id') in javascript
« on: January 20, 2010, 03:26 PM »
Can anyone provide me some details about the [$(‘3] used in a java script e.g. $('#select_text').XYZ. I saw this in a .js file but when I try to use it in my javascript it gives some error. In the given example the  “select_text” is a id of a text box in the web page which include the .js file containing the $ code.


Can anyone provide me some tutorial about this “advance” javascript.


2
We all have seen and used many coding standers in different projects based on the programming language e.g. c or java. I have been using coding standards suggested by SUN for java based projects.

I just don’t know why we still follow few coding styles suggested in the standards e.g. 80 character limits for a line, if a line exceeds 80 character, break it to the next line.

As I know the reason for this was explained below:
some terminal are not able to properly display more than 80 characters in a line and we need to scroll the editor to see the full line, so it is suggested to have max 80 character per line.

However, these days you will find most of the monitors are wide screen (most of the commercial companies uses them) and capable of handling more than 80 character per line.

I think this type of coding standards should be picked based on the projects. As an example if entire company has wide screen monitors and uses a common editor e.g. eclipse, then this rule should be reevaluated to maximize the capability of the hardware and software. This makes code much cleaner and makes it more readable.

3
Developer's Corner / Re: what is __restrict keyword in c?
« on: January 25, 2009, 02:24 PM »
I was surprised to find a rather detailed article demonstrating the use of __restricted here.

Very informative link… I think I got what this keyword does…

4
Developer's Corner / what is __restrict keyword in c?
« on: January 23, 2009, 12:55 PM »
what is __restrict keyword in c?

5
cool link  :Thmbsup:

6
Can anyone provide some link which has some details to unpack a creackme (Packed using UPX I think). It will be very helpful if it can  explain how the unpack of UPX works (instead of just giving steps to unpack it). I am more interested to know how it works.

A) Crackme.
B) Where's the solution for MY crackme?


i am asking about the same crackme :D in this thread...

7
For method #2, there's no reason to write function prototypes (and it's not required for neither C nor C++).

I got your point… but I have seen people almost “killing” others to prove that method#2 should have a forward declaration…. But I could not find a online link which can explain in depth that there is no need for forward declaration in method#2….

8
Yes that is a good approach and it is followed almost everywhere (“as far as I know”)...

This is my understanding from your answer:
1.   you only meant non-static methods in the .h file. 
2.   Static method signature does not required if static method definition is placed before caller method.

But I faced lot of question when I don’t put the declaration of a static method in case 2. I could not find a book or a link which says that this is not necessary (which I can send to a person to justify my point)

9
Good point… I have faced it so many time when IE crashes (don’t know the reason) and all the TABS are closed…

10
In the scenario 1 I must declare method on the top, but should I declare it in the scenario 2 also?

Scenario 1:
=========

Static void local_method(int param);

Void caller()
{
   local_method(1);
}

Static void local_method(int param)
{
   // doing something



Scenario 2:

/* I have define this method before caller, should I still declare its method signature above.
What is the benefit I will get if I declare it  on the top */
Static void local_method(int param)
{
   // doing something


Void caller()
{
   local_method(1);
}


11
One thing I want to tell about exceptions (I am not sure if it is relevant in this thread  :D)
1.   you don’t know why it is thrown
2.   how to handle it

if you handle a exception without knowing the root cause, it may hide the internal problem which should be fixed properly at the place where it was originated.

12
Developer's Corner / help needed to unpack a exe (example creakme)
« on: January 09, 2009, 12:15 PM »
Can anyone provide some link which has some details to unpack a creackme (Packed using UPX I think). It will be very helpful if it can  explain how the unpack of UPX works (instead of just giving steps to unpack it). I am more interested to know how it works.

13
Example: IE Tab
Good plug in, but why would anyone use this IEtab plugin on FF (other then web developers)?

14
ya it sounds like that both are batter then IE7  :D

15

Thankfully I am smart enough to use UAC.

 I still did not get if you are saying the IE8 is good?
IE8 adds a sandbox mode that should make browsing the web safer


Or you are saying that it's not
I still don't see why anybody sensible would use IE instead of FF3, though.

16
I was using IE6 before and switched to firefox because IE6 was not having multiple tabs. But with the release of IE7 I have come back on IE7 again. But I am not sure if installing IE8 is worth because I could not see some major feature in the new release (except private sessions).

Does anyone have idea of some useful features which comes with IE8? And is it safe enough to use it?

17
Developer's Corner / Re: Check boxes
« on: January 08, 2009, 03:27 AM »
just a example code, i am not sure if it helps but try it....

<html>
    <table>
    <tr width="5%">
   <td valign="TOP"> <input type="checkbox" > </td>
             <td> this is is a temp text this is is a temp textthis is is a temp textthis is is a temp textthis is is a temp textthis is is a temp textthis is is a temp textthis is is a temp textthis is is a temp textthis is is a temp textthis is is a temp textthis is is a temp textthis is is a temp textthis is is a temp textthis is is a temp textthis is is a temp textthis  a temp text</td>
   </tr>
   </table>
</html>

18
I had a look at the latest ollydbg release 200i  (still beta) which has released on Dec23 08 (I think)… it still has plug-in support missing but has very good support for break points. E.g. old ollydbg (1.10) versions were not able to set breakpoints in some area in the memory maps… but after using the latest version for a day or 2 I found the latest version very good.

Great work from ollydbg development team…



19
Developer's Corner / Re: How to remove CRC check from a exe?
« on: January 02, 2009, 04:04 PM »
I am sorry, typo error… missed “NOT”  :D

20
Developer's Corner / Re: How to remove CRC check from a exe?
« on: January 02, 2009, 03:55 PM »
Definitely I am going to remove a license from a program for piracy or to use it illegally. I want to figure out how it is done, so that I can also use the same. And put some more protection over it instead of using some packer program like ASProtect (which I think is already broken)

21
Developer's Corner / How to remove CRC check from a exe?
« on: January 02, 2009, 03:12 PM »
Anyone has some tips to remove CRC check from exe.

I have a exe which has is_debug_present and some assembly which I had to change. But now when I run that program I get some error “error unpacking program”. I think the exe has some internal CRC check.

Problems while remove CRC:
1. I think the error string shown is generated at runtime, so I cannot find from memory map and put BP
2. I cannot see any references to show window, msgbox etc.

Anyone can provide some tips to fight these anti-reverse eng ticks.

I am using the latest ollydbg-200i, which has very good support for putting memory point anywhere (old ollydbg gives problem if I put breakpoint in some memory areas)

22
Developer's Corner / Re: Old features missing from ollydbg 2.0 release
« on: December 16, 2008, 11:41 PM »
Is it possible to use the latest ollydbg 2.0 with all other missing feature (missing feature can added using plug-ins?)

23
Developer's Corner / Old features missing from ollydbg 2.0 release
« on: December 15, 2008, 04:13 AM »
Can anyone tell me how to get other tool buttons in release 2.0 which was in the 1.10 release e.g. windows, call stack, handles etc

Pages: [1]