{"id":21307184,"url":"https://github.com/dotnetrussell/ethnodescanner","last_synced_at":"2025-06-19T08:08:20.508Z","repository":{"id":246960234,"uuid":"824734325","full_name":"DotNetRussell/EthNodeScanner","owner":"DotNetRussell","description":"Unauthenticated Ethereum Node Scanner","archived":false,"fork":false,"pushed_at":"2024-07-05T20:20:30.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T19:48:40.890Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DotNetRussell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-07-05T20:11:42.000Z","updated_at":"2024-07-05T21:41:25.000Z","dependencies_parsed_at":"2024-07-06T01:30:15.018Z","dependency_job_id":"fa2b8d2c-f634-4c63-8ac5-e926720582e2","html_url":"https://github.com/DotNetRussell/EthNodeScanner","commit_stats":null,"previous_names":["dotnetrussell/ethnodescanner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DotNetRussell/EthNodeScanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DotNetRussell%2FEthNodeScanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DotNetRussell%2FEthNodeScanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DotNetRussell%2FEthNodeScanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DotNetRussell%2FEthNodeScanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DotNetRussell","download_url":"https://codeload.github.com/DotNetRussell/EthNodeScanner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DotNetRussell%2FEthNodeScanner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260713324,"owners_count":23050824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-21T16:30:13.367Z","updated_at":"2025-06-19T08:08:15.472Z","avatar_url":"https://github.com/DotNetRussell.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node Management Scripts\n\nThis repository contains two Python scripts designed for managing Ethereum nodes. The scripts perform the following tasks:\n\n1. **NodeAdminScanner.py**: Checks if a list of Ethereum nodes are up and allows admin commands.\n2. **NodeAdminRPCShutdown.py**: Sends a shutdown command to a list of Ethereum nodes and checks if they have been taken down.\n\n## Prerequisites\n\n- Python 3.x\n- `requests` library\n\nYou can install the `requests` library using pip:\n\n```bash\npip install requests\n```\n\n## Usage\n\nBoth scripts require a file containing a list of IP addresses (one per line) as an argument. The port is assumed to be `8545`.\n\n### NodeAdminScanner.py\n\nThis script checks if the nodes are up and allow admin commands.\n\n#### Usage\n\n```bash\npython NodeAdminScanner.py \u003cfilename\u003e\n```\n\n#### Example\n\n```bash\npython NodeAdminScanner.py ip_list.txt\n```\n\n### NodeAdminRPCShutdown.py\n\nThis script sends the `admin_stopRPC` command to the nodes and then checks if they have been taken down.\n\n#### Usage\n\n```bash\npython NodeAdminRPCShutdown.py \u003cfilename\u003e\n```\n\n#### Example\n\n```bash\npython NodeAdminRPCShutdown.py ip_list.txt\n```\n\n## File Format\n\nThe input file should contain a list of IP addresses, one per line. Example:\n\n```\n82.97.241.226\n82.97.241.240\n82.97.241.67\n213.171.8.55\n81.200.158.168\n82.97.241.146\n82.97.241.204\n213.171.3.109\n158.160.91.76\n82.97.241.192\n82.97.241.164\n158.160.72.216\n91.186.197.52\n178.20.236.12\n213.171.12.218\n82.97.241.34\n213.171.9.77\n83.222.9.72\n213.171.9.77\n```\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Contributions\n\nContributions are welcome! Please submit a pull request or open an issue to discuss any changes.\n\n---\n\nThis README provides a detailed overview of the two scripts, their usage, and examples. Feel free to customize it further as per your needs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnetrussell%2Fethnodescanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotnetrussell%2Fethnodescanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnetrussell%2Fethnodescanner/lists"}