Jump to content
Tuts 4 You

Leaderboard

  1. lovejoy226

    lovejoy226

    Full Member+


    • Points

      35

    • Posts

      1,319


  2. jackyjask

    jackyjask

    Full Member+


    • Points

      12

    • Posts

      1,271


  3. CodeExplorer

    CodeExplorer

    Team Member


    • Points

      9

    • Posts

      4,064


  4. Kanes

    Kanes

    Junior+


    • Points

      8

    • Posts

      13


Popular Content

Showing content with the highest reputation since 03/24/2025 in all areas

  1. @LCF-AT If you want window.open() to work, you need to run the code in an unrestricted environment. The web is full of restrictions to prevent security vulnerabilities between the browser and the client because the browser itself acts as a sandbox. In this case, I don’t think there’s a conventional way to solve it, since a malicious JavaScript script using alert() could be used to compromise a machine and steal session cookies from the site where it's executed. For this and other reasons, browsers block pop-up by default. also since you're running the code inside an <iframe> there's another issue you need explicit permission to allow popups in that context To test this, you can inspect and modify the HTML on MDN Play by adding the allow-popups permission inside the <iframe>. If the browser isn’t blocking popups globally your code should work. (If not, then it's another block from the browser itself) You just reminded me of an interesting topic related to this, which is covered on this channel. They have great content: www . youtube.com/watch?v=lG7U3fuNw3A
    2 points
  2. OK thanks for that info @Kanes. So I did notice another NEW problem today. Somehow the window.open("URL") function does not work always! Why this? Somehow it happens nothing when calling that function but the console log function works inside that function. Could it be that window.open get blocked without to get any error / info about it? let url = "https://forum.tuts4you.com"; var input=document.createElement("input"); input.type="button"; input.value=url; input.onclick = () => showAlert(url); document.body.appendChild(input).style.cursor = "pointer"; function showAlert(text) { window.open(text); console.log(text); } When I try this code above on https://developer.mozilla.org/de/play then it tells me "InvalidAccessError: A parameter or an operation is not supported by the underlying object" error. In my test script it works just partial not for all websites I have test. Somehow strange. How to make it work always? The console.log(text) function inside showAlert function works always but not the window.open function. Do you know what the reason could be? greetz EDIT: By the way, I have test my script in Firefox and its not working / showing any buttons there etc as it does in Brave browser! Uhm! GREAT! Another problem I need to find out what the reason for this is.
    2 points
  3. @LCF-AT oh you are right >>> input.onclick = copyToClipboard(something); In this case copyToClipboard(something) is executed immediately, and the returned value (undefined) is what gets assigned to onclick >>> input.onclick = () => copyToClipboard(something); Here, instead, you're assigning an anonymous function, a function that doesn't run right away You're assigning the entire function to the onclick event. So, only when the user clicks, copyToClipboard(something) will be executed https://www.javascripttutorial.net/javascript-anonymous-functions/ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
    2 points
  4. @LCF-AT In that case it's because it's running inside an iframe with restrictions. It should work fine in a regular HTML page or in a browser extension with special permissions, but following your example you can do this in the playground function CopyClipBoard(text) { let tempInput = document.body.appendChild(document.createElement("input")); tempInput.value = text; tempInput.select(); document.execCommand("copy"); tempInput.remove(); } function createCopyButton(text) { let button = document.body.appendChild(document.createElement("button")); button.textContent = `Copy: ${text}`; button.onclick = () => CopyClipBoard(text); } // String example createCopyButton("String example");
    2 points
  5. @Kanes Thanks for the example. Seems to work. I see that I just had do to ONE change in my code at the "input.onclick =*" command... var something = "STRING"; var others = "STRING_2"; input.onclick = copyToClipboard; // <--- without variable to input.onclick = () => copyToClipboard(something); input.onclick = () => copyToClipboard(others); function copyToClipboard(text) { navigator.clipboard.writeText(text); } ....and then its working by just changing that one command. So could you explain that command why to write it in that style and what does it mean? So before I tried this style... input.onclick = copyToClipboard(something); // <-- not working input.onclick = () => copyToClipboard(something); // <-- working ....only different I see is that... () => ...command. Sign for function () and => so what is it meaning? Just found something about arrow functions but still don't know what it really means now. greetz
    1 point
  6. Maybe this will help you // Global function async function CopyClipBoard(text) { try { await navigator.clipboard.writeText(text); console.log("Text copied to clipboard:", text); } catch (err) { console.error("Failed to copy:", err); } } // button document.getElementById("copyBtn").addEventListener("click", () => { CopyClipBoard("This is the text copied when clicking the button!"); }); ////////////////////////////////////////////////////////////////////////////////// async function copyContent() { try { await navigator.clipboard.writeText("This is the text to be copied"); console.log("Content copied to clipboard"); } catch (err) { console.error("Failed to copy: ", err); } } // Copy when the user presses any key document.addEventListener("keydown", copyContent); // Copy when the user moves the mouse document.addEventListener("mousemove", copyContent, { once: true }); https://medium.com/front-end-weekly/how-to-listen-to-the-contents-of-the-clipboard-in-the-browser-aadb0accaa19 https://www.freecodecamp.org/news/copy-text-to-clipboard-javascript/ https://dev.to/david_bilsonn/how-to-save-a-string-to-clipboard-in-javascript-13ie
    1 point
  7. how did you do this share that video also please can you make by pass this exe
    1 point
  8. @Teddy Rogers This is getting out of hand, isn’t it?
    1 point
  9. @InvizCustos How to bypass the virtual machine protection? Regards. sean.
    1 point
  10. @14yoKID Can you please upload your video recording of bypassing this with the cheatengine to youtube? Regards. sean.
    1 point
  11. Hey, @lengyue I did not say to you. I just asked a question where the @TRISTAN Pro's tutorial is if it exists. Calm down please. Regards. sean.
    1 point
  12. Where is the @TRISTAN Pro's tutorial? Regards. sean.
    1 point
  13. 59 downloads

    This is an example program I used to shell The Enigma 7.7. You can shell it, bypass it, PatchHWID, KeyGen to make it run normally. Of course, it would be best if the shell could be peeled off.Have fun! https://workupload.com/file/EGgppWamMA6 Cracked:
    1 point
  14. I did it too. View this youtube video for the solution. Regards. sean.
    1 point
  15. @boot Help~! The addresses please. I have the exception error. Regards. sean.
    1 point
  16. For this package, I did it. Winlicense 3.1.3 Test x64.zip However, @boot I couldn't do it for this package. give me your hand please. Many thanks in advance. Regards. sean.
    1 point
  17. @boot I tried and tried to bypass this target. but I can not do it without other's help. So I really beg your help. How do I do to bypass this target? Many thanks in advance. Regards. sean.
    1 point
  18. @boot Did you unpack this target without bypassing the HWID lock? Regards. sean.
    1 point
  19. 234 downloads

    A good understanding of the Portable Executable (PE) file format leads to a good understanding of the operating system. If you know what's in your DLLs and EXEs, you'll be a more knowledgeable programmer. This article, the first of a two-part series, looks at the changes to the PE format that have occurred over the last few years, along with an overview of the format itself. After this update, the author discusses how the PE format fits into applications written for .NET, PE file sections, RVAs, the DataDirectory, and the importing of functions. An appendix includes lists of the relevant image header structures and their descriptions. Note: I have updated the archive to include the second part of this paper and have included the PE32 file used for reference.
    1 point
  20. After the leak of VMP source code it can be done now...
    1 point
  21. 854 downloads

    Beginner Olly Tutorial Part 01 - Serial fishing. Beginner Olly Tutorial Part 02 - Internal keygen and patching. Beginner Olly Tutorial Part 03 - Unpacking and patching. Beginner Olly Tutorial Part 04 - Unpacking and patching, a more complex case. Beginner Olly Tutorial Part 05 - Inline patching. Beginner Olly Tutorial Part 06 - Packers theory. Beginner Olly Tutorial Part 07 - Cracking Lost Marble's Moho v5.1 using Memory BP's. Beginner Olly Tutorial Part 08 - Breakpoints theory. Beginner Olly Tutorial Part 09 - Defeating magic byte protection. Beginner Olly Tutorial Part 10 - Anti-tampering techniques theory.
    1 point
  22. 453 downloads

    Most (if not all) of the best hackers, crackers and reverse engineers are also programmers. It is probably impossible to learn RCE well without any knowledge of programming and many of the oldest txt files on cracking would urge the student - "first go away and learn assembler, then come back and read this". This is truer now than ever before as packers and executable protectors use increasingly complex and diverse methods of preventing unpacking, debugging and rebuilding. This has led to cracking groups coding custom tools rather than just relying on debugger, disassembler and tools like ImpREC. It has also led to loaders becoming increasingly popular, a fact echoed by the excellent Cracking with Loaders series from ARTeam. These however are not so easy to understand for beginners without any prior coding knowledge. I have written this tutorial to fill the gap between the complete beginner and the advanced tutorials on loaders, tracers, etc. Similarly, whilst console based apps and tools may be functional they are far from pretty so my second aim was to illustrate how easy it is to create GUI apps in assembler. In the spirit of the assembler programming and reversing communities I have re-used and adapted code from a wide variety of sources which are remembered with full credit and gratitude where possible.
    1 point
  23. <!DOCTYPE html> <html> <body> <p>Click on the button to copy the text from the text field. Try to paste the text (e.g. ctrl+v) afterwards in a different window, to see the effect.</p> <input type="text" value="Hello World" id="myInput"> <button onclick="myFunction()">Copy text</button> <script> function myFunction() { // Get the text field var copyText = document.getElementById("myInput"); // Select the text field copyText.select(); copyText.setSelectionRange(0, 99999); // For mobile devices // Copy the text inside the text field navigator.clipboard.writeText(copyText.value); // Alert the copied text alert("Copied the text: " + copyText.value); } </script> </body> </html>
    0 points
×
×
  • Create New...