{"id":51483880,"url":"https://github.com/zay-m3/getinfo","last_synced_at":"2026-07-07T04:01:41.917Z","repository":{"id":321297374,"uuid":"1085303255","full_name":"Zay-M3/GetInfo","owner":"Zay-M3","description":"This is a tool for Windows Server where you can extract information and set up a basic network scanner.","archived":false,"fork":false,"pushed_at":"2025-12-04T17:10:10.000Z","size":168,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-05T21:50:05.672Z","etag":null,"topics":["automation","rust","security-tools","testing","tools","windows","windows-server"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Zay-M3.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-28T21:19:53.000Z","updated_at":"2025-12-04T17:10:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Zay-M3/GetInfo","commit_stats":null,"previous_names":["zay-m3/get-info-windows-s-rust","zay-m3/getinfo"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Zay-M3/GetInfo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zay-M3%2FGetInfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zay-M3%2FGetInfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zay-M3%2FGetInfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zay-M3%2FGetInfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zay-M3","download_url":"https://codeload.github.com/Zay-M3/GetInfo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zay-M3%2FGetInfo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35213825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-07T02:00:07.222Z","response_time":90,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["automation","rust","security-tools","testing","tools","windows","windows-server"],"created_at":"2026-07-07T04:01:39.829Z","updated_at":"2026-07-07T04:01:41.904Z","avatar_url":"https://github.com/Zay-M3.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GetInfo\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Rust](https://img.shields.io/badge/Rust-1.70%2B-orange.svg)](https://www.rust-lang.org/)\n[![Release](https://img.shields.io/github/v/release/Zay-M3/get-info-windows-s-rust)](https://github.com/Zay-M3/get-info-windows-s-rust/releases)\n\nThis is a Rust executable that extracts all relevant operating system information in JSON format. No graphical interfaces or complications, just a .exe that runs, spits out the data and you're done.\n\n![Main Menu](imgs/get_info_rust.png)\n\n## Features\n\n- **System Information Extraction** - Complete OS, CPU, memory, disks, network, users, and processes\n- **Network Scanner** - Scan entire network for open ports\n- **Targeted Port Scanning** - Scan specific IP and port combinations\n- **Beautiful CLI Interface** - Colorful, user-friendly terminal interface\n- **JSON Output** - All data in structured JSON format\n- **Fast \u0026 Lightweight** - Runs in 1-2 seconds, uses ~20MB RAM\n\n## Requirements\n\n- Windows \n- Rust installed \n- Visual Studio Build Tools \n\n## Quick Start\n\n```powershell\n# Compile\ncargo build --release\n\n# Run\n.\\target\\release\\getinfo_rust.exe\n\n# Or if you're in development\ncargo run\n```\n\n## Screenshots\n\n### Main Menu\nThe application features a colorful, easy-to-navigate menu:\n\n![Main Menu](imgs/get_info_rust.png)\n\n### Network Scanner\nScan your network for open ports:\n\n![Network Scanner](imgs/get_info_scanner.png)\n\n## What Information It Extracts\n\nThe executable gets all this and returns it in JSON:\n\n- **Operating System**: Name, version, kernel, hostname, uptime\n- **CPU**: All cores with frequency, usage, and vendor\n- **Memory**: Total RAM, used, free, SWAP (all in GB and bytes)\n- **Disks**: All disks with space, usage, filesystem, type\n- **Networks**: Interfaces, MAC, traffic, packets, errors, local IP\n- **Users**: Complete list with their groups\n- **Processes**: Top 10 by CPU and top 10 by memory with details\n- **Applications**: Custom path verification (e.g., C:\\YourApp)\n\n## Menu Options\n\n1. **Get System Information** - Extracts all system data and displays it as JSON\n2. **Scan Entire Network** - Scans all IPs in your network for open ports (1-10024)\n3. **Scan IP \u0026 Port** - Scan a specific IP address and port\n4. **Exit** - Close the application\n\n## Typical Usage\n\n### Interactive Mode\n\nJust run the executable and use the menu:\n\n```powershell\n.\\getinfo_rust.exe\n```\n\n### Save to File\n\n```powershell\n.\\getinfo_rust.exe \u003e system-info.json\n```\n\n### Process with PowerShell\n\n```powershell\n$info = .\\getinfo_rust.exe | ConvertFrom-Json\n$info.sistema_operativo.hostname\n$info.cpu.total_cpus\n```\n\n## Network Scanner Features\n\n### Full Network Scan\n- Automatically detects all IPs in your local network\n- Scans ports 1-10024 on each IP\n- Concurrent scanning with semaphore (50 concurrent tasks)\n- Shows real-time progress\n- Displays only IPs with open ports\n\n### Targeted IP/Port Scan\n- Scan specific IP address\n- Check if a specific port is open or closed\n- Format: `192.168.1.1 -p 80`\n- Instant results with color-coded status\n\n![Port Scanner](imgs/port-scanner.png)\n\n## Compilation\n\n### Option 1: Compile Locally\n\n```powershell\n# Debug (faster to compile)\ncargo build\n\n# Release (optimized)\ncargo build --release\n```\n\n### Option 2: Download the .exe\n\nIf you don't want to compile, download the executable from [releases](https://github.com/Zay-M3/get-info-windows-s-rust/releases).\n\n## Common Issues\n\n### Linker Error (link.exe)\n\nIf you see `error: linking with link.exe failed: exit code: 1181`:\n\n1. Install Visual Studio Build Tools\n2. Check the \"C++ build tools\" option during installation\n3. Restart the terminal\n\n### JSON Gets Cut Off in Console\n\nRedirect output to a file:\n\n```powershell\n.\\test-rust.exe \u003e output.json\n```\n\n### Doesn't Detect Some Network Interfaces\n\nThat's normal. It only shows active interfaces that the system reports.\n\n## Customization\n\nTo add custom paths to verify, the application will prompt you interactively, or you can modify the code:\n\n```rust\nlet paths_to_check = vec![\n    \"C:\\\\YourApp\",\n    \"D:\\\\AnotherFolder\",\n];\n```\n\nThen recompile.\n\n## Dependencies\n\nThe project uses:\n\n- `sysinfo`: For system information extraction\n- `serde` and `serde_json`: For JSON serialization\n- `reqwest`: For HTTP requests\n- `tokio`: For async runtime\n- `colored`: For terminal colors\n- `if-addrs`, `ipnetwork`, `futures`: For network scanning\n\n## Performance\n\nThe executable is lightweight:\n\n- Takes ~1-2 seconds to run\n- Uses ~20MB of RAM while running\n- Resulting JSON weighs ~5-15KB depending on process count\n- Network scan depends on network size (typically 30-60 seconds for 254 IPs)\n\n## What This Is For\n\n- Server monitoring without installing heavy agents\n- Quick system audits\n- Integration with automation scripts\n- Historical system state logs\n- System change detection\n- Base for custom dashboards\n- Network security auditing\n- Port availability checking\n\n## Contributing\n\nIf you find bugs or want to add more information to the JSON, PRs are welcome. I'm not the best Rust programmer in the world, I just wanted it to work and be useful.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Disclaimer\n\nThis isn't intended for critical production use or to replace enterprise monitoring tools. It's for getting quick system information without complications.\n\n---\n\nMade with ❤️ and Rust by [Zay-M3](https://github.com/Zay-M3)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzay-m3%2Fgetinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzay-m3%2Fgetinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzay-m3%2Fgetinfo/lists"}