Basic windows command lines for ethical hacking.

To open command line. Go to start menu and type "cmd" without quotations. And it will start command prompt.

To go to C:\> drive type cd\

To create a directory type mkdir directory_name.
C:\>mkdir Isuru
To insert some text into notepad.
C:\>echo Leann will come again. > leann.txt
To list tasks.
C:\>tasklist
To find specific task.
C:\>tasklist | findstr firefox
To kill a task.
C:\>taskkill /PID 6880 /F
6880 is the process id. And /F will kill the task forcefully. To write all tasks into a file.
C:\>tasklist > qwe.txt
To change color of command prompt.
C:\>color a
To view all the files in your drive in tree view.
C:\>tree
To view ip information.
C:\>ipconfig
To ping any web address.
C:\>ping www.google.com
To trace route.
C:\>tracert 209.85.175.103
Netstat This is to display the TCP/IP network protocol statistics and information.
C:\>netstat
To list the users.
C:\>net user
To delete the user.
C:\>net user sam/DELETE

Comments

  1. Good post, great for us. Let me go back the following once again & once again...: )

    Malware Removing
    Ethical Hacking

    ReplyDelete

Post a Comment

Popular posts from this blog

Fatal: LoadModule: error loading module 'mod_sql_mysql.c'

Regular Expression Route Constraints And Route Names in Laravel 5.4