GithubHelp home page GithubHelp logo

Comments (5)

Octoberfest7 avatar Octoberfest7 commented on June 25, 2024

After further research this appears to be a very strange mingw-w64 issue. I copied the source code into VS2019 and it compiled and functioned fine as x86. I would love to know what would cause such a strange issue

from delete-self-poc.

LloydLabs avatar LloydLabs commented on June 25, 2024

After further research this appears to be a very strange mingw-w64 issue. I copied the source code into VS2019 and it compiled and functioned fine as x86. I would love to know what would cause such a strange issue

That is extremely weird @Octoberfest7, do you have the binaries you could send to me? I'll take a look side by side.

from delete-self-poc.

Octoberfest7 avatar Octoberfest7 commented on June 25, 2024

How would you prefer I get them to you? Alternatively I can just provide the mingw command and version I used, as the baseline code in the repo will reproduce this issue.

from delete-self-poc.

Octoberfest7 avatar Octoberfest7 commented on June 25, 2024

See this repo: https://github.com/Octoberfest7/Delete-self-files

I have uploaded the compiled x86 exe's from both MingW and VS2019, as well as provided details on each in the README. Additionally I linked a StackOverflow post I made on the issue so you can read what others have said. One particularly helpful individual even provided code to address the memory issues that the other open issue speaks of.

Let me know if you need more/what you find out.

from delete-self-poc.

Octoberfest7 avatar Octoberfest7 commented on June 25, 2024

Issue resolved. With x86 programs there needs to be a manifest file present when calling certain API's involved in UAC virtualization. Mingw does not create or include this manifest file, you must create it and include it manually. See this stack overflow post: https://stackoverflow.com/questions/71834608/mingw-produces-x86-program-which-only-successfully-runs-as-administrator-x64-an/71838906?noredirect=1#comment126965290_71838906

from delete-self-poc.

Related Issues (3)

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.