vUSBf icon indicating copy to clipboard operation
vUSBf copied to clipboard

Testcase count stuck at 0

Open 0roman opened this issue 6 years ago • 1 comments

This issue is similar to the closed #5.

I have tried vUSBf with different operating systems, such as CirrOS. CirrOS is a minimal linux distribution.

  • Execution on external VM works with: python vusbf.py -eon 127.0.0.1 1235 panic_1.obj I can see kernel messages in the vm console.

  • Without external VM it does not work: python vusbf.py -eo payload/panic_1.obj -o new.config -v1 Issue: I can see usbredir packets, but Testcase count stuck at 0. pastebin link

In #5 there was a problem with the QEMU snapshot

how i built my vm

  1. I've downloaded the CirrOS. It already had qcow format. wget http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img
  2. I've created overlay and ram. qemu-img create -b cirros-0.4.0-x86_64-disk.img -f qcow2 overlay.qcow2 qemu-img create -f qcow2 ram.qcow2 1G
  3. I've logged in the vm and changed the verbosity of printk echo '7' > /proc/sys/kernel/printk
  4. I've pressed CTRL + A + C and then saved a qemu vm snapshot with savevm replay

My new.config file contains the following:

# QEMU BINARAY
qemu_bin:	/usr/local/bin/qemu-system-x86_64

# KVM SUPPORT
kvm:		no

# MEMORY SIZE (MB)
memory:		1024	

# RAM FILE
ram_file:	PATH_TO_WORKSPACE/ram.qcow2

# OVERLAY FILE
overlay_file:	PATH_TO_WORKSPACE/overlay.qcow2

# OVERLAY FOLDER
overlay_folder:	PATH_TO_WORKSPACE
	
# USB DEVICE TYPE
device_type:	nec-usb-xhci

# EXTRA QEMU PARAMETER
qemu_extra:	""

# SNAPSHOT
snapshot:	replay

0roman avatar Jan 07 '19 20:01 0roman

Did you manage to fix the problem? im trying to get vUSBf up and running but my testcase count is also stuck at 0

bemboes avatar Oct 08 '24 17:10 bemboes