{"id":22140849,"url":"https://github.com/scanthe-net/scanthenet-cplusplus","last_synced_at":"2025-03-24T11:18:39.290Z","repository":{"id":263250061,"uuid":"889800664","full_name":"ScanThe-Net/ScanTheNet-Cplusplus","owner":"ScanThe-Net","description":"C++ API Data Fetcher.","archived":false,"fork":false,"pushed_at":"2024-11-17T09:27:25.000Z","size":354,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T16:28:06.045Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ScanThe-Net.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-11-17T09:16:28.000Z","updated_at":"2024-11-17T09:27:28.000Z","dependencies_parsed_at":"2024-11-17T10:20:38.835Z","dependency_job_id":"dd6f16c2-ffe0-4b1f-94d5-2e131b75a7cd","html_url":"https://github.com/ScanThe-Net/ScanTheNet-Cplusplus","commit_stats":null,"previous_names":["scanthe-net/scanthenet-cplusplus"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScanThe-Net%2FScanTheNet-Cplusplus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScanThe-Net%2FScanTheNet-Cplusplus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScanThe-Net%2FScanTheNet-Cplusplus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScanThe-Net%2FScanTheNet-Cplusplus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScanThe-Net","download_url":"https://codeload.github.com/ScanThe-Net/ScanTheNet-Cplusplus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245258214,"owners_count":20585977,"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-12-01T21:08:00.271Z","updated_at":"2025-03-24T11:18:39.266Z","avatar_url":"https://github.com/ScanThe-Net.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ScanTheNet-Cplusplus\nC++ API Data Fetcher.\n\nThis project is a C++ application that retrieves and displays data from our API endpoint using the **libcurl** library for HTTP(S) requests and the **nlohmann/json** library for JSON parsing. \n\n## Features\n\n- **API Interaction**: Makes GET requests to our API endpoint and retrieves JSON data.\n- **Dynamic Entry Limit**: Users can specify the maximum number of data entries to display (up to 100).\n\n## Requirements\n\n- **C++ Compiler**: Ensure you have a C++ compiler like g++.\n- **libcurl**: Install `libcurl` for handling HTTP requests.\n- **nlohmann/json**: Include the nlohmann JSON library, either by installing it or including the header file.\n\n## Installation\n\n### Install Dependencies\n\nFor Debian-based systems, you can install the required libcurl development files using:\n\n```\napt install libcurl4-openssl-dev\n```\n\nClone the Repository\n\n```\ngit clone https://github.com/ScanThe-Net/ScanTheNet-Cplusplus.git\ncd ScanTheNet-Cplusplus/ScanTheNet\n```\n\nCompile\n\n```\ng++ -o scanthenet scanthenet.cpp -I include -lcurl\n```\n\nUsage\n\nRun it from the command line. Optionally, you can specify the maximum number of entries:\n\n```\n./scanthenet [maxEntries]\n```\n\nReplace [maxEntries] with a number between 1 and 100. If not specified, the default value is 100.\n\nExample Output\n\nWhen executed successfully, it will display results in the following format:\n\n```\n      _______                    _______ __           ____ __         __\n     |     __|.----.---.-.----- |_     _|  |--.-----.|    |  |.-----.|  |_\n     |__     ||  __|  _  |     |  |   | |     |  -__||       ||  -__||   _|\n     |_______||____|___._|__|__|  |___| |__|__|_____||__|____||_____||____|\n\nID: \"5702635\"\nTimestamp: \"2024-11-17 09:26:45\"\nSource IP: \"51.91.110.49\"\nSource Port: \"41756\"\nDestination Port: \"22\"\nData: \"Flags [S], seq 2981374044, win 29200, options [mss 1400,sackOK,TS val 1400581321 ecr 0,nop,wscale 7], length 0\"\n----------\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscanthe-net%2Fscanthenet-cplusplus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscanthe-net%2Fscanthenet-cplusplus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscanthe-net%2Fscanthenet-cplusplus/lists"}