Recently, I was given an easy at first glance task.
It is given: JAR-application without sources, which crashes when launched with an error due to the fact that the author abandoned the project.
Task: Replace one file "on the fly", which requests software from the network, and thus revive it.
Solution: We take Fiddler, Charles and feed it with the missing file from my site, while she addresses to: avtorpage.com/dl/update.lst , and the file is mypage.com/dl/update.lst from mypage.com/dl/update.lst , but the whole problem in that it communicates through the Socket http connection, because of this, the above two tools do not see it.
Question: What to do? Decompiling is not an option, covered with Zelda and do not want to violate the rights of the developer.
avtorpage.comaddress ofavtorpage.comwith the addressmypage.com. In the fileC:\Windows\System32\drivers\etc\hostsmake an entry1.2.3.4 avtorpage.comwhere instead of1.2.3.4write themypage.comaddress ofmypage.com. In this case, all traffic foravtorpage.comwill go tomypage.com. If required, the servermypage.commust be configured to accept the foreign domain name in queries as a native one. - Sergeynetsh. This may even be the only way, if it turns out that this program does not use dns, and in it a certain un-shnik is sewn up. - Sergey