Skip to main content

Posts

Showing posts from November, 2012

XSS(Cross Site Scripting) Part 1:

Hello Everyone, Today I am going to share with you some basic methods of XSS attack. XSS or Cross Site Scripting is a vulnerability found in web application. It is method by which malicious script is injected into the the websites .These type of attacks is made by injecting some code written in client side scripting code like Javascript or VBscript .And once the code is executed in the browser side it can be used to perform attacks like generating popups , cookie stealing and as well as website defacement. XSS can be divided into 3 different category  Non Persistent  Persistent DOM Based In this tutorial I am going to discuss mainly on Non Persistent XSS attacks. The other techniques will be presented in separate tutorial. CAUTION "This tutorial should be used for educational purpose only. I won't be responsible if you misuse this techniques and get yourself in trouble.Performing such attacks without the permission of the owner can lead to serious trou

C++ Code Hacking 1: Pointer Exploitation

C++ Code Hacking 1: Pointer Exploitation                   Today I am going to show you how you can access the values of private member variables directly inside main() without the use of any member function.                   We know that we can access private member variables with the help of public member functions only. It is impossible to access it directly inside main() through objects.But I am going to prove you wrong . Note: This is the final code        Output: Password Extracted !!!                                          Now I will explain what I exactly did here. We know we can access public member variables directly. So I extracted the memory address of of the public variable 'id'. Now because all variable are stored in memory in a continuous manner it is possible to get the address of other variable by knowing the address of one variable.Here I knew the address of the variable  'id'. So I managed to get the password vari