phra / PEzor

Open-Source Shellcode & PE Packer
https://iwantmore.pizza/posts/PEzor.html
GNU General Public License v3.0
1.81k stars 320 forks source link

Absolute paths are not supported #5

Closed white-coffee closed 3 years ago

white-coffee commented 4 years ago

0x0 : maybe we shoud not use %CURRENT_DIR in line 279 of PEzor.sh Because these are two absolute paths, at least on my machine %CURRENT_DIR => /root/Downloads/PEzor ${BLOB%%.exe} => /root/Downloads/out/Mimikatz.packed.exe so , i guess u must be know whate happened next

0x1: How about supporting the applications generated by MSF? When I use MSF to generate the application, it tells me that it lacks relocation information

Thank you for reading, this is all

phra commented 4 years ago

For 0. feel free to send a PR (i haven't had any problems with it)

For 1. simply generate the shellcode instead of executable. (PEzor supports raw shellcode as well)

white-coffee commented 4 years ago

Okay, then I don’t know what happened to mine a This is an error aa

phra commented 4 years ago

i think the problem is the absolute path, try with a relative one.