Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
audit_report.json
.vscode/
venv/
6 changes: 3 additions & 3 deletions OopsKey.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import requests
from urllib.parse import urljoin, urlparse
from bs4 import BeautifulSoup
from datetime import datetime
from datetime import datetime, UTC
from dataclasses import dataclass
from typing import Optional, List, Dict, Set, Tuple
from concurrent.futures import ThreadPoolExecutor, as_completed
Expand Down Expand Up @@ -920,7 +920,7 @@ def main():
"tool": "gapi_full_audit_v4",
"authorized_use_only": True,
"mode": "single_key",
"timestamp": datetime.utcnow().isoformat(),
"timestamp": datetime.now(UTC).isoformat(),
"static_validation": sv_msg,
"validation": result,
}
Expand Down Expand Up @@ -976,7 +976,7 @@ def main():
"tool": "gapi_full_audit_v4",
"authorized_use_only": True,
"mode": "web_scan",
"timestamp": datetime.utcnow().isoformat(),
"timestamp": datetime.now(UTC).isoformat(),
"target_url": args.url,
"crawl_depth": args.depth,
"js_recursion_depth": JS_RECURSION_DEPTH,
Expand Down