{"id":26065683,"url":"https://github.com/sameer266/green_tick","last_synced_at":"2026-04-17T18:33:24.674Z","repository":{"id":280138682,"uuid":"941096287","full_name":"sameer266/Green_Tick","owner":"sameer266","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-01T13:44:51.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T19:32:17.314Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sameer266.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-01T13:32:17.000Z","updated_at":"2025-03-01T13:44:54.000Z","dependencies_parsed_at":"2025-03-01T14:42:18.807Z","dependency_job_id":null,"html_url":"https://github.com/sameer266/Green_Tick","commit_stats":null,"previous_names":["sameer266/green_tick"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sameer266/Green_Tick","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sameer266%2FGreen_Tick","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sameer266%2FGreen_Tick/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sameer266%2FGreen_Tick/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sameer266%2FGreen_Tick/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sameer266","download_url":"https://codeload.github.com/sameer266/Green_Tick/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sameer266%2FGreen_Tick/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31940938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-08T19:28:49.774Z","updated_at":"2026-04-17T18:33:24.656Z","avatar_url":"https://github.com/sameer266.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Log \u0026 Web Security Scanner\n\n## Overview\n\nThis project consists of two Python scripts that help in security analysis:\n\n1. **task1.py** - Scans log files for suspicious activity patterns.\n2. **task2.py** - Scans websites for security vulnerabilities, including missing security headers, outdated software, and insecure forms.\n\n## Requirements\n\nEnsure you have Python installed along with the required libraries:\n\n```bash\npip install beautifulsoup4 requests\n```\n\n## Usage\n\n### Task 1: Log File Security Scanner\n\nThis script scans a given log file for suspicious activity patterns such as unauthorized access or failed login attempts.\n\n#### Running the script:\n\n```bash\npython task1.py\n```\n\nThen enter the log file path when prompted.\n\n### Task 2: Website Security Scanner\n\nThis script scans a given URL for security vulnerabilities.\n\n#### Running the script:\n\n```bash\npython task2.py\n```\n\nThen enter the URL when prompted.\n\n## Features\n\n### Task 1 (Log Scanner):\n\n- Detects suspicious patterns like:\n  - \"failed login\"\n  - \"unauthorized access\"\n  - \"malicious activity detected\"\n- Extracts and displays timestamps of suspicious activity.\n\n### Task 2 (Web Security Scanner):\n\n- Checks for **missing security headers** (e.g., `X-Content-Type-Options`, `Strict-Transport-Security`).\n- Detects **outdated software versions** known to have vulnerabilities.\n- Identifies **insecure forms** missing `POST` method or action attributes.\n\n## Example Output\n\n### Task 1:\n\n```\nEnter the file path: logs.txt\nAlert: unauthorized access attempt detected at 2025-03-01 13:15:23\n```\n\n### Task 2:\n\n```\nEnter a URL to scan: http://example.com\nScanning Website http://example.com .....\nVulnerability Scan Report For http://example.com\nMissing Security Headers: X-Content-Type-Options\nOutdated Software Version Detected: Apache/2.2.0\nForm without proper Method Attribute: /login\n```\n\n## Limitations\n\n- The log scanner only detects specific patterns and may not catch all threats.\n- The web security scanner performs basic checks and does not do deep security testing.\n- Results may not always be accurate due to different log formats and website structures.\n\n## Disclaimer\n\nThis tool is intended for educational purposes and security auditing of your own systems. Do not use it to scan websites without permission.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsameer266%2Fgreen_tick","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsameer266%2Fgreen_tick","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsameer266%2Fgreen_tick/lists"}