Zum Hauptinhalt springen
LIVE
CVSS 6.5CVE-2026-111315 | The Smaily Connect plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including, 3.24.0 This is due to the smaily_get_edit_user_id() function reading an attacker-controlled $_GET['user_id'] parameter without performing any ownership or capability check, and then feeding that id into smaily_get_userdata() (which calls get_user_meta()) when rendering the WooCommerce My Account 'edit-account' form via the smaily_print_CVSS 6.4CVE-2026-137713 | Webmin through 2.670 before ae8feb1 allows XSS via an SVG attachment in a mail queue, relevant if an authenticated user uploads an SVG document and an administrator views it.CVSS 6.9CVE-2026-137678 | A security vulnerability has been detected in code-projects Online Job Portal 1.0. Affected by this issue is some unknown functionality of the file Admin/InsertUser.php. Such manipulation of the argument txtUserName/txtPassword leads to sql injection. The attack can be launched remotely. The exploit has been disclosed publicly and may be used.CVSS 5.3CVE-2026-137703 | Flask-AppBuilder before 5.3.1 contains a path traversal vulnerability in ImageManager.save_file that allows authenticated users to write image files outside IMG_UPLOAD_FOLDER via unsanitized multipart filenames. Attackers with add or edit permission on a ModelView with an ImageColumn can upload filenames containing ../ segments to create or overwrite image files like static assets.CVSS 6.1CVE-2026-130039 | The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'REQUEST_URI' parameter in all versions up to, and including, 7.9.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires comments to be open, a comment author name containinCVSS 6.1CVE-2026-136206 | The Export Products, Orders & Customers for WooCommerce plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'start_date' parameter in all versions up to, and including, 2.4.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. SucCVSS 9.4CVE-2026-137706 | Smart Portal developed by Direk Tech has a Missing Authorization vulnerability. Authenticated remote attackers can add a specified account to the Active Directory Domain Admins group, thereby obtaining domain administrator privileges.CVSS 8.7CVE-2026-137705 | Smart Portal developed by Direk Tech has an Arbitrary File Read vulnerability.Unauthenticated remote attackers can exploit Relative Path Traversal to download arbitrary system files.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

敲水杯奏音樂:用瀏覽器麥克風做互動聲音

你有沒有在樂團暖身的時候敲過水杯? 玻璃杯裝不同量的水,敲下去的聲音都不一樣。水越少,聲音越高。這個現象,其實就是物理:水量影響震動頻率。 你可能以為這種「敲什麼像什麼」的遊戲,要靠專業設備才能做出來。 其實不用。一個 HTML 檔、瀏覽器、還有你的電腦麥克風,就夠了。 這是什麼 一個免安裝的瀏覽器互動玩具。你對著麥克…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 2 Min. Lesezeit
Quelle: dev.to
Rubrik: Secure Programming

你有沒有在樂團暖身的時候敲過水杯?



玻璃杯裝不同量的水,敲下去的聲音都不一樣。水越少,聲音越高。這個現象,其實就是物理:水量影響震動頻率。



你可能以為這種「敲什麼像什麼」的遊戲,要靠專業設備才能做出來。



其實不用。一個 HTML 檔、瀏覽器、還有你的電腦麥克風,就夠了。









這是什麼



一個免安裝的瀏覽器互動玩具。你對著麥克風敲水杯,系統即時判斷聲音落在哪個音高區間,畫面跟著變色、動畫跳動,聲音馬上變成視覺。






原理:瀏覽器裡的耳朵



瀏覽器給了我們 getUserMedia 這個功能。它可以叫瀏覽器去打開你電腦或手機的麥克風,然後即時把聲音變成數字資料流。



拿到資料流之後,我們用「快速傅立葉轉換」把聲音拆開,看裡面有哪些頻率。



三個杯子,各裝不同的水量,敲下去,畫面就告訴你:這是低音、中音、還是高音。






完整範例:只要一個 HTML 檔



把以下內容存成 glass.html,用瀏覽器打開就能玩:




<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>敲水杯奏音樂</title>
<style>
body { font-family: sans-serif; text-align: center; padding: 40px; transition: background 0.3s; }
#start { padding: 12px 24px; font-size: 18px; cursor: pointer; }
#zone { font-size: 48px; font-weight: bold; margin: 30px; color: #fff; }
.hint { color: #888; margin-top: 20px; }
</style>
</head>
<body>
<h1>敲水杯奏音樂</h1>
<button id="start">開啟麥克風</button>
<div id="zone">—</div>
<p class="hint">裝不同量水的三個杯子,敲敲看</p>

<script>
const startBtn = document.getElementById('start');
const zoneEl = document.getElementById('zone');

startBtn.addEventListener('click', async () => {
const stream = await navigator.mediaDevices.getUserMedia({ audio: true });
const audioCtx = new AudioContext();
const source = audioCtx.createMediaStreamSource(stream);
const analyser = audioCtx.createAnalyser();
analyser.fftSize = 2048;
source.connect(analyser);
startBtn.disabled = true;
startBtn.textContent = '聆聽中…';
listen(analyser, audioCtx);
});

function listen(analyser, audioCtx) {
const buffer = new Uint8Array(analyser.frequencyBinCount);

function update() {
analyser.getByteFrequencyData(buffer);

let maxVal = 0;
let maxIndex = 0;
for (let i = 0; i < buffer.length; i++) {
if (buffer[i] > maxVal) {
maxVal = buffer[i];
maxIndex = i;
}
}

const freq = maxIndex * audioCtx.sampleRate / analyser.fftSize;
let zone = '靜音';
let color = '#111';

if (maxVal > 50) {
if (freq < 400) {
zone = '💧 低音';
color = '#1a1a2e';
} else if (freq < 1200) {
zone = '🌊 中音';
color = '#16213e';
} else {
zone = '✨ 高音';
color = '#0f3460';
}
}

zoneEl.textContent = zone;
document.body.style.background = color;
requestAnimationFrame(update);
}
update();
}
</script>
</body>
</html>









讓阿哲玩起來的設定



顏色回饋:低音是深藍,中音是靛藍,高音是亮白。



動畫回饋:每個音高觸動不同的幾何圖形——低音是方塊沈下去,中音是圓圈彈跳,高音是星星散開。



音符回饋:在畫面上即時標示「這個聲音接近 Do」「這個接近 Mi」。






Q&A



Q:一定要水杯嗎?

A:不用。敲桌面、敲筆筒、敲任何東西都可以。



Q:環境很吵怎麼辦?

A:靠近你要敲的物體,麥克風就只會收到那個聲音。



拿三個杯子,各裝三分之一、二分之一、滿水的量。敲一次,看看畫面告訴你什麼。那就是「你的音樂,你的水杯,你的瀏覽器」。

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Community discussion & comments

🌐 Join the main chat

Start the discussion in the Social Chat broadcast stream or submit an expert contribution via the supplement form above.

Community Rating &amp; Social Proof
⭐ Reader Rating
–
Ø / 5.0
No reader ratings yet
Was this article helpful?
0
Submit your rating
Detailed rating (optional)
Content & Quality
Source & Credibility
Freshness
Security Briefing Free · 1-Click Unsubscribe

Intelligence Digest — free

The top security news daily · unsubscribe anytime

Related story clusters & sources (vector AI)

6 Cluster
44 sources
Best Black Friday home office deals 2026 — save on our top-tested work essentials from Herman Miller, FlexiSpot, Logitech, Epson and more
Latest from TechRadar 32 min. ago
43 more sources
Latest from TechRadar30 min. agoSony WH-1000XM6 just hit a record-low price — now it's Black Friday Latest from TechRadar26 min. agoLenovo's Copilot+ IdeaPad Slim 3 with 16GB RAM and a 512GB SSD is £350 off for Black Friday The Verge21 min. agoOur favorite headphones and earbuds are cheaper than ever ahead of Black Friday Computer Bild35 min. agoBlack Friday: Live-Show ab 16 Uhr – die besten Deals t3n.de35 min. agoBlack Friday: Alle guten Angebote zu Apple, Samsung, Fritz und Co. in der Übersicht Golem.de27 min. agoAnzeige: Google Pixel 10a am Black Friday bei Amazon erstmals unter 380 Euro COMPUTER BILD1 hour agoCOMPUTER BILD: Die Deal-Checker! BLACK FRIDAY 2026 WIRED46 min. agoThe Best Black Friday Streaming Deals (2026): Apple TV, Disney, Paramount, and More GamingOnLinux Latest Articl…53 min. agoitch.io Creator Day & Black Friday 2026 sale is live Latest from TechRadar1 hour agoBest Black Friday MacBook Air deals: biggest discounts on Apple's thin and light laptop range Latest from TechRadar51 min. agoProton VPN vs ExpressVPN – which secure VPN should you pick this Black Friday? WIRED9 hours agoThe 108 Best Black Friday Deals Are Now Live: Our Expert Picks for 2026 WIRED57 min. ago20 Best Black Friday Tech Deals (2026) WIRED55 min. agoThe 10 Best Black Friday TV Deals (2026): Save Up to 53% Off Giga.de47 min. agoBlack Friday 2026 bei Back Market: Dyson, Ninja und GoPro jetzt deutlich günstiger Cyber Security News1 hour agoBlack Friday or Black Fraud Day? 7 Cyber Traps to Watch Out for Before You Click ‘Buy’ CNET2 days agoLive: Black Friday Is Here. Shop Our Favorite Deals and Save Up to 60% Apple, Anker, Bose and More WIRED1 hour ago22 Best Black Friday Deals Under $100 (2026) WIRED1 hour agoBest Black Friday Phone Deals (2026): iPhone, Pixel, and More The Verge1 hour agoThe absolute best Black Friday deals we’ve found (so far) Giga.de1 hour agoAirPods Pro 3 im Black-Friday-Sturzflug: So günstig waren Apples Top-In-Ears noch nie PC-WELT1 hour agoBlack Friday bei Amazon Haul: 20 Prozent Rabatt auf Powerbanks, Batterieprüfer, Speichersticks und mehr PC-WELT1 hour agoBlack Friday bei Amazon Haul: 20 Prozent Rabatt auf Powerbanks, Batterieprüfer, Speichersticks und mehr t3n.de1 hour agoKindle, Echo Dot, Fire TV: Diese neuen Amazon-Geräte sind zum Black Friday stark reduziert Macerkopf.de2 hours agoAmazon Black Friday Woche: iPad Air, iPhone 18 Cases, AirTag 2, Fire TV Sticks, Echo Dot und mehr appgefahren.de1 hour agoJMGO mit Black Friday-Deals: Heimkino-Bundles bis zu 60 Prozent günstiger PC-WELT1 hour agoGoogle Pixel 11 jetzt unglaubliche 430 Euro günstiger im Black-Friday-Deal: Tiefstpreis bei Amazon PC-WELT1 hour agoNorton 360 Premium-Security an Black Friday nur 19,99 Euro statt 100 Euro Latest from TechRadar1 hour agoThe best Black Friday headphone deals: Sony, AirPods and more Latest from TechRadar1 hour agoBest Black Friday mini PC deals 2026 live: Save on desktops from Apple, Geekom, GMKtec, Minisforum, and more Golem.de1 hour agoAnzeige: Amazon startet mit Glücksrad-Gewinnspiel in den Black Friday Latest from TechRadar1 hour agoThese smart and polished backpacks have accompanied me to events all over the world — and they're now 30% for Black Friday PC-WELT1 hour agoRiesiger 75 Zoll 4K-QLED-Fernseher fällt bei Amazon auf nur 469 Eur im Black-Friday-Angebot PC-WELT1 hour agoBlack Friday: Beliebte Mähroboter von Mammotion jetzt ab 599 Euro Latest from TechRadar2 hours agoSave up to around £200 on these top mini PCs for Black Friday — with multiple options and configurations available for your exact needs or preferences Caschys Blog3 hours agoFlexiSpot Black Friday 2026: Bis zu 40 % Rabatt auf Bestseller bei Amazon Golem.de2 hours agoBlack Friday: Verdi mobilisiert bei Amazon in Gera nur wenige PC-WELT2 hours agoNotebooksbilliger Black Friday: 150 Euro Extra-Rabatt – Laptops unter 300 Euro appgefahren.de2 hours agotink.de bietet bis zu 50 Euro Extra-Rabatt auf Black-Friday-Angebote PC-WELT2 hours agoNotebooksbilliger Black Friday: 150 Euro Extra-Rabatt – Laptops unter 300 Euro Latest from TechRadar2 hours agoWhich all-in-one Black Friday VPN bundle is really worth it? I compared NordVPN Prime, ExpressVPN Pro, and Proton Unlimited — all under $7 a month — to decide PC-WELT2 hours agoAmazon verlost an Black Friday Einkaufsgutscheine im Wert von 2.000 Euro PC-WELT2 hours agoAmazon verlost an Black Friday Einkaufsgutscheine im Wert von 2.000 Euro
22 sources
CVE-2026-95457 | Google Android Camera reconnect.shard.cml privileges management
VulDB Updates 57 min. ago
21 more sources
VulDB Updates57 min. agoCVE-2026-95458 | Google Android Bluetooth Setup bluetooth_setup_impl.cc OnAudioSourceConnectChanged privileges management VulDB Updates57 min. agoCVE-2026-95464 | Google Android logical_link.cc SignalError use after free VulDB Updates57 min. agoCVE-2026-95456 | Google Android a2dp_offload_manager.cc StartA2dpOffload use after free VulDB Updates57 min. agoCVE-2026-95463 | Google Android data_element.cc DataElement::Read recursion Engadget1 hour agoGoogle will soon share Android developers' addresses publicly VulDB Updates1 hour agoCVE-2026-95429 | Google Android BrEdrDynamicChannel bredr_dynamic_channel.cc resource consumption VulDB Updates1 hour agoCVE-2026-95434 | Google Android LowEnergyScanner low_energy_scanner.cc NotifyPeerFound resource consumption VulDB Updates1 hour agoCVE-2026-95441 | Google Android Bluetooth connection.cc OnDisconnectionComplete denial of service VulDB Updates1 hour agoCVE-2026-95422 | Google Android periodic_advertising_synchronizer.cc OnSyncEstablished assertion VulDB Updates1 hour agoCVE-2026-95423 | Google Android local_service_manager.cc OnWriteCCC null pointer dereference VulDB Updates1 hour agoCVE-2026-95447 | Google Android SDP Client client.cc OnRxFrame memory corruption VulDB Updates1 hour agoCVE-2026-95421 | Google Android Command Processing bredr_signaling_channel.cc DecodeRxUnit use after free VulDB Updates1 hour agoCVE-2026-95435 | Google Android advertising_data.cc FromBytes out-of-bounds VulDB Updates1 hour agoCVE-2026-95446 | Google Android credit_based_flow_control_rx_engine.cc ProcessPdu input validation VulDB Updates2 hours agoCVE-2026-95420 | Google Android Pairing security_manager.cc OnEncryptionChange privileges management VulDB Updates2 hours agoCVE-2026-95419 | Google Android Bluetooth Security Manager security_manager.cc OnPairingRequest unusual condition VulDB Updates2 hours agoCVE-2026-95416 | Google Android Link Encryption Key security_manager.cc OnPairingFailed denial of service VulDB Updates2 hours agoCVE-2026-95415 | Google Android RemoteCharacteristic remote_characteristic.cc denial of service VulDB Updates2 hours agoCVE-2026-95417 | Google Android remote_characteristic.cc ResolvePendingNotifyRequests use after free VulDB Updates2 hours agoCVE-2026-95414 | Google Android http_file_request_handler.cc GetFilePath path traversal VulDB Updates2 hours agoCVE-2026-95418 | Google Android logical_link.cc LogicalLink::SignalError use after free
Similar posts
🔍 Verwandte News

Auch interessante Nachrichten 敲水杯奏音樂:用瀏覽器麥克風做互動聲音

Thematisch verwandte Begriffe: 敲水杯奏音樂用瀏覽器麥克風做互動聲音 · 6 Treffer

Laden...

Loading posts ...

Laden...

Loading videos ...

💬 Loading comments…
Pull to refresh
Widgets & Topics
Loading widgets…
Nächster Beitrag