EvilZone
Programming and Scripting => Web Oriented Coding => Topic started by: iAmLuFFy on October 15, 2011, 04:00:44 PM
-
Hello friends,
Well java is too vast language for me, so i never tried to learn it.. but what i really like is java scripts, i mean if you know how to make java script then you can do lot of stuff on web hacking.
Here i found some java script, use it if you like :)
View password behind asterisk
if any one have logged in to any account and after log out if his password still exist on password field in asterisk form , i mean if he has checked remember my password checkbox.
so type this script in address bar and you will get password in plain text.
i know there are lots of tools available to do that but did you bring every tools with you every time?
javascript: var p=r(); function r(){var g=0;var x=false;var x=z(document.forms);g=g+1;var w=window.frames;for(var k=0;k < w.length;k++) {var x = ((x) || (z(w[k].document.forms)));g=g+1;}if (!x) alert('Password not found in ' + g + ' forms');}function z(f){var b=false;for(var i=0;i < f.length;i++) {var e=f[i].elements;for(var j=0;j < e.length;j++) {if (h(e[j])) {b=true}}}return b;}function h(ej){var s='';if (ej.type=='password'){s=ej.value;if (s!=''){prompt('Password found ', s)}else{alert('Password is blank')}return true;}}
Simple calculator
Just copy paste this code in address bar and you can calculate simple maths.put your calculation in () like (2+2)
javascript: alert();
Edit Web Page
This is just for fun.. at client side if you want to edit web page then copy paste this code in address bar and start editing. as you refresh page it will be in original form.
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
-
Nice scripts, but not really to hack but they are useful
Well i didn't tell that these script are for hacking... i said if you know javascript then you can make out lot of web hacking stull :P
-
This is javascript, not java. Big difference. Just say'n.
-
Quick thing about #1 & #2, the lastest versions of firefox(7) can't alert in url:
javascript:alert("HAI!");
won't work, although:
javascript:9*4
will produce a page with "36" as the output. On chrome the latter does not work. btw chrome is annoying as all hell for doing this, they automatically remove the "javascript:" prefix you put.
Opera works w/both.
In kinda relation to #1 something like this can be of use, it will send all form password field values to a remote logger when form is submitted. Also attempts not to screw up the regular flow of JS on the webpage. IE would require extra compatibility code.
http://pastebin.com/uU73yeuF (http://pastebin.com/FVRpkgXu)
Had troubles posting code, used pastebin instead of <code> tags.
-
Thank you so much.
-
Thread sucks. Anyways, this is what i always use to change cookies:
javascript:void(document.cookie=prompt(document.cookie))
-
One simple way to know what is behind the astrick is described below:
1) Right-click in the password field and select Inspect element.
2) Search for the <input type="password" name="Passwd" id="Passwd">
3) Now replace <input type="password" with <input type="text" and press enter. And you are done.
Sorry......
this method doesn't work in IE but works in Chrome and Firefox(not tested SAFARI and OPERA).
-
One simple way to know what is behind the astrick is described below:
1) Right-click in the password field and select Inspect element.
2) Search for the <input type="password" name="Passwd" id="Passwd">
3) Now replace <input type="password" with <input type="text" and press enter. And you are done.
Sorry......
this method doesn't work in IE but works in Chrome and Firefox(not tested SAFARI and OPERA).
It works in safari I've tested it before but I'm not sure about opera I might test it out on opera some other time
-
Dont confuse java with javascript bro , they are entirely different languages