zhaodice / qemu-anti-detection

A patch to hide qemu itself, bypass mhyprot,EAC,nProtect / VMProtect,VProtect, Themida, Enigma Protector,Safegine Shielden
717 stars 109 forks source link

Whats a problem? #52

Open codsmobiles opened 6 months ago

codsmobiles commented 6 months ago

Trying for patch `cod@cod-virtual-machine:~/qemu$ git apply /home/cod/Desktop/AND/qemu-7.0.0.patch

error: patch failed: block/vhdx.c:2005 error: block/vhdx.c: patch does not apply error: patch failed: block/vvfat.c:1174 error: block/vvfat.c: patch does not apply error: patch failed: chardev/msmouse.c:150 error: chardev/msmouse.c: patch does not apply error: patch failed: chardev/wctablet.c:179 error: chardev/wctablet.c: patch does not apply error: patch failed: contrib/vhost-user-gpu/vhost-user-gpu.c:1190 error: contrib/vhost-user-gpu/vhost-user-gpu.c: patch does not apply error: patch failed: hw/acpi/aml-build.c:1724 error: hw/acpi/aml-build.c: patch does not apply error: patch failed: hw/arm/nseries.c:847 error: hw/arm/nseries.c: patch does not apply error: patch failed: hw/arm/sbsa-ref.c:835 error: hw/arm/sbsa-ref.c: patch does not apply error: patch failed: hw/arm/virt-acpi-build.c:95 error: hw/arm/virt-acpi-build.c: patch does not apply error: patch failed: hw/arm/virt.c:1588 error: hw/arm/virt.c: patch does not apply error: patch failed: hw/audio/hda-codec.c:117 error: hw/audio/hda-codec.c: patch does not apply error: patch failed: hw/char/escc.c:959 error: hw/char/escc.c: patch does not apply error: patch failed: hw/display/edid-generate.c:394 error: hw/display/edid-generate.c: patch does not apply error: patch failed: hw/i386/acpi-build.c:2674 error: hw/i386/acpi-build.c: patch does not apply error: patch failed: hw/i386/fw_cfg.c:208 error: hw/i386/fw_cfg.c: patch does not apply error: patch failed: hw/i386/pc_piix.c:174 error: hw/i386/pc_piix.c: patch does not apply error: patch failed: hw/i386/pc_q35.c:197 error: hw/i386/pc_q35.c: patch does not apply error: patch failed: hw/ide/atapi.c:796 error: hw/ide/atapi.c: patch does not apply error: patch failed: hw/ide/core.c:2560 error: hw/ide/core.c: patch does not apply error: patch failed: hw/input/adb-kbd.c:356 error: hw/input/adb-kbd.c: patch does not apply error: patch failed: hw/input/adb-mouse.c:236 error: hw/input/adb-mouse.c: patch does not apply error: patch failed: hw/input/ads7846.c:154 error: hw/input/ads7846.c: patch does not apply error: patch failed: hw/input/hid.c:511 error: hw/input/hid.c: patch does not apply error: patch failed: hw/input/ps2.c:1219 error: hw/input/ps2.c: patch does not apply error: patch failed: hw/input/tsc2005.c:510 error: hw/input/tsc2005.c: patch does not apply error: patch failed: hw/input/tsc210x.c:1106 error: hw/input/tsc210x.c: patch does not apply error: patch failed: hw/input/virtio-input-hid.c:16 error: hw/input/virtio-input-hid.c: patch does not apply error: patch failed: hw/m68k/virt.c:271 error: hw/m68k/virt.c: patch does not apply error: patch failed: hw/nvme/ctrl.c:6710 error: hw/nvme/ctrl.c: patch does not apply error: patch failed: hw/nvram/fw_cfg.c:56 error: hw/nvram/fw_cfg.c: patch does not apply error: patch failed: hw/pci-host/gpex.c:207 error: hw/pci-host/gpex.c: patch does not apply error: patch failed: hw/ppc/e500plat.c:22 error: hw/ppc/e500plat.c: patch does not apply error: patch failed: hw/scsi/mptconfig.c:189 error: hw/scsi/mptconfig.c: patch does not apply error: patch failed: hw/scsi/scsi-bus.c:555 error: hw/scsi/scsi-bus.c: patch does not apply error: patch failed: hw/scsi/scsi-disk.c:2395 error: hw/scsi/scsi-disk.c: patch does not apply error: patch failed: hw/scsi/spapr_vscsi.c:713 error: hw/scsi/spapr_vscsi.c: patch does not apply error: patch failed: hw/usb/dev-audio.c:73 error: hw/usb/dev-audio.c: patch does not apply error: patch failed: hw/usb/dev-hid.c:63 error: hw/usb/dev-hid.c: patch does not apply error: patch failed: hw/usb/dev-hub.c:104 error: hw/usb/dev-hub.c: patch does not apply error: patch failed: hw/usb/dev-mtp.c:248 error: hw/usb/dev-mtp.c: patch does not apply error: patch failed: hw/usb/dev-network.c:97 error: hw/usb/dev-network.c: patch does not apply error: patch failed: hw/usb/dev-serial.c:119 error: hw/usb/dev-serial.c: patch does not apply error: patch failed: hw/usb/dev-smartcard-reader.c:80 error: hw/usb/dev-smartcard-reader.c: patch does not apply error: patch failed: hw/usb/dev-storage.c:47 error: hw/usb/dev-storage.c: patch does not apply error: patch failed: hw/usb/dev-uas.c:171 error: hw/usb/dev-uas.c: patch does not apply error: patch failed: hw/usb/dev-wacom.c:64 error: hw/usb/dev-wacom.c: patch does not apply error: patch failed: hw/usb/u2f-emulated.c:386 error: hw/usb/u2f-emulated.c: patch does not apply error: patch failed: hw/usb/u2f-passthru.c:531 error: hw/usb/u2f-passthru.c: patch does not apply error: patch failed: hw/usb/u2f.c:46 error: hw/usb/u2f.c: patch does not apply error: patch failed: include/hw/acpi/aml-build.h:4 error: include/hw/acpi/aml-build.h: patch does not apply error: patch failed: include/hw/i386/pc.h:290 error: include/hw/i386/pc.h: patch does not apply error: patch failed: include/hw/pci/pci.h:71 error: include/hw/pci/pci.h: patch does not apply error: patch failed: include/standard-headers/linux/qemu_fw_cfg.h:4 error: include/standard-headers/linux/qemu_fw_cfg.h: patch does not apply error: patch failed: migration/migration.c:1190 error: migration/migration.c: patch does not apply error: patch failed: migration/rdma.c:248 error: migration/rdma.c: patch does not apply error: patch failed: pc-bios/optionrom/optionrom.h:43 error: pc-bios/optionrom/optionrom.h: patch does not apply error: patch failed: pc-bios/s390-ccw/virtio-scsi.h:25 error: pc-bios/s390-ccw/virtio-scsi.h: patch does not apply error: patch failed: target/i386/kvm/kvm.c:1694 error: target/i386/kvm/kvm.c: patch does not apply error: patch failed: target/s390x/tcg/misc_helper.c:322 error: target/s390x/tcg/misc_helper.c: patch does not apply error: patch failed: ui/spice-core.c:807 error: ui/spice-core.c: patch does not apply cod@cod-virtual-machine:~/qemu$ `

codsmobiles commented 6 months ago

Trying this command

sudo apt-get update sudo apt-get update && sudo apt-get install -y binutils-mingw-w64 binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 build-essential clang g++-mingw-w64 g++-mingw-w64-i686 g++-mingw-w64-x86-64 gcc-mingw-w64 gcc-mingw-w64-i686 gcc-mingw-w64-x86-64 git git-email gnutls-bin libaio-dev libbluetooth-dev libbrlapi-dev libbz2-dev libcacard-dev libcap-dev libcap-ng-dev libcurl4-gnutls-dev libibverbs-dev libiscsi-dev libfdt-dev libglib2.0-dev libgtk-3-dev libjpeg8-dev liblzo2-dev libncurses5-dev libncursesw5-dev libnfs-dev libnuma-dev libpam0g-dev libpixman-1-dev librbd-dev librdmacm-dev libsasl2-dev libsdl1.2-dev libsdl2-dev libsdl2-image-dev libseccomp-dev libsnappy-dev libssh2-1-dev libusb-1.0-0-dev libusb-dev libvde-dev libvdeplug-dev libvirglrenderer-dev libvte-2.91-dev libxen-dev libxml2-dev libz-mingw-w64-dev libzstd-dev ninja-build valgrind win-iconv-mingw-w64-dev xfslibs-dev zlib1g-dev libspice-protocol-dev libspice-server-dev libusbredirparser-dev libusbredirparser1

git clone https://gitlab.com/qemu-project/qemu/ -b v7.0.0 --depth 1 --recursive cd qemu git apply qemu7.0.0.patch cd ..

i cant fix

codsmobiles commented 6 months ago

Some error

cod@cod-virtual-machine:~/qemu$ patch -p1 < ~/qemu-8.2.0.patch patching file block/vhdx.c Reversed (or previously applied) patch detected! Assume -R? [n]

codsmobiles commented 6 months ago

Some error

image

codsmobiles commented 6 months ago

Anyone can help me? I don't know what to do I'm just trying

zhaodice commented 6 months ago

you can only patch one times.

codsmobiles commented 6 months ago

Did I patch successfully? And will it be applied when I create a new virtual machine with virtual machine manager?

zhaodice commented 6 months ago

Did I patch successfully? And will it be applied when I create a new virtual machine with virtual machine manager?

I think you patched sources but no complied, please check source file : block/vhdx.c whether contain the string "ASUS", if exists, you have patched the sources.

you should complie and get the deb, then install.