Results 1 to 13 of 13

Thread: The Usefulness of CMD

  1. #1
    Join Date
    Mar 2010
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default The Usefulness of CMD

    Yes I can hear it now. "Windows Command Prompt fails" "It's useless." Well maybe you'll get to learn something today. . This is for Educational purposes only. Use at your own risk.

    PS: (FukHaq5/ZPO Applies here)

    **NOTE**This tutorial Does NOT work on Vista. It you need Admin access on Vista, try using *THE* VDM exploit. If interested, getting the code/reading up on this is just as easy as googling for it ). /**NOTE**

    So A virus is keeping you from running Anti-Virus program or you forgot your admin password? Well have no fear, there is a simple method for getting %SYSTEM% access to your computer from a normal user account .

    This is actually a simple process. It all depends on running the 'at' command on command prompt. To access command prompt, press windows key + R



    and type in 'cmd'. The black Dialog box is The command prompt.



    To get your local system time, type in 'time' and hit enter twice. Now (mentally) add around 1 minute to it. Now you will be doing the "real work".

    Type this command in next

    'at *time + 1 minute here* /interactive cmd.exe'




    If you get a different output make sure you typed everything in correctly. Also note the time you enter should be different, and *MOST* the time your computer will be defaulted to a 12-hour clock.

    Once your computer's clock reaches the time, a new command prompt will open.



    Uploaded with ImageShack.us

    Notice the \System32> and its running under SVCHOST.EXE.

    Congratulations, you are now SYSTEM. Have some fun,explore, learn something .
    --------------------------------------
    A few activities for the reader:
    1) Get Explorer.exe to run as SYSTEM.
    2) Force a Password Change
    3) Force an unstoppable Reboot
    4) Rewrite your MsConfig (fun one ). [And Most Useful if something, such as a virus, is blocking access to it]

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

    Now I'm sure someone (Maybe?) wants to know WHY this works. Well here we are.

    The At command is Windows Attempt at Crontab/Cronjobs. All it does is really schedule tasks to run at a certain time. For more options you can just type in at /? for a more complete list of Options.

    The tag '/interactive' tells 'at' to interact DIRECTLY with the User(aka Userland). Now how does this get passed to SVCHOST? Well without getting too technical, SVCHOST has several processes running at once (for verification just check your task manager, you will see several). SVCHOST is "technically" a kernel service that runs in userland for interaction between the two.

    When running something '/interactive', as the 'at' "man" page says, it interacts with the desktop of the user logged in, which (For those that don't know) is Explorer.exe. Explorer is responsible for several other processes, one being Command prompt! *GASP*.

    It's 2 AM here so this might be a fail explanation. P:. I'll gladly explain anything else/clarify if needed . Happy Readings
    Last edited by chaoyd; 06-18-2010 at 09:12 AM.

  2. #2
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Perhaps have pics without the paint mess-up.. looks rather unprofessional.

    If we know your first name, it really doesn't do anything for us.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  3. #3
    Join Date
    Mar 2010
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ^Yeah they were from when i threw it together for a project and all i had was paint :O.

    I'll stay paranoid anyway.

  4. #4
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by chaoyd View Post
    ^Yeah they were from when i threw it together for a project and all i had was paint :O.

    I'll stay paranoid anyway.
    Uh huh... Whatever you say Tim.
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

  5. #5
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Who cares what your drive letter is...

  6. #6
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    maby explain more usefull functions and stuff?

    maby example .bat files
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  7. #7
    Join Date
    Nov 2006
    Location
    'Pergamino, BA, Argentina';
    Posts
    473
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by MylesMadness View Post
    Who cares what your drive letter is...
    Yea, hmm, letter...

  8. #8
    Join Date
    Mar 2010
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by MylesMadness View Post
    Who cares what your drive letter is...
    Better safe than sorry.

    Quote Originally Posted by Awkwardsaw View Post
    maby explain more usefull functions and stuff?

    maby example .bat files
    Do you mean what other useful things 'at' can do? Or more uses for this particular 'at' command? Because AT can do basically what CronJobs do. Just schedules certain .exe/.bat/whatever program/script to run at a certain time.
    Last edited by chaoyd; 06-18-2010 at 08:55 AM.

  9. #9
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    I think he means you should make a tutorial about other command prompt functions.

  10. #10
    Join Date
    Dec 2007
    Posts
    2,766
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    TBH CMD is not useful in any way, just doing stuff without GUI basically to make newf*gs think they're prohackers.

  11. #11
    Join Date
    Mar 2010
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Dr D. Dervish View Post
    TBH CMD is not useful in any way, just doing stuff without GUI basically to make newf*gs think they're prohackers.
    Then you sir are just misinformed. Sure it's no terminal but it's incredibly helpful for doing many things quickly. (Though I'll take Terminal/Yakuake over it ANY day, hell I'd take Mac/OBSD's Terminal over windows anyday)
    Quote Originally Posted by Wizzup? View Post
    The rabit fanboys of Apple hardly ever have a real idea about what a computer can do, so you can completely disregard them.

  12. #12
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by Dr D. Dervish View Post
    TBH CMD is not useful in any way, just doing stuff without GUI basically to make newf*gs think they're prohackers.
    if you know what your doing its faster,
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  13. #13
    Join Date
    Jan 2010
    Location
    U.S.
    Posts
    72
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    CMD has the general functions of how DOS used to work--just slightly improved! Adding useful networking functions and or OS functions that cannot be easily accessed through the Windows GUI interface should be added to this guide.

    A prime example would be the command: ipconfig /all

    Adding multiple useful functions that people can use for multi-use purposes would make this guide useful. Other than that, I'm sorry but I see no use in this guide seeing anyone can open command prompt and type "help" for useful commands.

    Guiding users through commands that are not in command prompt's default help list can be helpful, especially users who are looking for specific commands. Though on the flip side you can just go on the Microsoft website and find all the commands yourself.

    Now if this guide was directed towards something specific for example: How to port forward/trigger your router with the assistance of CMD--that would be different seeing some users may need to port forward or port trigger a game console or just to open up some ports for various reasons.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •