Giter Site home page Giter Site logo

Comments (1)

albinvar avatar albinvar commented on July 16, 2024 1

You will be able to set attacks upto 255 seconds to the max as the timeout variable uses uint8_t (#5 )

A simple approach is to override the timeout value for the function esp_timer_start_once() inside attack.c

https://github.com/risinek/esp32-wifi-penetration-tool/blob/e346e28ed9c93e98ab686c30eb8c4bc549313ba3/main/attack.c#L127C4-L128C79

esp_timer_start_once() accepts the timeout input as milliseconds and poses uint64. So the maximum timeout value for esp_timer_start_once is UINT64_MAX microseconds which is equivalent to approximately 4,294,967,295 microseconds or about 4294 seconds (approximately 71.58 minutes). You can take a look at this code where if 0 is recieved as input, the attack will run for the max time as possible

https://github.com/albinvar/esp32-wifi-penetration-tool/blob/a30167ca1d959193a45895815ae0b95c63d70ed3/main/attack.c#L127-L138

from esp32-wifi-penetration-tool.

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.