Skip to content
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

Refactoring for classes #4

Open
codingo opened this issue May 28, 2017 · 9 comments
Open

Refactoring for classes #4

codingo opened this issue May 28, 2017 · 9 comments

Comments

@codingo
Copy link
Owner

codingo commented May 28, 2017

The code for Reconnoitre is currently structured into independent methods/files but lacks classes for each file. Recommendation is to create classes for each base file within the project (for example file_helpers.py would contain the class file_helper).

@codingo codingo self-assigned this May 28, 2017
@codingo codingo added this to the 1.1 Release milestone Sep 2, 2017
@codingo
Copy link
Owner Author

codingo commented May 3, 2018

Tagging this as help wanted as this project is a bit lower on my list, if somebody wants to take a crack at this I would very happily merge it over!

@evyatarmeged
Copy link

Hey,
I have considered taking this on myself. Any special guidelines that should be followed?
Hope to squeeze this into my schedule 👍

@codingo
Copy link
Owner Author

codingo commented May 28, 2018

@evyatarmeged a large component of this will be combining the code that's used to launching processing into a single function/class and properly using that object over the code base. Currently each library (file) within this project reuses the same functions, causing quite a bit of overlap. Outside of that, I believe anything would be a step in the right direction and if you put something together I'm happy to refactor / work on that branch prior to merging if I believe that further changes are needed.

@evyatarmeged
Copy link

evyatarmeged commented Jun 2, 2018

@codingo I found some spare time and got around to doing some work. I've pushed it in my fork of Reconnoitre under branch "class-refactoring-001".
I've performed changes for file_helper, hostname_scan, dns_finder, service_scan and a bit for virtual_host_scanner although you had it pretty much done already.
I've made file_helper static as that made the most sense. I'll do the main reconnoitre.py last obviously.

I wanted to get some feedback from you just to know if stuff is going in the direction you expected.
Do check it when you get a few minutes to spare.

@codingo
Copy link
Owner Author

codingo commented Jun 2, 2018

May be a couple of days until I can do a fulp revies, but I'll update you soon as I can!

@codingo
Copy link
Owner Author

codingo commented Aug 19, 2018

Hi @evyatarmeged, just touching base to see where we've landed with this one?

@evyatarmeged
Copy link

Hi @codingo,

I've made some refactoring to the project and was waiting for your feedback (see my comment earlier in this issue). I did not want to continue to work without you reviewing the work done so far and pointing me in the direction you want this to go.

Regardless, the fork is now removed since there was no response so I figured this project was not at the top of your list.

Is there anything new from your end?

@codingo
Copy link
Owner Author

codingo commented Aug 20, 2018

@evyatarmeged Subfinder/VHostScan have definitely taken attention for a while, but I've been looking at breathing some fresh life into this.

Happy for you to contribute anything you feel would be of benefit to the community as a whole. This project is designed for those going through HackTheBox/OSCP, and anything that can benefit that community I would happily accept as a merge.

@bbeale
Copy link

bbeale commented Jul 6, 2020

I just submitted a PR to address this issue, but there's a verify-json-validation check that is failing and I'm not able to track it down at a quick glance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants