Pages

Tuesday, August 27, 2013

Monday, August 19, 2013

How to Disable MOUSE activities in BLOGGER

  • Go to blogger dashboard
  • Click on Template tab.
  • Now Add Gadget >> HTML/JavaScript
  • Paste JavaScript code there which I provided above.
  • After pasting code click on Save button.

<script type="text/javascript">
//Disable mouse select
var omitformtags=["input", "textarea", "select"]
omitformtags=omitformtags.join("|")
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false }
function reEnable(){
return true }
if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else {
document.onmousedown=disableselect
document.onmouseup=reEnable }
</script>

---------------------------------------------------------------------------------------------

<script language="JavaScript">
<!--

var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>


SourceCode From ....Clickhere

Thursday, August 1, 2013

Create User a/c using command prompt


  1. Run
  2. net user username password


Password Hacking .....How?? Is it possible?

1. Go to C:/windows/system32

2. Copy cmd.exe and paste it on desktop

3. Rename cmd.exe to sethc.exe                   // Five Shift Key Press = StickyKeys (sethc.exe)      
                                                         and First copy cmd.exe and paste it into somewhere else(2nd step).

4. Copy the new sethc.exe to system 32,when windows asks for overwriting the file, then click yes

5. Now press shift key 5 times you will get cmd prompt .

6. Now type “NET USER ADMINISTRATOR mypassword”          //net user username password





Hide All Computer Drives Except C-Drive(windows) Using Command Prompt





For Enabling the drive again //VISIBLE





Disable USB drive




Way to Prevent access the drive



  • Run or Win+R
  • Type "gpedit.msc"




And finally press "Apply" button

Disable FACEBOOK from our computer without any PROXY


  • Go to Run
  • Type "c:\WINDOWS\system32\drivers\etc"
  • Open "hosts" file in notepad



"#"     //commenting section

127.0.0.1 is "loopback address" //NIC Card address
ie; localhost

If u need to disable facebook facility

127.0.0.1  www.facebook.com

"Unable to Connect" message will come in your internet explorer

Folder Lock


CACLS - Control ACL's is a command made to control the access to different users in Windows XP.

/e         - Option - Edit
 /p         -Change Permission     
everyone -  User : Name 
:             - colon
n/f         -   No Access/Full Access

cacls  c:\windows\*   /e   /p  everyone:n/f

Folder lock using command prompt

1)Run       or Windows+R

2)Type "cmd"  or "command"

3)type  attrib +h +s c:\windows                Enter     //We can hide windows folder from students


4) For enabling

    attrib -h -s c:\windows

Google Talk