Giter Site home page Giter Site logo

Comments (5)

bytecode77 avatar bytecode77 commented on June 2, 2024

Am I guessing correctly that you are using the native stub, not the .NET stub?

What's the exact size in bytes of your file? I'll test it to see where the issue is.

from pe-union.

mantoayo avatar mantoayo commented on June 2, 2024

I was try all options, native stub, net32 and net64, each result the same, downloaded file was 9.77 kb everytime but original file more than 2.1mb, second binded file executed correctly but is not downloaded.

from pe-union.

bytecode77 avatar bytecode77 commented on June 2, 2024

Even with the .NET stub you get the same corrupted file? That's strange.... The native stub has a custom download implementation written in asm, but the .NET stub has just this:

using (WebClient webClient = new WebClient())
{
	return webClient.DownloadData(__url);
}

I'm just wondering how this could fail... Do you have a link to a file that I can use for testing? So far, I could not reproduce this in any of my testing. If not, I can understand that you don't want to share the URL...

One more thought: Does your file contain parts of the expected file, or does it maybe just contain HTML with an error page returned from the server?

from pe-union.

Pernat1y avatar Pernat1y commented on June 2, 2024

Just a guess. Do your hosting provides direct URL to binary?

from pe-union.

bytecode77 avatar bytecode77 commented on June 2, 2024

I will close the issue, since OP didn't respond for over two weeks. Also, the very same corrupted file of 9.77 KB got downloaded by both stubs. One of which is written in C# and the other in FASM. It's pretty unlikely that the exact same bug happens with both stubs.

My bet is that something's off with the server where the file is downloaded.

@mantoayo You have to do some analysis, too. I can't see what the content of that 9.77 KB file is. That's why I asked whether it contains HTML output of the server instead of the file itself.

Anyway, I suppose OP has figured out what the problem is. Please feel free to re-open and include more detail, if it still persists.

from pe-union.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.