Why does the proxy list keep showing up because it's empty?
this is my proxies list download from proxyscrape.com
why proxy empty?
the proxy list supplied defaults to the ./files/proxies/ folder. If you want to use a file relative to start.py it needs to be ./proxies.txt else it will be ./files/proxies/proxies.txt
why not work?
@hamid0901 Ok I may have misspoke. I apologize.
TLDR: Use ../.../proxyfilename.txt
When the method checks for the proxy file it is checking for the file in /files/proxies/. Placing ../../ before the file name will have it check for the file two directories "up" from /files/proxies/
IF you want to use a proxy file relative to MHDDoS's root directory use ../../proxies.txt. IF the file does not exist it will create the file and populate it with proxies. IF it does exist it will use that file IRRESPECTIVE of if it has been populated with proxies or not. So if the proxies.txt file is empty it will "use" the file but there will be no proxies so you will be connecting from your machine directly.
Following the screenshot:
- I start in the root directory - notice no proxies its ufile.
- I change directories to /files/proxies/ and there is no proxies.txt file.
- I move two directories back to root and execute start.py using ../../PROXIES.txt
- Warns the file doesnt exist and it creates it and starts to download and check proxies.
- I check the root directory and you can see there is a PROXIES.txt file.
- I run it again with PROXIES2.txt
- The file doesn't exist so it creates /files/proxies/PROXIES2.txt
- I change directory to /files/proxies/ and double check it did create the PROXIES2.txt file.
I hope that helps.
I will say though, and forgive me if it seems like I am preaching here; but getting into the habit of placing files in their appropriate folder is a good thing. It keeps with consistency of the intended behavior. (Yes I know the code should technically disallow ../../ and drop anything that isn't a well formatted and resolvable path name) lol.
Another side note: I ran this using my modified start.py file which I made a pull request for so you will not see the progress indicator when checking and downloading proxies, but the underlying functionality regarding path names remains unchanged.
@hamid0901 If you have any further questions or need clarification don't hesitate. :)
✅
Thank you for your detailed response. However, I have a question: Why does the forumzar.com server go down or slow down when attacked using web-based DDoS tools, but when using MHDDoS, the server doesn't slow down or go down?