BackgroundWhen dealing with some oversized files with the vim command, you sometimes encounter a deadlock and have to force the exit. However, when you use the VIM command again to access the file, a "e325:attention" prompt appears. If you do not handle it, it will appear every time.AnalysisAfter some verification, this hint is a protection mechanism (or lock mechanism) of the VIM program to the file. When we open a file with the vim command, a hidden
E325:attention
Found a swap file by the name "/ETC/.MY.CNF.SWP"Owned By:root Dated:mon May 6 10:31:34 2013File name:/etc/my.cnfModified:yesUser Name:root host Name:bogonProcess id:25017While opening file "/etc/my.cnf"Dated:tue May 7 10:35:49 2013Newer than swap file!
(1) Another program may editing the same file.If It is the case, be careful does not have twoDifferent instances of the same file when making changes.Quit, or continue with caution.
(2
Original: E325: ATTENTION vim ultra-complete and super-powerful problem and solution, e325vim
It's the time for my brother Kwai Fong to start classes. This is a common enterprise error.
I believe that people will be exposed to this error for a long time in programming.
Here we often use two options
(E) edit the original file on the dit any way and ignore the modification.
(R) ecover based on temporary files
Here we can press R or E to pres
During file Editing Using vim, remote login to the server fails due to network disconnection. After the network connection is restored, log on to the server again. VI opens the file and sends an alarm. The following message is displayed:
E325: AttentionFound a swap file by the name ". CPU. Sh. SWP"Owned by: Work dated: Fri Nov 23 11:17:23 2012File Name :~ Work/fanbo/Server/dialogue/CPU. ShModified: YesUser name: Work Host Name: db-testing-ps6056.db0
It's time for the old Sunflower brother to start the course. This is to provide you with a common error in businessI believe that everyone's life will also be programmed to use the long-term contact this errorHere are some of the two options we often use(E) dit any to edit the original file, ignoring the changes just made(R) Ecover according to temporary documentsHere we press R or E can also press ENTER regardless of keeping the file you just modifiedDelete the temporary file that we found. 1.s
-e325-
11ce-bfc1-08002be10318}001 "/f/v" networkaddress "/t reg_sz/d
"00E081031837"
Change to the code you want (no transcoding!)
The last is about enabling/disabling the writing of the NIC, using the DevCon of this tool disable (disabled) and enable (enabled) hardware device, right key My computer then is the properties-hardware-Device Manager-Network Configurator, and then to the modified network adapter right key properties-Details The Last dro
Virus fingerprint:
sha-160:da14ddb10d14c568b62176aab738b0c479a06863
Md5:c505733ffdda0394d404bd5bb652c1a6
ripemd-160:410ef9736ad4966094c096e57b477b7572b7ed9c
crc-32:ff6e4568
Virus size: 43,900 bytes
Connect network Download virus:
Enter Address: 61.152.255.252
Correspondence Address: Shanghai Telecom IDC
The following virus files are generated randomly on this computer:
Meex.com, Rmwaccq.exe, Wojhadp.exe, Nqgphqd.exe, Autorun.inf
Download run the following file:
1A11.exe, 2B12.exe, 3C13.e
Virus fingerprint:
SHA-160: DA14DDB10D14C568B62176AAB738B0C479A06863MD5: C505733FFDDA0394D404BD5BB652C1A6RIPEMD-160: 109ef9736ad4966094c096e57b477b7572b7ed9cCRC-32: FF6E4568
Virus size: 43,900 bytes
Connection Network download virus:
Input address: 61.152.20.252Address: Shanghai Telecom IDC
The following virus files are randomly generated on the local machine:
Meex.com%rmwaccq.exe%wojhadp.exe%nqgphqd.exe, autorun. inf
Download and run the following file:
1a11.exe00002b12.exe00003c13.exe00002b12
Gets the network card MAC address, physical address of the current active stateWMIC commands:win32_networkadapter and Win32_NetworkAdapterConfiguration. Where the cmd command line executes:1. Wmic Path win32_networkadapter get Guid,macaddress,netenabled,physicaladapter, IndexNote:GUID: Connection unique identifier;MACAddress: Network card address;Netenabled: Whether the adapter is enabled, True is enabled, false is disabled;Physicaladapter: Whether the adapter is a physical or logical adapter
disable it). It is necessary to note that this batch, is also born under the XP system, Win7 system, may need to be slightly modified. [need to use Devcon.exe]@ECHO OFFIPCONFIG |FIND"Media disconnected" >nul 2>nul Pager : ERROR1SETLOCALenabledelayedexpansion for/F "skip=3 Tokens=1 delims="%%i In (' Getmac ') Do(SETmacnum=%%iSETmacnum=! macnum:-=! ECHO.ECHOPlease enter a correct MAC address, example native MAC address is:! macnum! ECHO.ECHO(Hint: The MAC address is only made up of numbers and
NetworkThe code above is to use setupdigetclassdevs to enumerate the drive letter corresponding to the USB flash drive. In the code, the first way to determine whether the device is a USB flash drive is to useGuid_devinterface_volume call setupdigetclassdevs and thenSetupdienumdeviceinterfaces, setupdigetdeviceinterfacedetail ...... Finally, we need to upload the information in advance.Device ID comparison.
In fact, after testing, I found another simple method:
First, useSetupdigetclassdevs enum
))For % F in (autorun.inf,pfcexkt.exe,niu.exe) Do (For/d % d in (C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, s, T, U, V, W, X, Y, Z) do if exist % d: \ % F (Attrib-s-h-R % d: \ % FDel % d: \ % F/Q))Add the registry entry to security mode by RemReg Add "HKLM \ System \ controlset001 \ Control \ safeboot \ minimal \ {4d36e967-e325-11ce-bfc1-08002be10318}"/ve/d diskdrive/FReg Add "HKLM \ System \ controlset001 \ Control \ safeboot \ Network \ {4d36e9
upper case characters). You can use the tool virt-copy-in to copy files and folders into the virtual disk.
The Windows registry should combine the hardware ID ' s and drivers, but there is no VirtIO drivers installed in Windows by Default. So we need to does this by ourselves. You could inject the registry file with Virt-win-reg. If you choose-to-copy all VirtIO drivers to a other location than C:\Drivers, you must the "DevicePath" variable i n the last line (the most easy-to-change it in som
\microsoft\windows\currentversion\explorer\advanced\folder\hidden\nohidden/v text/t reg_sz/dThe beast has the slightest compassion, and I have no, so I am not an animal. /F
Break Safe Mode
Delete hklm\system\controlset001\control\safeboot\minimal\{4d36e967-e325-11ce-bfc1-08002be10318}/F
Delete hklm\system\controlset001\control\safeboot\network\{4d36e967-e325-11ce-bfc1-08002be10318}/F
Delete hklm\system\curr
-us/library/windows/hardware/ff553426%28v=vs.85%29.aspx
Classguid of several common devices:
CD-ROM drives (disc drive)
Class = CDROM
Classguid = {4d36e965-e325-11ce-bfc1-08002be10318}
This class has des CD-ROM drives, including SCSI CD-ROM drives. By default, the system's CD-ROM class installer also installa system-supplied CD audio driver and CD-ROM changer driver as Plug and Play filters.
Displa
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.