Monday, November 28, 2011
Wednesday, November 16, 2011
Magic of Javascript Injection
1. Resolve an IP Address of current page by JavaScript injection
javascript : alert(java.net.InetAddress.getByName(document.domain));
In earlier version of Internet Explorer and Mozila
type the above code in the address bar and press enter
and open the scratchpad or webconsole in the latest browser to execute it.
In later version of IE , Mozila and Chrome
type the code in the goto tools and open web developer menu
like web console or scratchpad to run the above code
Note : This code will only run if the jre is installed in the system
2. Get the date on your webpage
javascript : var d=new Date();document.write("The current date is " +d);
3. Get the number of images, links, embeds
javascript: alert("No. of images " + document.images.length); alert("No. of links " +document.links.length); alert("No of embeds " + document.embeds.length);
javascript : alert(java.net.InetAddress.getByName(document.domain));
In earlier version of Internet Explorer and Mozila
type the above code in the address bar and press enter
and open the scratchpad or webconsole in the latest browser to execute it.
In later version of IE , Mozila and Chrome
type the code in the goto tools and open web developer menu
like web console or scratchpad to run the above code
Note : This code will only run if the jre is installed in the system
2. Get the date on your webpage
javascript : var d=new Date();document.write("The current date is " +d);
3. Get the number of images, links, embeds
javascript: alert("No. of images " + document.images.length); alert("No. of links " +document.links.length); alert("No of embeds " + document.embeds.length);
Friday, November 11, 2011
Alternative Keys of Key board
Hey friends do you know in our key board some alternative keys to the special keys
Operations Normal Keys Alternative Keys
Open Task manager Ctrl+Alt+Del Ctrl+Shift+Esc
Line Change Enter Ctrl+M or Ctrl+J
Tab Space Tab Ctrl+I
Show Properties Properties key Shift+F10
Delete character Backspace Ctrl+H
Start Menu Windows Key Ctrl+Esc
Operations Normal Keys Alternative Keys
Open Task manager Ctrl+Alt+Del Ctrl+Shift+Esc
Line Change Enter Ctrl+M or Ctrl+J
Tab Space Tab Ctrl+I
Show Properties Properties key Shift+F10
Delete character Backspace Ctrl+H
Start Menu Windows Key Ctrl+Esc
Sunday, November 6, 2011
Thursday, May 12, 2011
How to change your database without re-creating the table
Hi friends ....
Again I am come back with some interesting tips and tricks
Now i am going to tell you that how to change the database without rewriting the queries or
recreating the table
Let's see
You know XML is the way to make this possible
"Suppose I have a table named as Login in oracle 10g express edition and i want to change it into the MS Access Database ".
Here is a steps
Firstly you have to log on yo the database and i assume that you already know so skip the step to log on to the oracle 10g XE
After you log on to oracle 10g XE

this screen is shown
now navigate to this path
Home>Utilities>Data Load/Unload>Unload>Unload to XML
and then this window will shown to you

this option is shown to you
Select your schema ->next
Select your table->next (Here i chose Login table)

and then Select Columns in this way

Press Unload Data and now save this XML file.
Now Open MS Access and create a blank database
After that goto External Data option and select XML File.

Now select the path of you XML File.

Now Press Ok

then press close and your table will be created with name ROW
and also your data will also be inserted into the database.
and if you want to rename the table ROW with whatever name you want
Again I am come back with some interesting tips and tricks
Now i am going to tell you that how to change the database without rewriting the queries or
recreating the table
Let's see
You know XML is the way to make this possible
"Suppose I have a table named as Login in oracle 10g express edition and i want to change it into the MS Access Database ".
Here is a steps
Firstly you have to log on yo the database and i assume that you already know so skip the step to log on to the oracle 10g XE
After you log on to oracle 10g XE
this screen is shown
now navigate to this path
Home>Utilities>Data Load/Unload>Unload>Unload to XML
and then this window will shown to you
this option is shown to you
Select your schema ->next
Select your table->next (Here i chose Login table)
and then Select Columns in this way
Press Unload Data and now save this XML file.
Now Open MS Access and create a blank database
After that goto External Data option and select XML File.
Now select the path of you XML File.
Now Press Ok
then press close and your table will be created with name ROW
and also your data will also be inserted into the database.
and if you want to rename the table ROW with whatever name you want
Subscribe to:
Comments (Atom)