2012-08-03 21:50:54 +02:00
|
|
|
from euscan.handlers import php
|
|
|
|
|
|
|
|
HANDLER_NAME = "pear"
|
|
|
|
CONFIDENCE = 100
|
|
|
|
PRIORITY = 90
|
|
|
|
|
2012-08-07 09:39:49 +02:00
|
|
|
|
2012-08-03 21:50:54 +02:00
|
|
|
def can_handle(pkg, url=None):
|
|
|
|
return url and url.startswith('http://%s.php.net/get/' % HANDLER_NAME)
|
|
|
|
|
|
|
|
scan_url = php.scan_url
|
|
|
|
scan_pkg = php.scan_pkg
|