M0tHs3C / Argo

Multi camera gathering and exploiting tool
GNU General Public License v3.0
51 stars 19 forks source link

Host up checking is VERY slow #15

Open xenix1337 opened 2 years ago

xenix1337 commented 2 years ago

Host up checking is VERY slow. Timeout is set to 5 seconds, which means in pesimistic case it can check 12 hosts per minute. It's only 720 per hour. I don't know Python that well, but typical solution to this problem is multithreading or async operations.

M0tHs3C commented 2 years ago

im fully aware of that, i set the timeout to 5 second to ensure that every one that use this tool will get kinda the same result (i also have a slow internet connection, so i built a tool that would fit my type of situation) but i can assure you that im planning on improving various thing of the tool and this particular section, as well as other function that require to check the test of lots of host will implement multithred, i dont think that async would actually help me in this case because if i dont have the list of active host i cant proceed

Il giorno ven 10 dic 2021 alle ore 12:03 xenix1337 @.***> ha scritto:

Host up checking is VERY slow. Timeout is set to 5 seconds, which means in pesimistic case it can check 12 hosts per minute. It's only 720 per hour. I don't know Python that well, but typical solution to this problem is multithreading or async operations.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/M0tHs3C/Argo/issues/15, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH2THN42YSBFMZFLOICOAQTUQHM77ANCNFSM5JY3FUCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.