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

Create url_scan_report.py #193

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

David-M-Berry
Copy link

This example program allows a user to pass a URL as a command line argument during script execution.

EXAMPLE:

python3 url_scan_report.py testphp.vulnweb.com

This will return the list of security vendors who have marked the URL as clean or malicious, and can be used to score the trust worthiness of a URL in an on-demand manner.

This example program allows a user to pass a URL as a command line argument during script execution.

EXAMPLE: python3 url_scan_report.py testphp.vulnweb.com

This will return the list of security vendors who have marked the URL as clean or malicious, 
and can be used to score the trust worthiness of a URL in an on-demand manner.
Copy link

google-cla bot commented Jul 5, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@David-M-Berry
Copy link
Author

I've gone and completed the CLA.

Copy link
Member

@mgmacias95 mgmacias95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution, please update with this little requested change :)

Comment on lines +50 to +51
while time.time() - start_time < timeout:
report = get_url_report(client, scan_id)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Client object has a timeout option that can be used instead of doing this:

self._timeout = timeout

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.

2 participants