Friday, 30 July 2010

Simple cmd.exe Tricks

Introduction



Hey guys, yeah this is my first posting here. These are just some simple little things i like to use to cause no end of frustration to my school administrators....yea im mainly a white hat tho

Background



Basically these are just some simple cmd.exe commands that normal people don't know about. Actually most people don't even know what cmd.exe and as soon as you open it their like 'oh shit you must be a hacker'. God damn sterotypes

The code



Ok the first code is to see all the users on the computer
the second will change the password of any user (including the admin) note: unless using a network command line interface eg. Powershell it will only change the individual computers admins password which is still pretty useful
the next adds a new using to the comp
you guessed it, this one deletes a user
and this one adds a user to a localgroup

Blocks of code should be set as style "Formatted" like this

net user
net user (username) (note : Just type the new password u want)
net user (username) /add
net user (username) /del
net localgroup (localgroup eg.administrator) (username) /add

1 comments:

  1. I want to add a little,
    if you want to change password with that trick,
    it just work on XP, it won't work on Vista.

    If you want to use it on Vista, type :
    net user [username] shift 8

    and it works.......

    ReplyDelete

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Best Web Hosting Coupons