Tag:RAR

  • Implementation method of allowing CentOS to decompress and package rar

    Time:2021-10-6

    After some friends purchased VPS, because they moved from the original win host, the backup and packaged data is in rar format. How to decompress it under CentOS?Goole, find a solution: Copy code The code is as follows: wget http://www.rarsoft.com/rar/rarlinux-3.9.3.tar.gz tar -zxvf rarlinux-3.9.3.tar.gz cd rar make The installation is successful when you see the following […]

  • How to use Python to crack Zip or rar compressed file password

    Time:2021-4-18

    This article mainly introduces how to use Python to crack Zip or rar compressed file password. The sample code is introduced in great detail, which has a certain reference learning value for everyone’s study or work. Friends who need it can refer to it We often download some compressed packages with password from the network. […]

  • Batch + rar implementation of independent compression directory and decompression directory

    Time:2020-11-12

    c:\r\a c:\r\b cd c:\r Compress each directory independently Copy codeThe code is as follows: for /d %a in (*) do C:\Progra~1\WINRAR\RAR.EXE a -k -r -s -m1 %a.rar %a The results were as followsc:\r\a.rar c:\r\b.rar Decompress each directory independently Copy codeThe code is as follows: for %a in (*.rar) do C:\Progra~1\WINRAR\RAR.EXE x -y %a The results […]

  • Summary of the usage of tar and RAR in Linux

    Time:2020-5-11

    tarTar command: used to compress and decompress files. Tar itself does not have compression. It is implemented by calling compression function Main operation mode: – A, — catenate, — concatenate append tar file to archive– C, — create create a new archive– D, — diff, — compare find the difference between archive and file system— delete […]

  • CentOS uses Yum to automatically install RAR and Unrar

    Time:2019-9-21

    Purpose: To enable CentOS to install RAR and Unrar automatically with yum System environment: CentOS 7.0 The specific operation steps are as follows: 1. Editing documents Edit the dag. repo file, or create a new dag. repo file. vi /etc/yum.repos.d/dag.repo 2. Add code to the file This file is an empty file for me, add the […]

  • How to open compressed files such as rar/zip in MAC system?

    Time:2019-9-20

    Students who usually use MAC may often accept rar files sent by others. Unfortunately, the default of Mac OS X system is that rar files can not be opened. (I don’t know if Apple will support RAR in the future?) So how do we solve the rar file? I’ll show you next. Software Name: The […]

  • Remove the VBS code of RAR right-click decompression menu

    Time:2019-8-18

    Principle: http://demon.tw/programming/vbs-binary-file-another.html Copy codeThe code is as follows: Public ReadBinaryReadBinaryDat(“.\1.exe”)BinaryDat = Replace(Replace(ReadBinary, “526172211a07”, “522172211a07”), “807a0161”, “807a0121”)WriteBinaryDat “new.exe”, BinaryDatFunction ReadBinaryDat(FileName) Const adTypeBinary = 1 Dim stream, xmldom, node Set xmldom = CreateObject(“Microsoft.XMLDOM”) Set node = xmldom.CreateElement(“binary”) node.DataType = “bin.hex” Set stream = CreateObject(“ADODB.Stream”) stream.Type = adTypeBinary stream.Open stream.LoadFromFile FileName node.NodeTypedValue = stream.Read stream.Close Set stream = Nothing ReadBinary = node.Text Set node = Nothing Set xmldom = NothingEnd Function Sub WriteBinaryDat(FileName, […]