Answer the question
In order to leave comments, you need to log in
How to modify HTTP traffic on the fly?
Good day, colleagues. Recently, I was given a seemingly easy task. Given: JAR-application without source codes, which crashes on startup with an error due to the fact that the author abandoned the project. Task: Change one file "on the fly" that the software requests from the network, and thus revive it. Solution: We take Fiddler,Charles and feed her with the missing file from my site, while she goes to the address: avtorpage.com/dl/update.lst and the file is given from the address: mypage.com/dl/update.lst but the whole problem is the fact that she communicates through a Socket http connection, because of this, the two above-mentioned tools do not see her. Question: What to do? (Decompile is not an option, covered by Zelda and do not want to violate the rights of the developer).
Answer the question
In order to leave comments, you need to log in
Write your own crutch or unpack the JAR and see how the request goes through and with what parameters.
> but the whole problem is that she communicates via Socket http connection, because of this, the two above-mentioned tools do not see her
WTF?
Actually, these are HTTP sniffers
. And any HTTP requests are also TCP packets, i.e. match your expression "Socket http connection".
All they need to see.
But, perhaps, requests go without a proxy (and not through the system one), and therefore bypass Fiddler. You need to try tools like Proxifier, or else how to force a proxy for java ... You
can also try Wireshark, but I'm not sure until I tried it for such cases.
> the author abandoned the project
> I don't want to violate the rights of the
facepalm developer
> covered by Zelda
Huh what is this. Obfuscator? Or did you misspell and really wanted to write another consonant word, well, this subject also often covers everything?
In general, for Java, there are far from one decompiler and disassembler ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question