{i}`).then((value) => {
                    document.getElementById("dos-message").innerHTML += value + '<br />\r\n';
                });

                arr.push(promise);
            }

            Promise.all(arr);
        }

        const characters = 'abcdefghijklmnopqrstuvwxyz0123456789';
        function generateRandomString(length) {
            let result = '';
            const charactersLength = characters.length;
            for (let i = 0; i < length; i++) {
                result += character