topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • February 18, 2020, 12:52 AM
  • Proudly celebrating 14 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.


Topics - 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 / what is __restrict keyword in c?
« on: January 23, 2009, 12:55 PM »
what is __restrict keyword in c?

4
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);
}


5
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.

6
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?

7
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)

8
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]