You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\Administrator\Desktop>pe2shc.exe sasa.exe
Using: Loader v2
Reading module from: sasa.exe
[ERROR] The PE must have relocations!
[ERROR] Not supported input file!
The text was updated successfully, but these errors were encountered:
Hi @sleahootqsqnl !
As the message says, your PE file has no relocations - so in other words it is not a good material for shellcodification.
If a PE has no relocations table, it can be loaded only at a fixed address, and you won't be able to inject it freely at any arbitrary address. Such attempt will cause a crash. Relocation table cannot be added post-compilation - so if it is not there, it can't be helped. That's why such files are not supported.
Try with some other executable, which do have relocations.
C:\Users\Administrator\Desktop>pe2shc.exe sasa.exe
Using: Loader v2
Reading module from: sasa.exe
[ERROR] The PE must have relocations!
[ERROR] Not supported input file!
The text was updated successfully, but these errors were encountered: