{"id":15636323,"url":"https://github.com/passy/webscan","last_synced_at":"2025-06-16T15:11:38.874Z","repository":{"id":66088615,"uuid":"893249","full_name":"passy/webscan","owner":"passy","description":"Very limited fun-project tcp uptime sniffer","archived":false,"fork":false,"pushed_at":"2013-03-31T17:47:49.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T20:16:39.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/passy.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2010-09-07T09:35:03.000Z","updated_at":"2013-10-02T02:28:28.000Z","dependencies_parsed_at":"2023-02-19T22:20:20.550Z","dependency_job_id":null,"html_url":"https://github.com/passy/webscan","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/passy/webscan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Fwebscan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Fwebscan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Fwebscan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Fwebscan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/passy","download_url":"https://codeload.github.com/passy/webscan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/passy%2Fwebscan/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260183254,"owners_count":22971196,"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-10-03T11:02:11.763Z","updated_at":"2025-06-16T15:11:38.842Z","avatar_url":"https://github.com/passy.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"webscan\n=======\n\n`webscan` ought to be an active network scanner aimed to analyze information\nretrieved from tcp headers after a SYN connect.\n\nWhat's actually working is getting an approximate uptime of a given host,\nrunning a tcp service at port 80 as long it's running Linux.\n\nThe code, however, is a complete mess. This is a learning project and not meant\nfor anything serious.\n\n\nHow to compile\n--------------\n\nTo compile, you need either gcc or clang installed and the `pcap` library and\ndevelopment headers present.\n`webscan` uses Linux capibilities so right now it's not portable.\n\n::\n\n   git clone http://github.com/passy/webscan.git\n   cd webscan\n   cmake .\n   make\n   # The binary is in bin/webscan now. You could also use make install now.\n\n\nHow to use\n----------\n\n::\n\n   webscan -h\n   sudo webscan new.rdrei.net\n\n\nWhat does not work\n------------------\n\nMost things. `webscan` requires root privileges to perform raw socket\noperations. It does, however, drop the privileges as soon as possible except for\nthe raw socket permissions. But I'm pretty sure I left a whole buch of security\nholes open. Currently, it drops to UID/GID 1000 which is hard-coded.\n\n\nWhat does work\n--------------\n\nThe uptime detection can be quite accurate, but only for some versions of linux.\nEventually, webscan could get some kind of OS fingerprinting so uptime\ncalculations work for other OSes as well.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassy%2Fwebscan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpassy%2Fwebscan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpassy%2Fwebscan/lists"}