Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Ethical hacking Tips (http://www.go4expert.com/articles/ethical-hacking-tutorials/)
-   -   Simple cmd.exe tricks for starters (http://www.go4expert.com/articles/simple-cmdexe-tricks-starters-t10931/)

aussiedude 30May2008 19:13

Simple cmd.exe tricks for starters
 
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.
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



Go get em'

gaza08 17Jun2008 17:09

Re: Simple cmd.exe tricks for starters
 
how do i do this plz pm later

haroras 4Aug2008 15:51

Re: Simple cmd.exe tricks for starters
 
gaza ..
open a command window and type it there line-by-line
or use Windows > Run command on your PC .. opens a black window .. and there you type it.

XXxxImmortalxxXX 11Aug2008 00:08

Re: Simple cmd.exe tricks for starters
 
some of this works but all school computers ( unless the ones that are poor and cant afford protection on there pcs) have it to where on shutdown every download command ETC.... will all be deleted except for the stuff the admin specified so ur account will be deleted and wont work. also when you use that that computer can have a server user logon system to where when u turn on ur pc and the logon screens pops up its coming form the main servers pc and lets u logon so once logon and u try to change a password the server rejects it and wont let u at all.

And not to mention most school computers have keyloggers and recorders installed on there pc to see what ppls doing.

faizulhaque 11Aug2008 10:48

Re: Simple cmd.exe tricks for starters
 
This will give Access Denied 5

linuxswan 17Aug2008 21:18

Re: Simple cmd.exe tricks for starters
 
it worked for me i.e in Windowsxp professional, tested in my own system with the local user and changed the password for admin

anithac# 3Nov2008 10:43

Re: Simple cmd.exe tricks for starters
 
Hi ,i am working for connection between server and client.Can you help to connect one server and many clients ?

NDL 6Nov2008 15:29

Re: Simple cmd.exe tricks for starters
 
this is well known triuck

kiddo 17Apr2009 13:07

Re: Simple cmd.exe tricks for starters
 
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.......

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

I'm a newbie, It's nice 2 be here:nice:

iCanTtellYouMyName 18May2009 14:43

Re: Simple cmd.exe tricks for starters
 
Hi.

I loved using this in school, to get around the filters, so that I could play whatever I wanted ;)

The filters, block certain websites, anything that the school administrators deems 'inappropriate' such as pornography (obviously) and games (e.g. Runescape)

Well, this is useful if they also disabled use of the command prompt, cmd.exe

Go to Start>Accessories>Calculator (yes, the calculator) and in calc, click Help>Help topics.

Now. In the upper left hand corner you see a "?" right click on it and click "Jump to URL"

You will see "Current URL: mk:@MSITStore:C:\WINDOWS\Help\calc.chm::/calc_whatis_intro.htm"

In the Jump to URL: type in "file:///C:/windows/system32/cmd.exe" WITHOUT QUOTES OR SPACES

;) enjoy


All times are GMT +5.5. The time now is 06:21.