magia cccc exploit

PENTEST CCC SITES


Alguns sites que oferecem gratuitamente conteúdos sobre programação e pentest são:

Lembrando que a segurança da informação é um tema sério e sensível, portanto, sempre procure atualizar seus conhecimentos com fontes confiáveis e éticas, além de buscar certificações reconhecidas no campo de pentest.


CODIGO CRIAR LIVRO.

<html>

<meta charset="utf-8">

<pre>

<style>


   #title-input,

    #text-input {

        width: 300px;

        margin-bottom: 10px;

    }

    

    #book-container {

        border: 1px solid #ccc;

        padding: 10px;

        margin-bottom: 10px;

    }


    #book-title {

        font-size: 20px;

        font-weight: bold;

        margin-bottom: 10px;

        color:blue;

    }


    #book-text {

        font-size: 16px;

    }


    #add-btn {

        margin-bottom: 10px;

    }


    #image-input {

        margin-bottom: 10px;

    }


    .book-image {

        max-width: 400px;

        max-height: 300px;

    }

</style>

<a href="">Messias o poeta criar livros</a><br>

<h1 style="color:orange;">Ferramenta online criar livros.<br><img src="https://avatars.mds.yandex.net/i?id=b0351e10c85130eeae5127e92e2395b497d4b831-4409822-images-thumbs&n=13"width="30%"</h1>

<div>

    <input type="text" id="title-input" placeholder="Escreva o seu livro.">

    <input type="file" id="image-input" accept="image/*" multiple>

    <button onclick="addBook()">Adicionar Livro</button>

</div>


<div id="book-container"></div>


<script>

    function addBook() {

        var titleInput = document.getElementById("title-input");

        var imageInput = document.getElementById("image-input");

        var bookContainer = document.getElementById("book-container");


        if (titleInput.value && imageInput.files.length > 0) {

            var bookDiv = document.createElement("div");

            bookDiv.classList.add("book");


            var bookTitle = document.createElement("h2");

            bookTitle.id = "book-title";

            bookTitle.innerHTML = titleInput.value + "<br>";


            var bookText = document.createElement("p");

            bookText.id = "book-text";

            bookText.innerHTML = "Seja feliz por favor!";


            bookDiv.appendChild(bookTitle);

            bookDiv.appendChild(bookText);


            for (var i = 0; i < imageInput.files.length; i++) {

                var bookImage = document.createElement("img");

                bookImage.classList.add("book-image");

                bookImage.src = URL.createObjectURL(imageInput.files[i]);

                bookDiv.appendChild(bookImage);

            }


            bookContainer.appendChild(bookDiv);


            titleInput.value = "";

            imageInput.value = "";

        }

    }

</script>

</pre>

</html>

<html>

<meta charset="utf-8">

<pre>

<style>


   #title-input,

    #text-input {

        width: 300px;

        margin-bottom: 10px;

    }

    

    #book-container {

        border: 1px solid #ccc;

        padding: 10px;

        margin-bottom: 10px;

    }


    #book-title {

        font-size: 20px;

        font-weight: bold;

        margin-bottom: 10px;

        color:blue;

    }


    #book-text {

        font-size: 16px;

    }


    #add-btn {

        margin-bottom: 10px;

    }


    #image-input {

        margin-bottom: 10px;

    }


    .book-image {

        max-width: 400px;

        max-height: 300px;

    }

</style>

<h1 style="color:orange;">Ferramenta online criar livros.<br><img src="https://avatars.mds.yandex.net/i?id=b0351e10c85130eeae5127e92e2395b497d4b831-4409822-images-thumbs&n=13"width="30%"</h1>

<div>

    <input type="text" id="title-input" placeholder="Escreva o seu livro.">

    <input type="file" id="image-input" accept="image/*" multiple>

    <button onclick="addBook()">Adicionar Livro</button>

</div>


<div id="book-container"></div>


<script>

    function addBook() {

        var titleInput = document.getElementById("title-input");

        var imageInput = document.getElementById("image-input");

        var bookContainer = document.getElementById("book-container");


        if (titleInput.value && imageInput.files.length > 0) {

            var bookDiv = document.createElement("div");

            bookDiv.classList.add("book");


            var bookTitle = document.createElement("h2");

            bookTitle.id = "book-title";

            bookTitle.innerHTML = titleInput.value + "<br>";


            var bookText = document.createElement("p");

            bookText.id = "book-text";

            bookText.innerHTML = "Seja feliz por favor!";


            bookDiv.appendChild(bookTitle);

            bookDiv.appendChild(bookText);


            for (var i = 0; i < imageInput.files.length; i++) {

                var bookImage = document.createElement("img");

                bookImage.classList.add("book-image");

                bookImage.src = URL.createObjectURL(imageInput.files[i]);

                bookDiv.appendChild(bookImage);

            }


            bookContainer.appendChild(bookDiv);


            titleInput.value = "";

            imageInput.value = "";

        }

    }

</script>

</pre>

</html>

----------------------------------------------------------Codigo open FILE


<html>

<meta charset="utf-8">

<pre>

<h1>Abrir file direto do pc</h1>

<input type="file" id="fileInput">


<button onclick="openFile()">Abrir arquivo</button>

<script>

function openFile() {

  // Obtém o elemento de input do arquivo

  var input = document.getElementById('fileInput');


  // Verifica se algum arquivo foi selecionado

  if (input.files && input.files[0]) {

    var file = input.files[0];

    var reader = new FileReader();


    reader.onload = function(e) {

      // Aqui você pode fazer algo com o conteúdo do arquivo

      var contents = e.target.result;

      console.log(contents);

    };


    // Lê o conteúdo do arquivo como texto

    reader.readAsText(file);

  }

}

</script>

</pre>

</html>