{"id":47353452,"url":"https://github.com/pedromarquetti/sec-trails","last_synced_at":"2026-03-18T01:25:27.433Z","repository":{"id":123804091,"uuid":"476728794","full_name":"pedromarquetti/sec-trails","owner":"pedromarquetti","description":"Rust script to get some data from requested URL","archived":false,"fork":false,"pushed_at":"2024-05-14T01:11:26.000Z","size":170,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-14T02:29:20.693Z","etag":null,"topics":["api-consumer","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/pedromarquetti.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":"2022-04-01T13:19:31.000Z","updated_at":"2024-05-14T02:29:23.390Z","dependencies_parsed_at":"2023-12-06T00:24:41.020Z","dependency_job_id":"c2f663a0-ee73-45df-b00a-acd57e840d30","html_url":"https://github.com/pedromarquetti/sec-trails","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pedromarquetti/sec-trails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedromarquetti%2Fsec-trails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedromarquetti%2Fsec-trails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedromarquetti%2Fsec-trails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedromarquetti%2Fsec-trails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedromarquetti","download_url":"https://codeload.github.com/pedromarquetti/sec-trails/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedromarquetti%2Fsec-trails/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30639690,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-18T00:09:27.587Z","status":"ssl_error","status_checked_at":"2026-03-18T00:09:26.123Z","response_time":56,"last_error":"SSL_read: 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":["api-consumer","rust"],"created_at":"2026-03-18T01:25:26.760Z","updated_at":"2026-03-18T01:25:27.421Z","avatar_url":"https://github.com/pedromarquetti.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to my URL-Info-getter script\n\n## Why?\n\nI wanted to learn Rust, so I decided to work on this simple script... I could easily do this in Python or JS, but challenging yourself is more fun hehe.\n\n## How it works?\n\nThis script fetches data from [Security Trails](https://securitytrails.com/)'s [API](https://docs.securitytrails.com/docs) to get some info about the specified **URL** (you **MUST** specify your API Key - _it's free yayy_).\n\n## What this program currently do?\n\n### Prints the current_dns 'A record' ip and ip_organization field (at index 0) that the API sent:\n\n```\n\"current_dns\": {\n    \"a\": {\n        \"values\": [\n        {\n            \"ip\": \"\u003cIP Addres of requested URL\",\n            \"ip_organization\": \"ip_organization name\"\n        }\n    ]\n}\n```\n\n### Gets 5 firsts subdomains of specified URL\n\n```\n{\n    \"subdomain_count\":\u003cnumber\u003e,\n    \"subdomains\":[...]\n}\n```\n\n## How to run\n\nIf you have [rustup](https://rustup.rs/) installed, you can simply run\n\n`cargo run -- -k \u003cYOUR KEY\u003e -u \u003cURL\u003e`\n\nThis will build the program in debug mode, creating a /target dir\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedromarquetti%2Fsec-trails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedromarquetti%2Fsec-trails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedromarquetti%2Fsec-trails/lists"}