Giter Club home page Giter Club logo

Comments (6)

roboman2444 avatar roboman2444 commented on July 25, 2024

It looks like these were part of a big change 7 months ago ( 311e093 ) and would explain my (perceived) change in hcxdumptool attack performance around that time. If it was sending "garbage" ( just data/pointers in the GOT? ) instead of actual packet data, that would probably massively impact things.

from hcxdumptool.

ZerBea avatar ZerBea commented on July 25, 2024

You're right. Thanks.
I'll fix that.

from hcxdumptool.

ZerBea avatar ZerBea commented on July 25, 2024

Ugly (nasty) copy and paste error.
Should be fixed, now:
ac555d3

from hcxdumptool.

roboman2444 avatar roboman2444 commented on July 25, 2024

I ended up doing some tests to see which was the right one... & or not. Both seem to have the same behavior and output (strace to verify). I ended up comparing the output bytecode... and the compiler appears to be smart and results in the same exact code for both situations(&wltxbuffer and wltxbuffer). I would not have expected that.

Anyway, the same issue also appears on some of the memcpys before the writes. For example in send_80211_authenticationresponse (

memcpy(&wltxbuffer[RTHTX_SIZE + MAC_SIZE_NORM], authenticationresponsedata, AUTHENTICATIONRESPONSE_SIZE);
) there isn't an &, but in send_80211_associationresponse (
memcpy(&wltxbuffer[ii], &associationresponsedata, ASSOCIATIONRESPONSEDATA_SIZE);
) there is.

from hcxdumptool.

ZerBea avatar ZerBea commented on July 25, 2024

Looks like gcc is a way too smart.
But anyway. that need a fix. I'll check that.

from hcxdumptool.

ZerBea avatar ZerBea commented on July 25, 2024

Should be fixed by latest commit, now.

from hcxdumptool.

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.