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

PR modularize code #24

Closed
wants to merge 28 commits into from
Closed

PR modularize code #24

wants to merge 28 commits into from

Conversation

StPanning
Copy link

moves code in modules and functions
makes variables private (my... ) where possible
uses 'use ...' directive instead of 'do...'

StPanning and others added 28 commits March 14, 2018 19:35
modifies code to avoid global variables $amtf, $adming
adds Report.pm, fixes import in VulnDB
todo check for different behaviour
@pes-soft
Copy link
Contributor

Hi StPanning,
When I tried your PR on Kali Linux, I've received an error running joomscan.pl:

Can't locate JoomScan/Check.pm in @INC (you may need to install the JoomScan::Check module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./joomscan.pl line 36.

It seems that your changes require the current directory . to be in INC path, which is not default on Kali.

@StPanning
Copy link
Author

for now you have to be in the sam directory as joomscan.pl

this is the reason for issue #25 because this will fix this. I will implement it, as soon as my changes are approved so far.

@rezasp
Copy link
Collaborator

rezasp commented Mar 29, 2018

Hello,
because of the changes in version 0.0.5, it has so many missed features, can you update it to the same version? your version is 0.0.1.

regards.

@rezasp rezasp closed this Sep 17, 2018
@StPanning StPanning deleted the PR_modularize branch September 23, 2018 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants