4. Command Line Analysis Options - openphish/pyopdb GitHub Wiki
- Checking if a URL is a known phishing URL (URL must begin with either http or https)
$ python3 pyopdb.py --checkurl http://...
{
"success": true,
"message": "Phishing URL",
"data": {
"discovery_date": "2021-03-24T02:57:23Z",
"brand": "Scotiabank"
}
}
- Checking if an IPv4 address hosts any phishing URL
$ python3 pyopdb.py --checkip 195.242.XXX.85
{
"success": true,
"message": null,
"data": {
"urls": [
"http://...",
"http://...",
...
]
}
}
- Checking if a hostname is associated with any phishing URLs
$ python3 pyopdb.py --checkhost web.app
{
"success": true,
"message": null,
"data": {
"hosts": [
"facebook*****.web.app",
"fb-*****.web.app"
]
}
}