Skip to content

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.
@google-cla
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

@z57950860-png

This comment was marked as abuse.

@z57950860-png

This comment was marked as abuse.

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