-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Made some improvements #3
base: master
Are you sure you want to change the base?
Conversation
Hey @serialfuzzer, great work man. But if you could maintain the project installation steps and other instructions, I can merge the PR and publish the new version in PyPi. |
Hi @IamLizu, Thank you! :) I will make some more changes to optimise it and then I'll let you know here. |
Hi @IamLizu, Does these changes look good or you want to add something to it? I'm going to do a speedrun to implement features listed below To implement
Fast mode (default) Slow mode User interface design Input options File Some additional optimisations Create test scripts |
@serialfuzzer noice I will check as soon as I can and I will let you know. |
Sure, I will start implementing code asap |
Just realised that multithreading in Python does no good due to the GIL. Regardless, we can keep the code changes in hopes that one day, python maintainers would launch a thread-safe environment. I need to update the slow method now. Slow method will use the old legacy function |
Note: It's not ready to push yet |
@serialfuzzer hey, just checking. Should I start reviewing? |
I looked into the changes a bit from here and I think we do not need to include the local installing instruction. Let's keep the And for an example URL to test the sites, let's not use iamlizu.com because that no longer have WordPress. |
Hi, @IamLizu Let's use https://www.malcare.com/ then. I'll update the readme |
Using multiple-threads is making it slower by couple of seconds. I think it's because of the GIL. I think requests has to be sent all at once in a multi-threading asynchronous way and then use multiprocessing to to parse those results for wordpress patterns. |
Due to behavior in above mentioned comment, I have set the default number of threads to |
@serialfuzzer cool. |
I have started reviewing. |
I am thinking of removing the Also, I am think of migrating to hatchling build system instead of setuptools. But I will do this myself after merging your PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@serialfuzzer Good work <3
However, I request you to not change the way the application is used or consumed. Let's keep the user experience same and improve the internal performance and methods.
I appreciate your contribution so much, kudos again. I hope you will come up with suggested changes soon.
Hi @IamLizu, Thank you for reviewing. I will start making the changes now. Also, it's a good idea to make it backwards compatible. |
Hi @IamLizu Could you check now? |
We are using |
The difference between old engine and current engine: Old engine:
New engine:
However, the legacy feature will be implemented as slow method of scanning. It has not been incorporated into the codebase yet which is the reason why mode is not documented in I have also implemented the Why I did this? If an user wants to fetch all the subdomains using wordpress and then bruteforce for information disclosing files than they could just do
|
I think we should also add -v option that displays current version. What is your opinion on this? |
I noticed the use of The |
Sure |
I am also thinking that --ports flag should be added at some point. Maybe let the user specify which ports to scan too? Second thought: This won't be a good idea. Let's keep the tools segmented. A user could just add another port in their input file. For example: |
@serialfuzzer I feel that we need a place to discuss our plans and visions in a bit more organized way. I would love if you please join this following discord channel. |
** What did I do? **