{"id":49889958,"url":"https://github.com/haxurn/bhnet","last_synced_at":"2026-05-15T20:11:13.629Z","repository":{"id":253862166,"uuid":"844754570","full_name":"haxurn/bhnet","owner":"haxurn","description":"A versatile network utility for listening on ports, executing commands, and handling file uploads. Ideal for network admins, pen testers, and cybersecurity enthusiasts. Manage network connections and remote tasks efficiently","archived":false,"fork":false,"pushed_at":"2024-08-19T23:10:06.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-13T21:25:23.373Z","etag":null,"topics":["backdoor","cprogramming","hacking","hacking-tool","listener","netcat","network-programming","networking","networking-in-python","python","reverse-shell","socket","tcp"],"latest_commit_sha":null,"homepage":"","language":"C","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/haxurn.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":"2024-08-19T22:52:43.000Z","updated_at":"2025-07-08T12:35:15.000Z","dependencies_parsed_at":"2024-08-20T03:35:41.288Z","dependency_job_id":null,"html_url":"https://github.com/haxurn/bhnet","commit_stats":null,"previous_names":["byteninja9/bhnet","haxurn/bhnet"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/haxurn/bhnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxurn%2Fbhnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxurn%2Fbhnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxurn%2Fbhnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxurn%2Fbhnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haxurn","download_url":"https://codeload.github.com/haxurn/bhnet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxurn%2Fbhnet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33078277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:05:40.333Z","status":"ssl_error","status_checked_at":"2026-05-15T20:05:38.672Z","response_time":103,"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":["backdoor","cprogramming","hacking","hacking-tool","listener","netcat","network-programming","networking","networking-in-python","python","reverse-shell","socket","tcp"],"created_at":"2026-05-15T20:11:12.871Z","updated_at":"2026-05-15T20:11:13.624Z","avatar_url":"https://github.com/haxurn.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Net Tool\n\n**Net Tool** is a versatile network utility designed for various network interactions and operations. It supports listening for incoming connections, executing commands, file uploads, and sending/receiving data. Ideal for network administrators, penetration testers, and cybersecurity enthusiasts, this tool provides a robust set of features for managing network connections and performing tasks remotely.\n\n## Features\n\n- **Listening Mode**: Set up a server to listen for incoming connections on a specified host and port.\n- **File Upload**: Upload files from the client to the server with a specified destination path.\n- **Command Execution**: Execute commands on the server upon connection and retrieve the output.\n- **Interactive Command Shell**: Open a command shell on the server to interact with clients in real-time.\n- **Client-Server Communication**: Send and receive data between the client and server, with support for command execution and file transfer.\n\n## Usage\n\nTo get started, use the following command-line options:\n\n```bash\nUsage: bhnet.py -t target_host -p port\n-l --listen - Listen on [host]:[port] for incoming connections\n-e --execute=file_to_run - Execute the given file upon receiving connections\n-c --command - Initialize a command shell\n-u --upload=destination - Upload a file and write to [destination] upon receiving connection\n-t --target=target_host - Specify the target host\n-p --port=port - Specify the port number\n\n```\n\n### Examples\n\n- Start a server to listen for incoming connections and open a command shell:\n```bash \npython bhnet.py -t 192.168.0.1 -p 5555 -l -c\n```\n- Upload a file from the client to the server:\n```bash\npython bhnet.py -t 192.168.0.1 -p 5555 -l -u=c:\\target.exe \n```\n- Execute a command on the server:\n```bash \npython bhnet.py -t 192.168.0.1 -p 5555 -l -e=\"cat /etc/passwd\"\n```\n\n\n## Dependencies\n\n- `colorama` for colored output\n\nInstall the dependencies using pip:\n\n```bash\npip install colorama\n```\n\n## Contributing\n\nFeel free to open issues or submit pull requests. Contributions are welcome!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaxurn%2Fbhnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaxurn%2Fbhnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaxurn%2Fbhnet/lists"}