Archive for ‘Education’ category

Hacking Websites

17 April, 2009 | admin | Comments

Disclaimer: Any damage/damages which may occur or arise using the information or by gaining knowledge through this particular post provided here lies solely on the person performing the act. I’m not responsible for any damage/damages of the same. What is written here, is provided solely on informational purpose.

Even dreamed of Hacking a website? Ever wonder how to get into ones website and deface it?
Well dream it.. there’s no harm in doing that; but don’t practice it (Are you confident enough about hiding your traces behind?).
Words be, lemme tell you a few live hacks done through SQL injections. You can try right now as it works (by the time this post is written) but CONSIDER doing it at your OWN RISK. What i’m telling here is more of a Ethical Hacking; that means, know that it can be done the way I’m explaining here, and find out how to protect from being a victim yourself.
It’s simple. Most people think Hacking is for the master coders only, which rather is wrong. Of course some knowledge are required and depending on the level of security, one can break through any system. HACKING into a system can be minimize but you CAN’T guarantee a 100% secure system.. as there is always a way!!

So now, here are some sites which lack some serious security measures:
Uttar Pradesh technical University website -
http://uptu.ac.in/ (To login, goto login on the top right, go to college login, and then choose VC)

Red Fm 93.5 website –
What the web developer of these sites have done is, they forgot, or don’t know how to use a escape string function (in PHP language). I won’t go into details just for the sake of the laymen. They don’t know or haven’t implemented certain measure to exclude certain characters from being input by the user. When a site asked for a username & password, what happens is that, the code checks the username to the username existing in the database and compare with the password in the same row with the user input password. If both the conditions returns TRUE, then the user is shown the next password protected page.
Look at this: “1′ or ‘1′ = ‘1″. Put the above in the username as well as the password field (without the double quotes). Here we formed an always TRUE condition as 1 always equals to 1. Or you can change it ‘2′ = ‘2′ or anything else. Now press enter and voila, you are at the backend of those sites. You can change anything from the backend.

Bresenham's Line drawing Algorithm

4 February, 2009 | admin | Comments
As with the “Computer Graphics” programming holds, the Bresenham’s Line Drawing Algorithm is one cool algo to play with. There’s no pixel overlapping and it’s kinda easy too. Here’s the C codes for the program, just copy it out and see for yourself.

#include
#include
#include
#include

void main()
{
clrscr();
/* (x0,y0) and (x1,y1) the end points of the line,
dx = difference of the x co-ordinates,
dy = differenc of the y co-ordinates
p = descision parameter */

int x0,y0,x1,y1,dx,dy,x,y,xend,p,gd=DETECT,gm;
initgraph(&gd,&gm,”C:\\TC\\BGI”);
printf(“Enter x0,y0,x1,y1 :”);
scanf(“%d%d%d%d”,&x0,&y0,&x1,&y1);
dx=abs(x0-x1); //Calculating the difference of the x co-ordinates
dy=abs(y0-y1); //Calculating the difference of the y co-ordinates
p=2*dy-dx; //descision parameter

/* The if-else statement puts the left coordinate out of the two ends in x0,y0 */
if(x0>x1)
{
x = x1;
y = y1;
xend=x0;
}
else
{
x=x0;
y=y0;
xend=x1;
}
putpixel(x,y,1); // puts the pixels on the screen
while(x< xend)
{
x++;
if(p<0) // for p<0
{
p=p+2*dy;
}
else // for p>0
{
y++;
p=p+2*(dy-dx);
}
putpixel(x,y,1);
}
getch();
}

The Narotam Sekhsaria Scholarship

31 January, 2009 | admin | Comments

The Narotam Sekhsaria Scholarship is a merit-based loan scholarship program designed for the best and brightest minds who wish to pursue their post-graduate studies in India or abroad. Besides gaining a higher education, those selected will have a unique advantage of being a part of the the Narotam Sekhsaria mentoring program. Applications are invited for scholarships for the the academic year 2009-10; there’s only a few days left, so why not fill it now!!

Eligibility:
1) Indian Nationals residing in India.
2) Students below 30 years of age (as on 31st Jan, 2009).
3) Graduates of a recognized Indian University. (Final year students of degree course or those awaiting results can also apply).
4) Students planning to pursue post-graduate studies at prestigious institutes from the Fall Semester. (Students awaiting admissions are also eligible, but the award of scholarship is subject to securing admission).
Given are the details of the scholarship:

Scholarship amout:

The amount of the scholarship, upto a maximum of Rs. 10 lakh, will be decided as per the assessment of the foundation.
How to apply:
Download the application form from their website at www.nsscholarship.net. An application fee of Rs. 300, by cash/DD/MO drawn in favour of Narotam Sekhsaria Foundation should accompany the duly filled forms. (Cheques are NOT accepted). All completed forms must reach the foundation by 20th Feb, 2009. Incomplete applications will not be considered.
Selection Process:
All applicaions will be screened for the purpose of shortlisting. Shortlisted candidates will have to appear for a personal Inteview at Mumbai during April 2009. The interview is mandatory, and is the basis for final selection.
Contact:
Narotam Sekhsaria Foundation
102, Maker Chambers III
Nariman Point, Mumbai 400 021
Tel: +91 22 2282 4705/4589
Email: admin@nsfoundation.co.in

Want to protect your idea??

2 January, 2009 | admin | Comments
Recently…errr well not really, it was a while ago since i’ve been thinking about the procedure to protecting one’s original idea/concept about something… I said IDEA or CONCEPT.
The first thing that came into my mind was of a Copyright Protection. However, copyright doesn’t protect your ideas/concepts. I’ve gone through some of the US and Indian copyright protection handbook and that led me to the conclusion that copyright, in any case, doesn’t protect your ideas from being ‘copied’.
The question arises now… Can an idea be protected??

Yes. An idea can be protected in the form of an invention. Patenting the creation and the technical drawings (related to the idea) is one option but someone in the university, a student or any individual may not be ready to spend the handful amount of dollars required to get the idea patented. Copyright, on the other hand is cheap and protects your idea in the form of an innovation or original creation. If you’ve created something, putting a © symbol protects your creation but however, you need to register it (which though requires a small fee) if in case legal issues are to be fought. Putting a © symbol conveys that the creation is copyright property and just putting the symbol ensures it rights. For federal acts or legal proceedings, valid registration with the Copyright Protection Department in your country is essential.

Other ways to protect your ideas include submission of your ideas to organisations. Many of which are available online and some charges small amount of fees while others doesn’t. Another way is to mail yourself all the required documents provided the envelop in still sealed. This is valid only when there is a date stamped on the envelop by the post office and which represents the date on which your idea becomes ‘yours’. However, this method is not much recommended.
Bottomline is, turn your idea into an innovation first…