{"id":2711,"date":"2025-06-08T20:19:29","date_gmt":"2025-06-08T17:19:29","guid":{"rendered":"https:\/\/serhatyapici.com.tr\/?p=2711"},"modified":"2025-06-08T20:23:23","modified_gmt":"2025-06-08T17:23:23","slug":"gelismis-sqlmap-kullanimi","status":"publish","type":"post","link":"https:\/\/serhatyapici.com.tr\/en\/gelismis-sqlmap-kullanimi\/","title":{"rendered":"Geli\u015fmi\u015f SQLMap Kullan\u0131m\u0131"},"content":{"rendered":"<style>\n  .sqlmap-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: #f7f9fc;\n    position: relative;\n  }\n\n  .sqlmap-generator h2 {\n    text-align: center;\n    margin-bottom: 20px;\n    font-size: 24px;\n  }\n\n  .sqlmap-generator label {\n    display: block;\n    margin-top: 10px;\n    font-weight: bold;\n  }\n\n  .sqlmap-generator input,\n  .sqlmap-generator select {\n    width: 100%;\n    padding: 8px;\n    margin-top: 5px;\n    border-radius: 8px;\n    border: 1px solid #ccc;\n  }\n\n  .sqlmap-generator button.generate {\n    margin-top: 20px;\n    padding: 10px 20px;\n    width: 100%;\n    font-size: 16px;\n    background: #43a047;\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: #272822;\n    color: #f8f8f2;\n    padding: 12px;\n    border-radius: 10px;\n    overflow-x: auto;\n    font-family: monospace;\n    white-space: pre-wrap;\n    word-break: break-word;\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    transition: color 0.2s ease;\n  }\n\n  .copy-icon:hover {\n    color: white;\n  }\n<\/style>\n\n<div class=\"sqlmap-generator\">\n  <h2>SQLMap Komut \u00dcretici<\/h2>\n\n  <label for=\"url\">Hedef URL<\/label>\n  <input type=\"text\" id=\"url\" placeholder=\"http:\/\/site.com\/index.php?id=1\">\n\n  <label for=\"method\">HTTP Metodu<\/label>\n  <select id=\"method\">\n    <option value=\"\">Se\u00e7iniz<\/option>\n    <option value=\"GET\">GET<\/option>\n    <option value=\"POST\">POST<\/option>\n  <\/select>\n\n  <label for=\"data\">POST Verisi<\/label>\n  <input type=\"text\" id=\"data\" placeholder=\"id=1&#038;name=test\">\n\n  <label for=\"cookie\">\u00c7erez<\/label>\n  <input type=\"text\" id=\"cookie\" placeholder=\"PHPSESSID=abcd1234\">\n\n  <label for=\"level\">Seviye (&#8211;level)<\/label>\n  <input type=\"number\" id=\"level\" min=\"1\" max=\"5\" value=\"1\">\n\n  <label for=\"risk\">Risk (&#8211;risk)<\/label>\n  <input type=\"number\" id=\"risk\" min=\"1\" max=\"3\" value=\"1\">\n\n  <label for=\"tech\">Teknik (&#8211;technique)<\/label>\n  <input type=\"text\" id=\"tech\" placeholder=\"\u00f6rn. BEUSTQ\">\n\n  <label><input type=\"checkbox\" id=\"currentdb\"> &#8211;current-db<\/label>\n  <label><input type=\"checkbox\" id=\"dbs\"> &#8211;dbs<\/label>\n  <label><input type=\"checkbox\" id=\"tables\"> &#8211;tables<\/label>\n  <label><input type=\"checkbox\" id=\"columns\"> &#8211;columns<\/label>\n  <label><input type=\"checkbox\" id=\"dump\"> &#8211;dump<\/label>\n  <label><input type=\"checkbox\" id=\"passwords\"> &#8211;passwords<\/label>\n  <label><input type=\"checkbox\" id=\"osShell\"> &#8211;os-shell<\/label>\n  <label><input type=\"checkbox\" id=\"batch\"> &#8211;batch<\/label>\n\n  <button class=\"generate\" onclick=\"sqlmapUret()\">Komutu \u00dcret<\/button>\n\n  <div class=\"command-box\">\n    <button class=\"copy-icon\" onclick=\"copyToClipboard()\" title=\"Kopyala\">\ud83d\udccb<\/button>\n    <pre id=\"sqlmapResult\">Komut burada g\u00f6r\u00fcnecek...<\/pre>\n  <\/div>\n<\/div>\n\n<script>\n  function sqlmapUret() {\n    const url = document.getElementById(\"url\").value.trim();\n    const method = document.getElementById(\"method\").value;\n    const data = document.getElementById(\"data\").value.trim();\n    const cookie = document.getElementById(\"cookie\").value.trim();\n    const level = document.getElementById(\"level\").value;\n    const risk = document.getElementById(\"risk\").value;\n    const tech = document.getElementById(\"tech\").value.trim();\n\n    const flags = [\n      { id: 'currentdb', flag: '--current-db' },\n      { id: 'dbs', flag: '--dbs' },\n      { id: 'tables', flag: '--tables' },\n      { id: 'columns', flag: '--columns' },\n      { id: 'dump', flag: '--dump' },\n      { id: 'passwords', flag: '--passwords' },\n      { id: 'osShell', flag: '--os-shell' },\n      { id: 'batch', flag: '--batch' },\n    ];\n\n    const resultEl = document.getElementById(\"sqlmapResult\");\n\n    if (!url) {\n      resultEl.textContent = \"\u26a0\ufe0f L\u00fctfen hedef URL giriniz.\";\n      return;\n    }\n\n    let komut = `sqlmap -u \"${url}\"`;\n    if (method) komut += ` --method=${method}`;\n    if (data) komut += ` --data=\"${data}\"`;\n    if (cookie) komut += ` --cookie=\"${cookie}\"`;\n    if (level) komut += ` --level=${level}`;\n    if (risk) komut += ` --risk=${risk}`;\n    if (tech) komut += ` --technique=${tech}`;\n\n    flags.forEach(({ id, flag }) => {\n      if (document.getElementById(id).checked) komut += ` ${flag}`;\n    });\n\n    resultEl.textContent = komut;\n  }\n\n  function copyToClipboard() {\n    const text = document.getElementById(\"sqlmapResult\").textContent;\n    navigator.clipboard.writeText(text).then(() => {\n      const icon = document.querySelector('.copy-icon');\n      icon.textContent = '\u2705';\n      setTimeout(() => icon.textContent = '\ud83d\udccb', 1500);\n    });\n  }\n<\/script>","protected":false},"excerpt":{"rendered":"<p>SQLMap Komut \u00dcretici Hedef URL HTTP Metodu Se\u00e7inizGETPOST POST Verisi \u00c7erez Seviye (&#8211;level) Risk (&#8211;risk) Teknik (&#8211;technique) &#8211;current-db &#8211;dbs &#8211;tables &#8211;columns &#8211;dump &#8211;passwords &#8211;os-shell &#8211;batch Komutu \u00dcret \ud83d\udccb Komut burada g\u00f6r\u00fcnecek&#8230;<\/p>","protected":false},"author":1,"featured_media":2753,"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-2711","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\/2711","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=2711"}],"version-history":[{"count":16,"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/posts\/2711\/revisions"}],"predecessor-version":[{"id":2751,"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/posts\/2711\/revisions\/2751"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/media\/2753"}],"wp:attachment":[{"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/media?parent=2711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/categories?post=2711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serhatyapici.com.tr\/en\/wp-json\/wp\/v2\/tags?post=2711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}