This article mainly introduces how to create a simple hacker in Python. you can learn Python threads, call cmd command lines, and open web pages. the code for using it is as follows:
Import webbrowser as webImport timeImport OS
Count = 0While count Count = count + 1# Blog you want to refreshWeb. open_new_tab ("Here is the blog address ")Time. sleep (1)Else:OS. system ('taskkill/F/IM 360se.exe ')
Thre
Testimonials in front: After a long time did not update the blog park, busy east busy West is not busy out what the reason. Looking back on the past few months, can only use "tired" two words to describe, time flies quickly, there are pain and joy, there are sour and sweet.Well, that's a sentimental thing to say. In my busy schedule, I still remember to take some time to be more bo.Class ExecCmd {public static void Main (String args[]) { Runtime run = runtime.getruntime (); Proc
----Registration Form
Winchat--------XP with LAN Chat
ProgMan--------Program Manager
WINMSD---------System Information
PERFMON.MSC----Computer Performance monitoring Program
Winver---------Check the Windows version
Sfc/scannow-----Scan Error and restore
winipcfg-------IP Configuration
Taskmgr-----Task Manager (2000/XP/2003)
Command--------cmd
Fsmgmt.msc Shared Folders
Netstat-an----View Ports
OSK on-Screen
Db2 cmd command operation 1. Open the command line window # db2cmd 2. Open Control Center www.2cto.com # db2cmd db2cc 3. Open the command editor db2cmd db2ce ==== operate database commands ==== = 4. Start the database instance # db2start 5. Stop the database instance # db2stop if you cannot stop the database due to the
Now the computer will be installed a lot of anti-virus software, to protect their own computers, in case some files on the computer malicious damage, which is a good thing for the system, can effectively protect our computer, but every time open an unknown file, will pop-up security Warning prompt window, In many cases, the file is not a threat to the computer, every time will be out of various prompts, so that users look very upset. So how do you keep the security Warning window from popping up
I was so dependent on findstr that when I explained find command, I had to honestly knock find in the cmd window. This command, and then hit the ENTER key heavily.
Find/? The implementation of the results quickly, a bit, help information out, and findstr command more than 10 switches, find only 5 switches, is dwarfed.
An error occurred when I tried to run window's cmd command through Processbuilder in Java:
public static void main(String [] args) throws IOException {
ProcessBuilder builder = new ProcessBuilder();
Process process = builder.command("dir d:\\").start();
InputStream inputStream = process.getInputStream();
BufferedReader br = new BufferedReader(new InputStreamReader(inputStream,"gb2312")
First: You need to determine the stored path of the compiled Python program (that is, in which disk, in which file)Second: Open the cmd command, enter the disk of the program, hit Enter, (for example, it is stored in the E-drive, enter "E:", hit the Enter key.) )Then: Enter the python.exe file path file name; (Example: Python.exe e:\ rain \py\1.1.py)Finally: Hit Enter.To open a Python file-type program meth
View your Internet IP address in cmd (command line) in the LAN
By clin003 at 200704122114 from: http://blog.csdn.net/clin003
The principle is as follows: When you browse http://members.3322.org/dyndns/getip, your public IP address will be returned.
In Linux
Using wget http://members.3322.org/dyndns/getip
Then Cat getip is used to view its own IP address (in win, type getip can be used)
---------------------
Run route and ipconfig.Copy code
Qprocess P (0 );P. Start ("Route ");P. waitforstarted ();P. waitforfinished ();Qdebug ()
Copy code
Qprocess P (0 );P. Start ("ipconfig ");P. waitforstarted ();P. waitforfinished ();Qdebug ()
DIR is a command provided by the command line, not a program!Copy code
Qprocess P (0 );P. Start ("cmd ");P. waitforstarted ();P. Wr
Place the mouse over the Panel and right-click it. The page is displayed as follows:
Select "properties" and click. The page is displayed as follows:
Click "quick edit mode" and click "OK". The settings are complete and the interface is displayed as follows:
On the Panel, select a Text Segment and right-click (note that it is not the left button) or press enter to copy the selected content to the clipboard. The interface is shown as follows:
Now we can paste the copied content to other p
To create a Nodejs project using the cmd command line1) under DOS CD go to the path where you want to create the project.2) mkdir sing (Create a Sing folder)3) CD Sing4) NPM init (initialization project)At this time need to fill out some project information, you can fill in according to the situation, of course, you can return.5) Install a third-party package (the module of the package will be called direct
Problem Description:The Nexus Install command is executed under console (CMD) when installing the Nexus Service error: Wrapper | OpenSCManager failed-access denied. (0x5)At the same time, tried the online said to the nexus-2.7.0-bundle\nexus-2.7.0-04\bin\jsw\windows-x86-64 directory to find the Start-nexus.bat script file, right-click----> Running as an administrator does not resolve.Problem Analysis and re
Under Windows cmd, you can execute PHP files by Php.exe, and then write the command to bat to execute it regularly, probably more reliably than the browser's timed refresh.
The path to the Php.exe and the path to the PHP file to execute (code below):
D:program Fileswampbinphpphp5.4.6php.exe D:program fileswampwwwphpinfo.php
Saved as a bat file, you can take advantage of the scheduled tasks of Windows to
Under Windows cmd, you can execute PHP files by Php.exe, and then write the command to bat to execute it regularly, probably more reliably than the browser's timed refresh.
The path to the Php.exe and the path to the PHP file to execute (code below):
D:\Program Files\wamp\bin\php\php5.4.6\php.exe D:\Program files\wamp\www\phpinfo.php
Saved as a bat file, you can take advantage of the scheduled tasks of W
Download VC6.0, install after download.1. Modify Environment variablesIn System Properties-advanced-environment variables-User variables:① edit path adds the paths to the CL compiler D:/program Files/microsoft Visual Studio 10.0/vc98/bin and MSPDB60.DLL paths D:/programFiles/microsoft Visual Studio 10.0/common/msdev98\bin, separated by semicolons.② new variable Include:d:/program files/microsoft Visual Studio 10.0/vc98/include③ new variable Lib:d:/program files/microsoft Visual Studio 10.0/vc98/
() {
Dircache[pathstr] = = 1;
Callback ();})} ();}})}
;
2. Later still consider through the cmd command "xcopy" to achieve, but tried a good 9, direct implementation, but has not been, there are solutions, welcome to correct
var exec = require (' child_process '). exec;
EXEC (' xcopy d:\\work_new\\odinquest d:\\work_new\\newgame/s/e/q/y/i ',
function (Error, stdo
This article describes, in the PHP code to execute the CMD command method, introduced in the php.ini file to configure Safe_mode parameters to support the implementation of the command method, the need for a friend reference.
DescriptionThe contents of this section are implemented in the context of the WAMP package installation.
First, turn on the php.ini, turn
commandString er = Serr.readtoend ();//Read error message after executing DOS commandif (myprocess.hasexited = = False){Myprocess.kill ();MessageBox.Show (ER);}Else{MessageBox.Show (s);}Sin.close ();Sout.close ();Serr.close ();Myprocess.close ();}Part of the code explains:To run multiple batch commands in C #, we can use the following format to add multiple commands. Sin.write (DOS command code System.Environment.NewLine); Where the DOS
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.