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

Changing scanner ERROR Uncaught PharException: #38

Open
sachinghare opened this issue Nov 6, 2021 · 2 comments
Open

Changing scanner ERROR Uncaught PharException: #38

sachinghare opened this issue Nov 6, 2021 · 2 comments
Labels
question Further information is requested

Comments

@sachinghare
Copy link

Hi,

I have edited the /scanner file to send report via POST json method and it throws following error, even after removing empty lines it throws the same error. Can you help with the reason?

php scanner /home/ --auto-skip
PHP Fatal error: Uncaught PharException: phar "/scanner" does not have a signature in /scanner:8
Stack trace:
#0 /scanner(8): Phar::webPhar()
#1 {main}
thrown in /scanner on line 8

Regards

@marcocesarato
Copy link
Owner

Hi,
if you have modified the phar file probably for you is better following the steps below:

  • Clone the repository
  • Edit the code inside src
  • Run from the root of the project php bin\build or composer build to build the phar file
  • Check the file generated into dist/scanner

@marcocesarato marcocesarato added the question Further information is requested label Nov 7, 2021
@sachinghare
Copy link
Author

Thanks for your updates and late reply. Have started using immunify scanner and created some automation within autoscan provided by immunify to recieve feed from server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants