Skip to content

Instantly share code, notes, and snippets.

@R4356th
R4356th / Stealing code using WebSocket Connection.md
Last active September 17, 2025 15:56
Two information disclosure vulnerabilities in Parcel
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>WebSocket Client Example</title>
</head>
<body>
  <h1>WebSocket Client</h1>
  <div id="status">Connecting...</div>
@R4356th
R4356th / head.html
Last active June 10, 2021 16:26
MediaWiki PWA Example
<link rel="manifest" href="manifest.webmanifest">
@R4356th
R4356th / redirector.js
Last active October 7, 2025 11:32
JavaScript code to enforce https on your websites
/* Copyright 2020-25 Radman Siddiki
Licensed under the MIT License (https://www.mit.edu/~amini/LICENSE.md) */
if (location.protocol === "http:") {
location.replace(location.href.replace("http:", "https:"));
}