0

I tried these 2 scripts to set up phoenix from Exploit-Education but faced the below errors could not find any other script online one was from https://blog.lamarranet.com/index.php/exploit-education-phoenix-setup/ and the other from https://johnnn.tech/q/problem-with-powershell-script-in-setup-exploit-education-phoenix/ both of the scripts give error.

I'm trying to set up Phoenix cow image on qemu and ssh into it via WSL Ubuntu on my host Windows 11 machine. Appreciate the help thanks!

PS C:\Program Files\qemu> \Program` Files\qemu\qemu-system-x86_64.exe `
>>     -kernel vmlinuz-4.9.0-8-amd64 `
>>     -initrd initrd.img-4.9.0-8-amd64 `
>>     -append "root=/dev/vda1" `
>>     -m 1024M `
>>     -netdev user,id=unet,hostfwd=tcp:127.0.0.1:2222-:22 `
>>     -device virtio-net,netdev=unet `
>>     -drive file=D:\QEMU\exploit-education-phoenix-amd64\exploit-education-phoenix-amd64.qcow2,if=virtio,format=qcow2,index=0
qemu: could not open kernel file 'vmlinuz-4.9.0-8-amd64': No such file or directory
PS C:\Program Files\qemu> $params = @{
>>     kernel = 'vmlinuz-4.9.0-8-amd64'
>>     initrd = 'initrd.img-4.9.0-8-amd64'
>>     append = "root=/dev/vda1"
>>     m      = '1024M'
>>     netdev = 'user','id=unet','hostfwd=tcp:127.0.0.1:2226-:22'
>>     device = 'virtio-net,netdev=unet'
>>     drive  = 'file=D:\QEMU\exploit-education-phoenix-amd64\exploit-education-phoenix-amd64.qcow2,if=virtio,format=qcow2,index=0'
>> }
>>
>> & '\Program Files\qemu\qemu-system-x86_64.exe' @params
\Program Files\qemu\qemu-system-x86_64.exe: -netdev:user: invalid option
1
  • 3
    I’m voting to close this question because the question isn't specific to reverse engineering--it is more likely an issue with the script or with missing files needed by the script. Feb 22 at 0:47

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.