Jump to content

run .exe or .jar file with php


karencho

Recommended Posts

Hello i want to know if possible with php to run remotely exe file or jar file ...for example victim is hosting windows 7 ,he or she clicks on link and its executing exe (jar) file  in victims system(exe file hosted not in victims system).... that is possible?

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

This would require the web-server to be running on the victims computes.
PHP-code is only executed on the server which is running the http-server.

If i open my browser, point it to a website with some php-code which uses the exec() function, that exec() function would not be run on my computers, but on the server.
So for instance, if the php-code contains malware, it would then infect the server.

At best you could get the php script to offer the client a .exe-file, but the same can be accomplished with normal html.

I hope this answers your question.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...