dbisu / pico-ducky

Create a USB Rubber Ducky like device using a Raspberry PI Pico
GNU General Public License v2.0
2.43k stars 440 forks source link

Increase DELAY more 50000ms, stops the WSGI server #205

Open Milindsoni08 opened 1 year ago

Milindsoni08 commented 1 year ago

Increase DELAY more 50000ms, stops the WSGI server and i am unable to access 192.168.4.1 payload.dd DELAY 50000

if i keep DELAY < 50000ms it works like a charm

dbisu commented 1 year ago

I'm pretty sure I know the problem. It make take a bit to work out a solution, though. The issue is like here I will need to figure if I can convert the time.sleep to an asyncio.sleep.

Karthiksgowda commented 1 year ago

The above mentioned solution is not working @dbisu

dbisu commented 1 year ago

Yeah, I'm still working on a solution. Like I said, might take a bit to figure out the right way to refactor the code.

ihsaank commented 1 year ago

Hi, I'm only able to connect to the pico w for literally 30 seconds then the web server stops loading. Unless I forget the SSID and reconnect then it only works for a few seconds again. Do you know what the issue is?

dbisu commented 1 year ago

Hi, I'm only able to connect to the pico w for literally 30 seconds then the web server stops loading. Unless I forget the SSID and reconnect then it only works for a few seconds again. Do you know what the issue is?

@ihsaank please open a separate issue for this problem.

dbisu commented 1 year ago

For the original problem, I've created a test branch, delay-refactor, with proposed changes to fix this issue.

ihsaank commented 1 year ago

Is the original issue the same as the problem I’ve stated here?

dbisu commented 1 year ago

Are you trying to use long delays and seeing the webserver stop? A log dump from the debug serial would be helpful.

ihsaank commented 1 year ago

Oh okay sorry no it’s a different issue I’m facing. I’ve followed all the installation steps correctly so not sure if it’s a firmware issue. Once I’m connected to the SSID I’m only able to execute payloads only for a few seconds then the web server freezes up and stops loading and seems to show I can no longer connect and when I go to the wifi option it shows a cross across the wifi and ‘no internet connection’ underneath it

dbisu commented 1 year ago

This is a different problem, please open a separate issue to track it.