The Notepad.
MSPaint Drawing
IISReset Restarting IIS
Appwiz.cpl Control Panel
Inetmgr IIS Manager
EVENTVWR Event Viewer
MSTSC Remote Desktop
Net START service Name
net start Mssql$instancename (for example: MSSQLSERVER) Start the database service
net stop Mssql$instancename Stop database service
SSMS Open Management Studio
Tasklist Show List of processes
Kill the process taskkill/f/t/im
Windows-Program Ape should memorize the
I found that even if xp_mongoshell is unavailable, it is still possible to run CMD on the server and get the echo result. here we need to use several other system stored procedures on the SQL SERVER: sp_OACreate, sp_OAGetProperty and sp_OAMethod. The premise is that Wscript. shell and Scripting. FileSystemObject on the server are available.Sp_OACreateIn Microsoft®SQL Server™Create an OLE object instance on the instance.SyntaxSp_OACreate progid, | clsi
Syskey Setting the system startup passwordNslookup lntf43Hide your computer on a network neighborNET config Server/hidden:yesNET config Server/hidden:no is the openFor a network card with an assigned IP address of 10.0.0.99, to display its ARP cache table, you can type:ARP-A-N 10.0.0.99To add a static ARP cache entry that resolves IP address 10.0.0.80 to Physical address 00-aa-00-4f-2a-9c, you can type:Arp-s 10.0.0.80 00-aa-00-4f-2a-9cDir column File nameCLS Clear ScreenCD changes the current di
Common CMD commands for O M
@ Echo offset PortNum = 3306for/f "tokens = 15" % a in ('ipconfig ^ | findstr/I/c: "IP Address "') do (set IP = % a) for/f "tokens = 5" % a in ('netstat-ano ^ | findstr "% IP %: % PortNum % "') do (set PID = % a) echo Port Number % PortNum % the corresponding PID is: % PID % pause
1. Find the process with a known port number
You can also use the following batch processi
Create a VPN under CMD
1. PrerequisitesIn the service, the windows Firewall is stopped (or you can configure the router Protocol and port 1723)
The Remote Registry Service must be enabled.
Server service must be enabled
The router routing service must be enabled.
It is convenient to use win2000 of two or more NICs for vpn. After the nat protocol is added, the client can use a remote network to connect to the internet. This allows some clients to spee
the two machines are in the same LAN. Usage: tracert IP.
V. net
This command is the most important one in network commands. You must thoroughly understand the usage of each of its sub-commands, because it is too powerful, this is the best intrusion tool that Microsoft provides for us. First, let's take a look at all the sub-commands it has, and type net /? Press
any intermediate transfer. It indicates that the two machines are in the same LAN. Usage: tracert IP.
V. net
This command is the most important one in network commands. You must thoroughly understand the usage of each of its sub-commands, because it is too powerful, this is the best intrusion tool that Microsoft provides for us. First, let's take a look at all the sub-
Perhaps the most interesting thing is to use the extended stored procedure xp_mongoshell to run the console commands of the operating system. This method is also very simple. You only need to use the following SQL statement:
Exec master. DBO. xp_mongoshell 'dir C :/'
However, more and more database administrators are aware of the potential danger of this extended stored procedure. They may delete or rename the Dynamic Linked Library xplog70.dll file o
")NET start|findstr/i/C: "Oracleoradb10g_home1isql*plus" >nulset k=1| | Set k=0If%k%==0 (net start "Oracleoradb10g_home1isql*plus")NET start|findstr/i/C: "Oracleoradb10g_home1tnslistener" >nulset k=1| | Set k=0If%k%==0 (net start "Oracleoradb10g_home1tnslistener")NET start|findstr/i/C: "ORACLESERVICEORCL" >nulset k=1| | Set k=0If%k%==0 (net start "ORACLESERVICEORCL")Echo.echo Oracle Service has been successfully opened ...Echo.PauseExit: CMD2Echo.Echo Close the Oracle service ...NET start|findst
An article in my blog introduces the basic principles and methods of SQL injection. Perhaps the most interesting thing is to use the extended stored procedure xp_mongoshell to run the console commands of the operating system. This method is also very simple. You only need to use the following SQL statement:
Exec master. DBO. xp_mongoshell 'dir C :/'
However, more and more database administrators are aware of the potential danger of this extended stor
Summary of several network CMD commands most commonly used by Windows http://www.cnblogs.com/sbaicl/archive/2013/03/05/2944001.htmlFirst, PingThe main test is the correctness of the TCP/IP protocol configuration and current network status.The basic usage format for the ping command is: ping IP address/hostname/domain name [-T] [-a] [-N Count] [-l size]- T: Ping the IP address/hostname/domain name continuous
Original article title: C # program a CMD command window executes multiple DOS commands
Original article Address: http://www.cnblogs.com/visibleisfalse/p/3578886.html
The following code has a modified, marked red code, which indicates that after executing a DOS command, wait for execution to complete. Public voidDodos (stringCOMD1,stringCOMD2,stringcomd3) {Process P=NewProcess ();//Create a Process
the program, we need the full name when we run the class file, the command is modified to: Java Com.hafiz.zhang.ZiWe will find the following errorThis is because we do not have a subfolder Com/hafiz/zhang and the Zi.class file does not exist under the subfolder, so the main class cannot be found.The solution: Use javac-d. *.java ("-D." Represents the Create package path in the current directory) command to compile, so the Javac command automatically helps us create the folder specified by the p
command delimiter ' '
Multiple commands. And, for compatibility reasons,/x is the same as/e:on,/y and
/e:off is the same, and/R is the same as/C. Ignore any other command options.
If you specify/C or/K, the rest of the command line after the command option is processed as a command line, in which case the following logical processing quotation mark character (") is used:
1. If all of the following conditions are true, the quote character on the co
documentAnswerYou can use the jar CF Test.jar Test command to complete the compression. The compressed package contains a test folder and a Meta-inf folder with a MANIFEST.MF file.Interview Example 12: How to execute the main () method.Which command in the Java SDK is used to execute the main () method of test?(a) Java test.(b) Javac test.(c) Java Test.java.(d) Java Test.class.(e) Java Test.main.Test Center: Examine how familiar the job seeker is with the Java command.Occurrence frequency: ★Ana
processOpen Task Manager, view, select columns, and then check the PID option, go back to Task Manager to view the corresponding PID, and then end the processOf course, the above method is sometimes bad, that is, the task manager in the process of more time, and then to find the corresponding process is very troublesome, so there is a way to kill the process ofMethod Two: Kill the process with a command1> first find the process name corresponding to the process numberTASKLIST|FINDSTR Process Nu
CMD Common commands:winver---------Check the Windows versionWmimgmt.msc----open Windows Management architectureWupdmgr--------Windows UpdateWmimgmt.msc----open Windows Management architectureWupdmgr--------Windows Updatewscript--------Windows Script Host SettingsWrite----------WordPad winmsd-----System InformationWiaacmgr-------Scanner and Camera WizardWinchat--------XP comes with LAN chatMem.exe--------Show Memory usageMsconfig.exe---System Configura
compmgmt.msc Computer Managementdevmgmt.msc Device Managerdiskmgmt.msc Disk Management toolsdfrg.msc Disk DefragmentationEventvwr.msc Event ViewerFsmgmt.msc shared folder Managementgpedit.msc User, Group Policy Management toollusrmgr.msc Local user, group managementperfmon.msc Computer Performance Monitorrsop.msc Management Policy Viewsecpol.msc Local Security settingsservices.msc Service Managementwinver Checking the Windows versionDxDiag checking DirectX informationMsconfig.exe System Configur
I. Relationship between the return value of OS. System (CMD) in Python and the return value of Linux commands (For details, refer to the additional content in this article)
Everyone is used to using the OS. systemv () function to execute Linux commands. the return value of this function is in decimal number (corresponding to a 16-bit binary number ). The Conversi
WHOAMI//view Current user nameipconfig//view native IP information, add/all parameterNetstat-ano//View Port Clear conditionDIR \ c//view directoryType c:\Users\admin\Desktop\1.txt//view make location file content, usually text fileecho string >2.txt//write text to file. Special words such as Copy 1.txt 3.php//Copy filesRename D:\2.txt mspaint.bat//rename a file under a pathTasklist//View all process-occupied portsTaskkill/im image name. exe/f//Forces the end of the specified process, such as Tas
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.