Monday, February 22, 2010

Simple cmd.exe tricks for starters

Introduction

Hey guys, 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.
Code:
net user net user (username) * [note: just start typing the new password you wont, no writting will come up though just hit enter when ur done] net user (username) /add net user (username) /del net localgroup (localgroup eg.administrators) (username) /add
References