Comments (5)
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.
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.
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.
Just a guess. Do your hosting provides direct URL to binary?
from pe-union.
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)
- Crypt HOT 6
- crash with files larger than 15MB HOT 1
- Great Tool and Suggestions for 4.0 HOT 4
- Fully detectable HOT 2
- Detected by Windows Defender HOT 7
- video hướng dẫn HOT 1
- RunPE,Invoke error HOT 9
- support for x64 native stub HOT 4
- modifying stub HOT 5
- Modify Stub / Private fud HOT 7
- New to C# HOT 7
- Question abt editing stub HOT 2
- .Net Stub with an Invoke action HOT 1
- use a .Net Stub with an Invoke action HOT 5
- command line support HOT 2
- Marshal.GetDelegateForFunctionPointer HOT 2
- Doesn't Work HOT 7
- Not fully undetectable HOT 11
- Issues compiling. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pe-union.