Jump to content

Add file to Exisiting exe (SFX)


CodeTech

Recommended Posts

I'm trying to figure out how i can update an exiting file that is contained in a Self-extracting executable using php on a hosted webserver with Cent OS.

 

<?php
rar a -sfx7z.sfx test.exe helpdesk.txt;
echo "Success";
?>

 

This doesn't seem to work; it displays an error: Parse error: syntax error, unexpected T_STRING in /home/kompute6/public_html/vnc.php on line 2

 

I tried adding "" and '' and nothing seems to work. any ideas how i can do this? Maybe I'm going about this all wrong. I'm not really sure.

Link to comment
https://forums.phpfreaks.com/topic/232061-add-file-to-exisiting-exe-sfx/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.