Compare commits
38
Commits
v1.0
..
608e225833
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
608e225833 | ||
|
|
4fea9dbccc | ||
|
|
4377cc6a45 | ||
|
|
e5435d124e | ||
|
|
757f1775ff | ||
|
|
dc17c77c87 | ||
|
|
b504218205 | ||
|
|
776a52c3c3 | ||
|
|
3f03b2a0f3 | ||
|
|
b32cae15b2 | ||
|
|
784b60a4e7 | ||
|
|
53fe4e9ed3 | ||
|
|
b010b7ac71 | ||
|
|
0994e78843 | ||
|
|
1a61eb2034 | ||
|
|
29ee569bfe | ||
|
|
3425139b1f | ||
|
|
ee6a75de9a | ||
|
|
b58c78a3fe | ||
|
|
79ad72ff11 | ||
|
|
e6cbe71c5b | ||
|
|
9e86c1a1cf | ||
|
|
60a2343bc8 | ||
|
|
f67fbef18e | ||
|
|
e909a9ba94 | ||
|
|
b522288c96 | ||
|
|
cde93f511a | ||
|
|
8aaef29ad4 | ||
|
|
9fec5e39b4 | ||
|
|
657f515135 | ||
|
|
036c985592 | ||
|
|
8b28c70d15 | ||
|
|
b7ee3498da | ||
|
|
6e0d004880 | ||
|
|
ed26939af4 | ||
|
|
58a15ff9d0 | ||
|
|
7d5b95fb18 | ||
|
|
0abfd658b7 |
No files matched your search
+3
-2
@@ -1,4 +1,5 @@
|
||||
webhook.txt
|
||||
tag.txt
|
||||
*/webhook.txt
|
||||
*/tag.txt
|
||||
*.tmp
|
||||
*.csv
|
||||
*.sha256
|
||||
@@ -39,6 +39,7 @@ script=/tmp/install_script.sh && curl -s https://git.thecoven.info/PrincessPi/ge
|
||||
* `large_file_search_for_hash`
|
||||
* `randomtoken`
|
||||
* `alfa_install_kali.sh`
|
||||
* `torsilly.sh`
|
||||
|
||||
#### monitoring
|
||||
* `mon-watch`
|
||||
@@ -98,7 +99,7 @@ script=/tmp/install_script.sh && curl -s https://git.thecoven.info/PrincessPi/ge
|
||||
|
||||
### Clean up Windows!
|
||||
```powershell
|
||||
iwr https://git.thecoven.info/PrincessPi/general-scripts-and-system-ssssssetup/raw/branch/main/Windows-Scripts/windows-repair.ps1?nocache=$(Get-Random) -OutFile $env:TEMP\windows-repair-temp.ps1; powershell -NoProfile -ep Bypass -File $env:TEMP\windows-repair-temp.ps1
|
||||
iwr https://git.thecoven.info/PrincessPi/general-scripts-and-system-ssssssetup/raw/branch/main/Windows-Scripts/windows-repair.ps1?nocache=$(Get-Random) -OutFile $env:TEMP\windows-repair-temp.ps1; powershell -nop -ep Bypass -File $env:TEMP\windows-repair-temp.ps1
|
||||
```
|
||||
|
||||
todo:
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
default_files_name="`printf '%s\n' \"${PWD##*/}\"`_checksums_`date +%Y-%m-%d-%H%M-%Z`.sha256" # add da timedate stamp to it
|
||||
|
||||
echo $default_files_name
|
||||
|
||||
exit 0
|
||||
find $PWD -type f -exec sha256sum {} | tee -a files.sha256
|
||||
@@ -0,0 +1,178 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>File to Base64 Converter</title>
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
}
|
||||
body {
|
||||
background-color: #f4f6f8;
|
||||
color: #333;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
padding: 20px;
|
||||
}
|
||||
.container {
|
||||
background: #ffffff;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
||||
padding: 30px;
|
||||
width: 100%;
|
||||
max-width: 650px;
|
||||
}
|
||||
h2 {
|
||||
margin-bottom: 20px;
|
||||
font-size: 1.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
.drop-zone {
|
||||
border: 2px dashed #0066ff;
|
||||
border-radius: 8px;
|
||||
padding: 30px;
|
||||
text-align: center;
|
||||
background-color: #f0f7ff;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s ease, border-color 0.2s ease;
|
||||
}
|
||||
.drop-zone:hover, .drop-zone.dragover {
|
||||
background-color: #e1effe;
|
||||
border-color: #0052cc;
|
||||
}
|
||||
.drop-zone p {
|
||||
color: #555;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
.drop-zone input[type="file"] {
|
||||
display: none;
|
||||
}
|
||||
.output-group {
|
||||
margin-top: 25px;
|
||||
display: none;
|
||||
}
|
||||
.output-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
label {
|
||||
font-weight: 600;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
button {
|
||||
background-color: #0066ff;
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 6px 12px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
font-size: 0.85rem;
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
button:hover {
|
||||
background-color: #0052cc;
|
||||
}
|
||||
textarea {
|
||||
width: 100%;
|
||||
height: 180px;
|
||||
padding: 12px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 6px;
|
||||
font-family: monospace;
|
||||
font-size: 0.85rem;
|
||||
resize: vertical;
|
||||
background-color: #fafafa;
|
||||
word-break: break-all;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<h2>File to Base64 Converter</h2>
|
||||
|
||||
<div class="drop-zone" id="dropZone">
|
||||
<p><strong>Click to browse</strong> or drag & drop a file here</p>
|
||||
<input type="file" id="fileInput">
|
||||
</div>
|
||||
|
||||
<div class="output-group" id="outputGroup">
|
||||
<div class="output-header">
|
||||
<label for="base64Output">Base64 Data URL String:</label>
|
||||
<button id="copyBtn">Copy String</button>
|
||||
</div>
|
||||
<textarea id="base64Output" readonly></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const dropZone = document.getElementById('dropZone');
|
||||
const fileInput = document.getElementById('fileInput');
|
||||
const outputGroup = document.getElementById('outputGroup');
|
||||
const base64Output = document.getElementById('base64Output');
|
||||
const copyBtn = document.getElementById('copyBtn');
|
||||
|
||||
// Trigger file dialog on click
|
||||
dropZone.addEventListener('click', () => fileInput.click());
|
||||
|
||||
// File input change handler
|
||||
fileInput.addEventListener('change', (e) => {
|
||||
if (e.target.files.length > 0) {
|
||||
processFile(e.target.files[0]);
|
||||
}
|
||||
});
|
||||
|
||||
// Drag & Drop event handlers
|
||||
dropZone.addEventListener('dragover', (e) => {
|
||||
e.preventDefault();
|
||||
dropZone.classList.add('dragover');
|
||||
});
|
||||
|
||||
['dragleave', 'dragend'].forEach(type => {
|
||||
dropZone.addEventListener(type, () => dropZone.classList.remove('dragover'));
|
||||
});
|
||||
|
||||
dropZone.addEventListener('drop', (e) => {
|
||||
e.preventDefault();
|
||||
dropZone.classList.remove('dragover');
|
||||
if (e.dataTransfer.files.length > 0) {
|
||||
processFile(e.dataTransfer.files[0]);
|
||||
}
|
||||
});
|
||||
|
||||
// Read file as Data URL
|
||||
function processFile(file) {
|
||||
const reader = new FileReader();
|
||||
reader.onload = () => {
|
||||
base64Output.value = reader.result;
|
||||
outputGroup.style.display = 'block';
|
||||
};
|
||||
reader.onerror = (error) => {
|
||||
alert('Error reading file: ' + error);
|
||||
};
|
||||
reader.readAsDataURL(file);
|
||||
}
|
||||
|
||||
// Copy to clipboard
|
||||
copyBtn.addEventListener('click', () => {
|
||||
base64Output.select();
|
||||
navigator.clipboard.writeText(base64Output.value)
|
||||
.then(() => {
|
||||
const originalText = copyBtn.innerText;
|
||||
copyBtn.innerText = 'Copied!';
|
||||
setTimeout(() => copyBtn.innerText = originalText, 2000);
|
||||
})
|
||||
.catch(err => alert('Failed to copy text: ' + err));
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,261 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta value="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>FT4232H PINOUT SOLVER</title>
|
||||
<style>
|
||||
td, th {
|
||||
border: 1px dotted black;
|
||||
text-align: center;
|
||||
padding: 5px;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
div.outmember {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>FT4232H Pinout Solver</h1>
|
||||
<p><label for="proto">Select Protocol</label></p>
|
||||
<select id="proto">
|
||||
<option value="null" selected>Select Protocol</option>
|
||||
<option value="uart">UART / Serial / RS232/422/485</option>
|
||||
<option value="spi">SPI</option>
|
||||
<option value="i2c">I2C</option>
|
||||
<option value="jtag">JTAG</option>
|
||||
<option value="bitbang">Bit-Bang</option>
|
||||
<option value="commonpins">Common Pins</option>
|
||||
<option value="config">Config Options / More Info</option>
|
||||
</select>
|
||||
<div id="out">
|
||||
<div id="uart" class="outmember">
|
||||
<h1>UART / Serial / RS232/422/485</h1>
|
||||
For Channels Available: <b>A</b>, <b>B</b>, <b>C</b>, and <b>D</b><br>
|
||||
Max Supported Baud: <b>12 mbaud</b> / <b>12,000,000 baud</b><br><br>
|
||||
<b>UART</b> Channel <b>A</b>:
|
||||
<table>
|
||||
<tr><th>Channel</th> <th>Pin Name</th> <th>Pin No</th> <th>Use</th></tr>
|
||||
<tr><td>A</td> <td>ADBUS 0</td> <td>16</td> <td>TXD / TX / Transmit</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 1</td> <td>17</td> <td>RXD / RX / Receive</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 2</td> <td>18</td> <td>RTS# / RTS / Request To Send</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 3</td> <td>19</td> <td>CTS# / CTS / Clear To Send</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 4</td> <td>21</td> <td>DTR# / DTR / Data Terminal Ready</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 5</td> <td>22</td> <td>DTR# / DTR / Data Set Ready</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 6</td> <td>23</td> <td>DCD# / DCD / Data Carrier Detect</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 7</td> <td>24</td> <td>RI# / Ring Indicator / TXDEN</td></tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<b>UART</b> Channel <b>B</b>:
|
||||
<table>
|
||||
<tr><th>Channel</th> <th>Pin Name</th> <th>Pin No</th> <th>Use</th></tr>
|
||||
<tr><td>B</td> <td>BDBUS 0</td> <td>26</td> <td>TXD / TX / Transmit</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 1</td> <td>27</td> <td>RXD / RX / Receive</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 2</td> <td>28</td> <td>RTS# / RTS / Request To Send</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 3</td> <td>29</td> <td>CTS# / CTS / Clear To Send</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 4</td> <td>30</td> <td>DTR# / DTR / Data Terminal Ready</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 5</td> <td>32</td> <td>DTR# / DTR / Data Set Ready</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 6</td> <td>33</td> <td>DCD# / DCD / Data Carrier Detect</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 7</td> <td>34</td> <td>RI# / Ring Indicator / TXDEN</td></tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<b>UART</b> Channel <b>C</b>:
|
||||
<table>
|
||||
<tr><th>Channel</th> <th>Pin Name</th> <th>Pin No</th> <th>Use</th></tr>
|
||||
<tr><td>C</td> <td>CDBUS 0</td> <td>38</td> <td>TXD / TX / Transmit</td></tr>
|
||||
<tr><td>C</td> <td>CDBUS 1</td> <td>39</td> <td>RXD / RX / Receive</td></tr>
|
||||
<tr><td>C</td> <td>CDBUS 2</td> <td>40</td> <td>RTS# / RTS / Request To Send</td></tr>
|
||||
<tr><td>C</td> <td>CDBUS 3</td> <td>41</td> <td>CTS# / CTS / Clear To Send</td></tr>
|
||||
<tr><td>C</td> <td>CDBUS 4</td> <td>43</td> <td>DTR# / DTR / Data Terminal Ready</td></tr>
|
||||
<tr><td>C</td> <td>CDBUS 5</td> <td>44</td> <td>DTR# / DTR / Data Set Ready</td></tr>
|
||||
<tr><td>C</td> <td>CDBUS 6</td> <td>45</td> <td>DCD# / DCD / Data Carrier Detect</td></tr>
|
||||
<tr><td>C</td> <td>CDBUS 7</td> <td>46</td> <td>RI# / Ring Indicator / TXDEN</td></tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<b>UART</b> Channel <b>D</b>:
|
||||
<table>
|
||||
<tr><th>Channel</th> <th>Pin Name</th> <th>Pin No</th> <th>Use</th></tr>
|
||||
<tr><td>D</td> <td>DDBUS 0</td> <td>48</td> <td>TXD / TX / Transmit</td></tr>
|
||||
<tr><td>D</td> <td>DDBUS 1</td> <td>52</td> <td>RXD / RX / Receive</td></tr>
|
||||
<tr><td>D</td> <td>DDBUS 2</td> <td>53</td> <td>RTS# / RTS / Request To Send</td></tr>
|
||||
<tr><td>D</td> <td>DDBUS 3</td> <td>54</td> <td>CTS# / CTS / Clear To Send</td></tr>
|
||||
<tr><td>D</td> <td>DDBUS 4</td> <td>55</td> <td>DTR# / DTR / Data Terminal Ready</td></tr>
|
||||
<tr><td>D</td> <td>DDBUS 5</td> <td>57</td> <td>DTR# / DTR / Data Set Ready</td></tr>
|
||||
<tr><td>D</td> <td>DDBUS 6</td> <td>58</td> <td>DCD# / DCD / Data Carrier Detect</td></tr>
|
||||
<tr><td>D</td> <td>DDBUS 7</td> <td>56</td> <td>RI# / Ring Indicator / TXDEN</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="spi" class="outmember">
|
||||
<h1>SPI / Serial Peripheral Interface</h1>
|
||||
Two Channels Available: <b>A</b> and <b>B</b><br><br>
|
||||
|
||||
<b>SPI</b> Channel <b>A</b>:
|
||||
<table>
|
||||
<tr><th>Channel</th> <th>Pin Name</th> <th>Pin No</th> <th>Use</th></tr>
|
||||
<tr><td>A</td> <td>ADBUS 0</td> <td>12</td> <td>SK / SCLK / TCK / CLK / Serial Clock<td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 1</td> <td>13</td> <td>DO / MISO / Serial Data Output</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 2</td> <td>14</td> <td>DI / MOSI / Serial Data Input</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 3</td> <td>15</td> <td>CS / SS / TMS / Chip Select</td></tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<b>SPI</b> Channel <b>B</b>:
|
||||
<table>
|
||||
<tr><th>Channel</th> <th>Pin Name</th> <th>Pin No</th> <th>Use</th></tr>
|
||||
<tr><td>B</td> <td>BDBUS 0</td> <td>22</td> <td>SK / SCLK / TCK / CLK / Serial Clock</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 1</td> <td>23</td> <td>DO / MISO / Serial Data Output</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 2</td> <td>24</td> <td>DI / MOSI / Serial Data Input</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 3</td> <td>25</td> <td>CS / SS / TMS / Chip Select</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="i2c" class="outmember">
|
||||
<h1>I2C</h1>
|
||||
Two Channels Available: <b>A</b> and <b>B</b><br><br>
|
||||
|
||||
<b>I2C</b> Channel <b>A</b>:
|
||||
<table>
|
||||
<tr><th>Channel</th> <th>Pin Name</th> <th>Pin No</th> <th>Use</th></tr>
|
||||
<tr><td>A</td> <td>ADBUS 0</td> <td>12</td></td> <td>SK / SCLK / TCK / CLK / Serial Clock</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 1</td> <td>13</td> <td>DO / MISO / Serial Data Output</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 2</td> <td>14</td> <td>DI / MOSI / Serial Data Input</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 3</td> <td>15</td> <td>CS / SS / TMS / Chip Select</td></tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<b>I2C</b> Channel <b>B</b>:
|
||||
<table>
|
||||
<tr><th>Channel</th> <th>Pin Name</th> <th>Pin No</th> <th>Use</th></tr>
|
||||
<tr><td>B</td> <td>BDBUS 0</td> <td>22</td> <td>SK / SCLK / TCK / CLK / Serial Clock</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 1</td> <td>23</td> <td>DO / MISO / Serial Data Output</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 2</td> <td>24</td> <td>DI / MOSI / Serial Data Input</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 3</td> <td>25</td> <td>CS / SS / TMS / Chip Select</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="jtag" class="outmember">
|
||||
<h1>JTAG</h1>
|
||||
Two Channels Available: <b>A</b> and <b>B</b><br><br>
|
||||
|
||||
<b>JTAG</b> Channel <b>A</b>:
|
||||
<table>
|
||||
<tr><th>Channel</th> <th>Pin Name</th> <th>Pin No</th> <th>Use</th></tr>
|
||||
<tr><td>A</td> <td>ADBUS 0</td> <td>12</td> <td>TCK / CLK / Test Interface Clock</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 1</td> <td>13</td> <td>TDI / DO / Test Data Input</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 2</td> <td>14</td> <td>TDO / DI / Test Data Output</td></tr>
|
||||
<tr><td>A</td> <td>ADBUS 3</td> <td>15</td> <td>TMS / CS / Test Mode Select</td></tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<b>JTAG</b> Channel <b>B</b>:
|
||||
<table>
|
||||
<tr><th>Channel</th> <th>Pin Name</th> <th>Pin No</th> <th>Use</th></tr>
|
||||
<tr><td>B</td> <td>BDBUS 0</td> <td>22</td> <td>TCK / CLK / Test Interface Clock</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 1</td> <td>23</td> <td>TDI / DO / Test Data Input</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 2</td> <td>24</td> <td>TDO / DI / Test Data Output</td></tr>
|
||||
<tr><td>B</td> <td>BDBUS 3</td> <td>25</td> <td>TMS / CS / Test Mode Select</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="bitbang" class="outmember">
|
||||
<h1>Bit-Bang Interface</h1>
|
||||
Two Channels Available: <b>C</b> and <b>D</b><br><br>
|
||||
|
||||
<b>Big-Bang</b> Channel <b>C</b>:
|
||||
<table>
|
||||
<tr><th>Channel</th> <th>Pin Name</th> <th>Pin No</th> <th>Use</th></tr>
|
||||
<tr><td>C</td> <td>CDBUS 0</td> <td>38</td> <td>D0</td></tr>
|
||||
<tr><td>C</td> <td>CDBUS 1</td> <td>39</td> <td>D1</td></tr>
|
||||
<tr><td>C</td> <td>CDBUS 2</td> <td>40</td> <td>D2</td></tr>
|
||||
<tr><td>C</td> <td>CDBUS 3</td> <td>41</td> <td>D3</td></tr>
|
||||
<tr><td>C</td> <td>CDBUS 4</td> <td>43</td> <td>D4</td></tr>
|
||||
<tr><td>C</td> <td>CDBUS 5</td> <td>44</td> <td>D5</td></tr>
|
||||
<tr><td>C</td> <td>CDBUS 6</td> <td>45</td> <td>D6</td></tr>
|
||||
<tr><td>C</td> <td>CDBUS 7</td> <td>47</td> <td>D7</td></tr>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<b>Big-Bang</b> Channel <b>D</b>:
|
||||
<table>
|
||||
<tr><th>Channel</th> <th>Pin Name</th> <th>Pin No</th> <th>Use</th></tr>
|
||||
<tr><td>D</td> <td>DDBUS 0</td> <td>48</td> <td>D0</td></tr>
|
||||
<tr><td>D</td> <td>DDBUS 1</td> <td>52</td> <td>D1</td></tr>
|
||||
<tr><td>D</td> <td>DDBUS 2</td> <td>53</td> <td>D2</td></tr>
|
||||
<tr><td>D</td> <td>DDBUS 3</td> <td>54</td> <td>D3</td></tr>
|
||||
<tr><td>D</td> <td>DDBUS 4</td> <td>55</td> <td>D4</td></tr>
|
||||
<tr><td>D</td> <td>DDBUS 5</td> <td>57</td> <td>D5</td></tr>
|
||||
<tr><td>D</td> <td>DDBUS 6</td> <td>58</td> <td>D6</td></tr>
|
||||
<tr><td>D</td> <td>DDBUS 7</td> <td>59</td> <td>D7</td></tr>
|
||||
</table>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<div id="commonpins" class="outmember">
|
||||
<h1>Common Pins</h1>
|
||||
<table>
|
||||
<tr><th>Pin Name</th> <th>Pin No</th> <th>Use</th></tr>
|
||||
<tr><td>GND </td> <td>1,5,11,15,25,35,47,51</td> <td>GND / Ground</td></tr>
|
||||
<tr><td>OSCI</td> <td>2</td> <td>Oscillator Input</td></tr>
|
||||
<tr><td>OSCO</td> <td>3</td> <td>Oscillator Output</td></tr>
|
||||
<tr><td>REF</td> <td>6</td> <td>Current Reference Input - connect via 12Ko resistor @1% to GND</td></tr>
|
||||
<tr><td>RESET#</td> <td>14</td> <td>Reset Input (Active Low)</td></tr>
|
||||
</table>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
<div id="config" class="outmember">
|
||||
<h1>Config Options / More Info</h1>
|
||||
|
||||
<b>Links:</b>
|
||||
<ul>
|
||||
<li><a href="data:application/pdf;base64,JVBERi0xLjcNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFuZyhlbikgL1N0cnVjdFRyZWVSb290IDQzMyAwIFIvT3V0bGluZXMgMzcyIDAgUi9NYXJrSW5mbzw8L01hcmtlZCB0cnVlPj4vTWV0YWRhdGEgNjEzNCAwIFIvVmlld2VyUHJlZmVyZW5jZXMgNjEzNSAwIFI+Pg0KZW5kb2JqDQoyID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wcq7YBWUnOUGKyyhVek3MEAqgVJINUVdaZKR+vZn7QRYmTZt83f0e7j8w6ji6FfO0IxAcpT5jlKhpec8qk1WKAon5qy5k9Tl6S4aXjP8mlyR9MzX2BkhD4CyisKC3zCbHOYI+QJgyHKlyVXXdqEAjwq56KTH2wPrgEVXj7foijqp6x0XHfOFFQOsOidcg6JlLLyGqInNDdQzzeyVLw7Ia61FGii3eiXib1pTayXZlbyQ5KkFJgh+Kd5IOSChaRb7vPmo7e3Da/yabW5iG7AFZe+vpBV7N+58Aa49fVAVGzihe3ZVpgmvfV29WSpHoTUnIzAkWOupQ5FaURbG+WWLC51HsXW1vv5CrHMRrdZLw+rXs2tkv9cdCYCMTVLZH4aVya8Y/8rcMev7zmWO2oNnjEMWpy/SE4CTZVWS7qo+sADhGh8nc8I1Du25uzIMqMwcHnJodHvIy+xbHnK42/aQT0XjUGLine truncated
|
||||
<li><a href="https://ftdichip.com/products/ft4232hl/">FT4232H Product Page (online)</a></li>
|
||||
<li><a href="data:message/rfc822;base64,RnJvbTogPFNhdmVkIGJ5IEJsaW5rPg0KU25hcHNob3QtQ29udGVudC1Mb2NhdGlvbjogaHR0cHM6Ly9mdGRpY2hpcC5jb20vcHJvZHVjdHMvZnQ0MjMyaGwvDQpTdWJqZWN0OiBGVDQyMzJITCAtIEZUREkNCkRhdGU6IEZyaSwgMTcgSnVsIDIwMjYgMTc6NDE6MDMgLTA2MDANCk1JTUUtVmVyc2lvbjogMS4wDQpDb250ZW50LVR5cGU6IG11bHRpcGFydC9yZWxhdGVkOw0KCXR5cGU9InRleHQvaHRtbCI7DQoJYm91bmRhcnk9Ii0tLS1NdWx0aXBhcnRCb3VuZGFyeS0tTndheHdSb1J2aFl5aEloZ2llWTJEOTF4c0cyZ1hqaWNDOWxPeGkyMjJtLS0tLSINCg0KDQotLS0tLS1NdWx0aXBhcnRCb3VuZGFyeS0tTndheHdSb1J2aFl5aEloZ2llWTJEOTF4c0cyZ1hqaWNDOWxPeGkyMjJtL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ov0RR6c1UMCv21t57BiMlf8BZVNgdBjlGnDszcDMmpVPPqezj5BEz1OaA6ZgL7vmX/r2R+xevLine truncated
|
||||
<li><a href="data:application/x-zip-compressed;base64,UEsDBBQAAAAIAKh2Y1p+5WnVXvQjAADOJAAUAAAAQ0RNMjEyMzYyMF9TZXR1cC5leGXsvQt8k0XWPz5p0jbQQqK2WrVIwKjFFqy0aDGgKb2CBVLTJkXKpdBCGktb2icUXMBiEm14rMu76i7u+rq66C67uq6uiHjDliK3dZU7KF7Qdd2UgIAiFLnkf87MPLmnFPD9/97/5/+b3ek8c+bMzHfOzJxzZp4nOPH+FUROCFFA9HoJWUdY0JMLh2MQBw5+eyBZ0++fQ9bJSv45pMxS26xpbGqY21Q1TzO7qr6+QdDMqtE02eo1tfWa/MlGzbyG6poRAwb01/I2NDcmT6oe94tBUnzrvTcGzaHpS4NqaPrqoFpa9uCgWEh3fPZbSt/x2e8GWSCtVT9H89XjDnP6izS9r3a2BdsLxWwoIKREFktePFk6U6IdJDGyBFkiIdMho5Ax4lyIaoiNmNGz5xhCYgkrl1KyQkaFt+3lm6BY76SMyOtLfQkNLy8l5DF8OEbIFpef3vqClrQOwwcZUcSRiw+NhKyURS8eIdQsFCC9u5IwQHSswTwaQmaOaKquEqoIqbuGsLGnQJwVzKeH/49gbGR1BfxZAfFKiA+G8XWMaGpumk34WI9BXE64AIL49COaauoagJGOHWRAlJBeHTwg4BtH/m/4WYNRrNQmmkRBm2hWvXm+8zu184BNmdWh7/4BCsvFOm2q84jK8QVk3joO6uHtV5MJ0R1SjduTfsj+k1r12EooEbd1dise6Dwm365aK5f3qNbmyeSnaBrDUzlPFTyN5WkcT+N5quRpP57252kCTxN5OoCnA3mqkp+yd6nlPfJT41XOFq/XS8E6dwpq1doE+ek8+akJth8pLWunuPnUcXGT+FPWTki/h9E5b4EKnd+qE06Jm6bNmD61SyzTKp07bfKsji6xRKswoniSTu14B6oT+3ml6uFV8GAWz3celavWxti/U2Z1dnYrb+zKSnS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vTvAYwR13l4mGxIMWaCtYQSRpxO5rSncL1yycqxYIk+1DSNkG9fGJi24QrxIlq14Qk17gUccM0aozAjGbjDVK2SUxAd8yWLZaj6UkUJ+Lkqc3iEg242/3SPxoP1BRPP7EgI30Td8cz+M6gqx5cUX9Wa/8pqTkdGldD20mqtXJx266DExN67BuUeVDUdMSF+6dOO8aFLJVaPdWbYElu3Nye2KlaK4POMlVrx8t2HU3fAXZ9JJRlLgdtBhja4goplu5lMqYdduDaZl0j242b5bkKzzpQLV+DWknfDmcjun0/hkoZyAD9ZcinKGATH4XuM7B7+0+q5gzAg1iSqJoAvPdSvAVQ1nQYGJOQ0VVHhzSGagFw927c7ElBDL+OgCF8JIBpJ6o6WAG67c23RpQPLo883famQ0EiYmOAwVRC4x/L71VQMLihUXllDMMJ2bTrqDgxLb0Te8T9o+tsGiR+lI47SdYWtzxXZu+MaSuU2TfF2Ou0GTEevPLITN8k7xQnZqSjdcyEU0fGgquH4czuxzqFuffaTtHpmZgGUDLSP1quuB3IE4GKQuBbcNlp9D+a+tl7+qvsMXhmuVcBDS7RiBs63XI4Mo3bQi1wZ+dBOQwBasBxq5xuPfRvO6l/m9XhSpjhsmXzvbpaI/SH440enQVPHjQoboCRJNH2oGXrOdZokr/RFKnRJH+jFZ6/YCPnvBRTcBM+VHIk8kbU0IQLOLekJLine truncated
|
||||
<li><a href="https://www.aliexpress.us/item/3256811407141285.html">Buy FT4232H USB-C Breakout on AliExpress (Remote)</a></li>
|
||||
<li><a href="https://www.aliexpress.us/item/3256811407141285.html">Buy FT4232 USB-A Breakout on AliExpress (Remote)</a></li>
|
||||
<li><a href="https://www.aliexpress.us/item/2251832658870493.html">Buy Nicer USB-A Breakout on AliExpress (Plugs, 3.3v/5v switchable, better screen printing) (*REQUIRES Printer Cable) (Remote)</a></li> </a></li>
|
||||
<ul>
|
||||
<li><a href="https://www.aliexpress.us/item/3256809425054781.html">Buy USB-A Printer Cable on AliExpress (Remote)</a></li>
|
||||
<li><a href="https://www.aliexpress.us/item/3256805681779092.html">Buy USB-C Printer Cable on AliExpress (Remote)</a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
<br>
|
||||
|
||||
<b>Multi-Channel Options:</b><br>
|
||||
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnAAAAH1CAIAAAD55FQCAAAQAElEQVR4nOydbWgT2ff4xz9dSEFhAgoJuNAJCk5QcILCJqwvmqLQBIUmrGBChd1UQdNd0MTC2nx94aYuaKKw2yhosz+wJAUlEZSksNL0hdIISqZgyQhKp7BCAhYysIUObMH/vZPnNG3SdFq73fNhMd3J5M59Ovfce865d9o+f/5MAAAAAACwPv4fAQAAAADAugGFCgAAAAAyAAoVAAAAAGQAFCoAAAAAyAAoVAAAAACQAVCoAAAAACADoFABAAAAQAZAoQIAAACADIBCBQAAAAAZAIUKAAAAADIAChUAAAAAZAAUKgAAAADIAChUAAAAAJABUKgAAAAAIAOgUAEAAABABkChAgAAAIAMgEIFAAAAABkAhQoAAAAAMgAKFQAAAABkABQqAAAAAMgAKFQAAAAAkAFQqAAAAAAgA6BQAQAAAEAGQKECAAAAgAyAQgUAAAAAGQCFupmEzTsQ5jCxmXyRhwLVfAjaGXX7Domv2g2/csS/ie3WhbgBDSqPZuDf1QqbznzYvAvVU7vuV5YAmmNbK1SRCw+YtXsK4xjuGkql9lj/0DNWWKq8j3NTO0DANqgeGgxeo9JYbVo2Vi9lk3fsOkpZbrxdSg1jdT9I8GKd9Gv5ql1Jm91jnEhsAeaGdPv7wtPZQmaWxGyOALYNYZM03Rit/22D/v+qX10Ym6zRpdVSqKZdSemsv8SzlT+ZcdeThDqslNUqlli33h5fIKgrU6mfmfL1vMDW5GaP1nAxuIqwZV/67YymLMxfSfkfCCbmqn8j8okHbvsxrXJXuaBakzs8UydpYTo+dNGg3VNOFd1bPxsCG/+lv6syA7s0urP+5EdCdratQhWe92t3ae234tx8uYJFQeBeBjyndErUfQlgq/Ih0LVHbbgcZueEcuMtCPx01H++S9OuHX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dgamt08xIfH/V5x5qY5b9xm29JUVcPVoi6ahW5FeoTh2O8ppbE+HlHdGP8batAHh9O4/Azl+04QxWEpBCrbfhaaWhuq7JSVTsoGQ5L9V8uTiIqdWvnVROxZoRInMW+ip8dtSLRacT2/enU1Oq/fxbDwtfd72w8I1PWGkyO6CQXQjOOCaK9rXZsJnvt+iZy2CL7nBO5xdmEz9mjp3cXhmYpNN9jPtSukewBNdRE+eKoYLSO7MDzbU+nPd5q98s+S+BxosflqKnh3Y7BXhLr7Ket7dmNx/AijHFcrh22mGsuXLGTTU106rNT3ZQqldiILiTOJYIDdusxrXKPMu9M7Xte776m5GsNTxeexLA49Q7WNlab0YiruY5GL0KpsXLmA9/3h98Im7F3eS4YmsbBOvaT5Wumc3bUpfjRQN1sVtpglPu73E+y2KjwZ6qpeIK1wL3Dk2T60KpeyPFySED7Hp39HrK1qCx/pCPfLVPubZTzz9wiP+G7YNEfIAvCvJDfvqhtX33bz3yiL78X9lws1LvitMEWL9gU0si2t8CGf9Dofl1Vp34IdHWi6azC+NuE7wghLzIr1MR4ok53FBPxF8QXoI1EE+3Qn6lZyYyDY7Xvu0wdBB5lr5r6W11bVJPN4A5B61rp1hkpAFUIGncsIx/J0kDbZf7CXb/5uaSckEol/hA3bPRRUJ2u4ehU+hM2HmIj5FOv7aAU6j5qbWwMb0NGAkfkfQQ7phbCgTGiNXJSiIV6b51ZrJqUKqBFVS1Iw3aLine truncated
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
const selectBox = document.getElementById("proto");
|
||||
const outClass = document.querySelectorAll('.outmember');
|
||||
|
||||
selectBox.addEventListener('change', (event) => {
|
||||
// get the selection value, this is the sa3me as the ids of class outmember
|
||||
const selectedValue = event.target.value;
|
||||
|
||||
// just return true if the selection menu option is selected
|
||||
if(selectedValue === 'null') {
|
||||
return true;
|
||||
}
|
||||
|
||||
// loop through display divs (.outmember) and hides them all
|
||||
outClass.forEach(outClassItem => {
|
||||
outClassItem .style.display = 'none';
|
||||
});
|
||||
|
||||
// set correct one to display:block by id
|
||||
document.getElementById(selectedValue).style.display = 'block'
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,205 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Passgen 0.2.9</title>
|
||||
<script>
|
||||
var alphau = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||
var alphal = "abcdefghijklmnopqrstuvwxyz";
|
||||
var numbers = "0123456789";
|
||||
var symbols = "`~!@#$%^&*()-=_+[]\{}|;':\",./<>?\\";
|
||||
var space = " ";
|
||||
var baseYear = 120000000000000000000000;
|
||||
|
||||
|
||||
function $id(id) {
|
||||
return document.getElementById(id);
|
||||
}
|
||||
|
||||
|
||||
async function copyInputToClipboard(inputId, buttonElement) {
|
||||
const inputElement = document.getElementById(inputId);
|
||||
if (!inputElement) return;
|
||||
|
||||
try {
|
||||
await navigator.clipboard.writeText(inputElement.value);
|
||||
} catch (err) {
|
||||
inputElement.select();
|
||||
document.execCommand('copy');
|
||||
}
|
||||
|
||||
// Temporary button label change
|
||||
if (buttonElement) {
|
||||
const originalText = buttonElement.innerText;
|
||||
buttonElement.innerText = 'Copied!';
|
||||
setTimeout(() => {
|
||||
buttonElement.innerText = originalText;
|
||||
}, 2000);
|
||||
}
|
||||
}
|
||||
|
||||
function secureRand(min,max,len) {
|
||||
var str = "";
|
||||
var rand = [];
|
||||
var pos = 0;
|
||||
|
||||
while(rand.length<len) {
|
||||
var buf = new Uint8Array(512);
|
||||
window.crypto.getRandomValues(buf);
|
||||
for(i=0;i<buf.length;i++) {
|
||||
if(buf[i] >= min && buf[i] <= max) {
|
||||
rand[pos] = buf[i];
|
||||
pos++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return rand.slice(0,len);
|
||||
}
|
||||
|
||||
|
||||
function generatepass(len,keys){
|
||||
rlist='';
|
||||
var srand = secureRand(0,keys.length,len);
|
||||
for (i=0;i<len;i++) {
|
||||
rlist+=keys.charAt(srand[i]);
|
||||
}
|
||||
|
||||
return rlist;
|
||||
}
|
||||
|
||||
|
||||
function entropy(chars,len) {
|
||||
return Math.round((Math.log(Math.pow(chars,len))/Math.log(2))*100)/100;
|
||||
}
|
||||
|
||||
|
||||
// chars = length of charset
|
||||
// len = length of password
|
||||
// base = total md5 tries per year
|
||||
// TODO: Assumes power doubles every 18 months (Moore's law)
|
||||
function yearsToCrack(chars,len,base) {
|
||||
possible = Math.pow(chars,len);
|
||||
return Math.round(possible/baseYear);
|
||||
}
|
||||
|
||||
|
||||
function generate() {
|
||||
var len = $id('length').value;
|
||||
var keylist = "";
|
||||
if($id('alphal').checked) { keylist += alphal; }
|
||||
if($id('alphau').checked) { keylist += alphau; }
|
||||
if($id('symbols').checked) { keylist += symbols; }
|
||||
if($id('numbers').checked) { keylist += numbers; }
|
||||
if($id('space').checked) { keylist += space; }
|
||||
|
||||
$id('out').value = generatepass(len,keylist);
|
||||
$id('entropy').innerHTML = entropy(keylist.length,len);
|
||||
$id('years').innerHTML = yearsToCrack(keylist.length,len,baseYear);
|
||||
}
|
||||
window.onload = function(){generate();}
|
||||
</script>
|
||||
<style>
|
||||
* {
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
/* Base link styling */
|
||||
.has-tooltip {
|
||||
position: relative; /* Crucial for positioning the tooltip relative to the link */
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Tooltip container (text box) */
|
||||
.has-tooltip::before {
|
||||
content: attr(data-tooltip); /* Pulls text from the data-tooltip attribute */
|
||||
position: absolute;
|
||||
bottom: 100%; /* Positions the box above the top of the link */
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-8px); /* Centers horizontally & lifts up slightly */
|
||||
|
||||
/* Visual styling */
|
||||
background-color: #1e293b;
|
||||
color: #ffffff;
|
||||
padding: 6px 12px;
|
||||
border-radius: 6px;
|
||||
font-size: 0.85rem;
|
||||
white-space: nowrap; /* Prevents text from wrapping */
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
|
||||
/* Hide by default */
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.2s ease, transform 0.2s ease;
|
||||
pointer-events: none; /* Prevents cursor interference */
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
/* Tooltip arrow pointer */
|
||||
.has-tooltip::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(0);
|
||||
|
||||
/* Creates a small downward arrow using border tricks */
|
||||
border-width: 6px 6px 0 6px;
|
||||
border-style: solid;
|
||||
border-color: #1e293b transparent transparent transparent;
|
||||
|
||||
/* Hide by default */
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.2s ease, transform 0.2s ease;
|
||||
pointer-events: none;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
/* Hover State - Reveal Tooltip & Arrow */
|
||||
.has-tooltip:hover::before,
|
||||
.has-tooltip:hover::after {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
/* Subtle upward slide animation on hover */
|
||||
.has-tooltip:hover::before {
|
||||
transform: translateX(-20%) translateY(-12px);
|
||||
}
|
||||
|
||||
.has-tooltip:hover::after {
|
||||
transform: translateX(-20%) translateY(-6px);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Passgen<sup><a href="javascript:alert('Passgen 0.2.9\nCryptographically secure password generator\n\nHere is how passgen protects you:\n* Uses a cryptographically secure random number generator to\ngenerate a properly random secure password\n* Nothing is ever sent to anyone! It all runs through your browser\n* Even visiting a website and loading pages from it is not needed\npassgen can run through a bookmarklet without even being online\n* Nothing is ever, ever stored or logged\n* The web page you got this from keeps no logs including IP logs or even a hit counter\n* The website you got this from is secured with TLS to ensure this bookmarklet was not tampered with in transit\n* This bookmarklet code is singed with PGP to guarantee it has not been tampered with by a hacker\n\nPrincess Pi - https://git.thecoven.info/PrincessPi');">?</a></sup></h1>
|
||||
<input type="checkbox" id="alphal" onchange="generate()" checked> <label for="alphal">Lowercase Letters</label><a href="#" class="has-tooltip" data-tooltip="abcdefghijklmnopqrstuvwxyz">?</a><br>
|
||||
<input type="checkbox" id="alphau" onchange="generate()" checked> <label for="alphau">Uppercase Letters</label><a href="#" class="has-tooltip" data-tooltip="ABCDEFGHIJKLMNOPQRSTUVWXYZ">?</a><br>
|
||||
<input type="checkbox" id="numbers" onchange="generate()" checked> <label for="numbers">Numbers</label><a href="#" class="has-tooltip" data-tooltip="0123456789">?</a><br>
|
||||
<input type="checkbox" id="symbols" onchange="generate()" checked> <label for="symbols">Symbols</label><a href="#" class="has-tooltip" data-tooltip="`~!@#$%^&*()-=_+[]\{}|;':",.<>?\">?</a><br>
|
||||
<input type="checkbox" id="space" onchange="generate()" checked> <label for="space">Space</label><a href="#" class="has-tooltip" data-tooltip="Space AKA 0x20, \\s, %20, and &nbsp;">?</a><br>
|
||||
<label for="length">Length</label> <input type="text" id="length" size="4" value="23" onchange="generate()"><br><br>
|
||||
<button value="Generate" onclick="generate()">Generate New</button> <!--<input type="button" value="Close" onclick="window.close()">-->
|
||||
<p><b>Password</b> <input type="text" id="out" size="40" readonly> <button onclick="copyInputToClipboard('out', this)">Copy</button></p>
|
||||
<p><b>Strength<sup><a href="#" class="has-tooltip" data-tooltip="Bits of entropy. log2(characters^length)">?</a></sup></b> <span id="entropy"></span> bits</p>
|
||||
<p><b>Years to Crack<sup><a href="#" class="has-tooltip" data-tooltip="WORK IN PROGRESS

Assumes all computing power on Earth being used collaboratively, doubling in power every 18 months.

Also assumes a weak hash, MD5. (EXCLUDES collisions in MD5)">?</a></sup></b> <span id="years"></span></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,380 @@
|
||||
<!-- Base file structure and logic utilized from Random-Words.html -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Princess Pi's Magic Random Words Generator</title>
|
||||
<style>
|
||||
:root {
|
||||
--bg-color: #fce4ec;
|
||||
--card-bg: #f3e5f5;
|
||||
--text-color: #4a148c;
|
||||
--text-muted: #7b1fa2;
|
||||
--accent-color: #90caf9;
|
||||
--accent-hover: #64b5f6;
|
||||
--border-color: #ce93d8;
|
||||
--success-color: #ec407a;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", "Marker Felt", cursive, sans-serif;
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ASCII Art Background */
|
||||
#ascii-bg {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
margin: 0;
|
||||
z-index: -1;
|
||||
font-family: monospace;
|
||||
white-space: pre;
|
||||
font-size: 10px;
|
||||
line-height: 10px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Replaced .container with #content and set 70% opacity */
|
||||
#content {
|
||||
background-color: var(--card-bg);
|
||||
border: 2px solid var(--border-color);
|
||||
border-radius: 16px;
|
||||
padding: 30px;
|
||||
width: 100%;
|
||||
max-width: 800px;
|
||||
box-shadow: 0 10px 25px -5px rgba(74, 20, 140, 0.15);
|
||||
opacity: 0.65; /* Makes #content and all children visually 70% opaque */
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-top: 0;
|
||||
font-size: 1.6rem;
|
||||
text-align: center;
|
||||
/* Flex layout to keep characters inline if they wrap */
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 1px;
|
||||
}
|
||||
|
||||
h1 span {
|
||||
transition: color 0.1s ease;
|
||||
}
|
||||
|
||||
.privacy-badge {
|
||||
background-color: rgba(236, 64, 122, 0.1);
|
||||
color: var(--success-color);
|
||||
border: 1px dashed var(--success-color);
|
||||
padding: 8px 12px;
|
||||
border-radius: 8px;
|
||||
font-size: 0.85rem;
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
font-size: 0.95rem;
|
||||
color: var(--text-muted);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
input[type="number"],
|
||||
input[type="text"] {
|
||||
width: 100%;
|
||||
padding: 10px 12px;
|
||||
background-color: #ffffff;
|
||||
border: 2px solid var(--border-color);
|
||||
color: var(--text-color);
|
||||
border-radius: 8px;
|
||||
font-size: 1rem;
|
||||
box-sizing: border-box;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
border-color: var(--accent-hover);
|
||||
}
|
||||
|
||||
.controls-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
button {
|
||||
width: 100%;
|
||||
background-color: var(--accent-color);
|
||||
color: #1a237e;
|
||||
border: 2px solid #64b5f6;
|
||||
padding: 12px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: bold;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
margin-top: 10px;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: var(--accent-hover);
|
||||
transform: scale(1.02);
|
||||
}
|
||||
|
||||
.output-container {
|
||||
margin-top: 25px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
background-color: #ffffff;
|
||||
border: 2px solid var(--border-color);
|
||||
color: var(--text-color);
|
||||
border-radius: 8px;
|
||||
padding: 12px;
|
||||
font-family: monospace;
|
||||
font-size: 1.1rem;
|
||||
resize: vertical;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--accent-hover);
|
||||
}
|
||||
|
||||
.copy-btn {
|
||||
background-color: #e1bee7;
|
||||
border-color: #ce93d8;
|
||||
color: var(--text-color);
|
||||
margin-top: 10px;
|
||||
padding: 10px;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.copy-btn:hover {
|
||||
background-color: #ce93d8;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- Preformatted text ASCII Art Background -->
|
||||
<pre id="ascii-bg">
|
||||
.. .....
|
||||
....------..
|
||||
..:--------.. .......
|
||||
..----------.. ....---..
|
||||
...---------=------::....:----:..
|
||||
..-----=+**************=-----:...
|
||||
.----+****************=-----...
|
||||
.--=****************=-----=**+:::--:....
|
||||
.-=#*********##**++=---====++**+-----:.
|
||||
..:==********#=.+@%-==++===++===++*=----...
|
||||
.:=::******%%+-::=++====+==++====+**=--...
|
||||
.:+..+*****--@===-:-%--====-=+====+*#=:..
|
||||
.-=.-****#=.#+===--=+===----======+*+..
|
||||
.:=:+****#@#+=====-**-----*+====++**:.
|
||||
.. .=****=--======-..%-----%+==++***+-..
|
||||
..=++***+-.----======..*-----#+==+***#%#+..
|
||||
.. .:-..---=====--------=-+==+**-@*. ............::::::....
|
||||
..=:..--===+-:-------*%+==*+#%**=. .....:-------------------------:.
|
||||
..............-:..--===+-..:-------+==+==.:... ...:----------------------------::.
|
||||
......:----------::=:...--==+--:.:-------+==+=:.... ....--------------------------:.....
|
||||
..:::----------------=-::.:--===---:.:------=--:.... ...:---------------------------...
|
||||
..:------------------=--:..:--=+=--------::.:+-..... ...------------------------------..
|
||||
...:-----------------:....----==-------:...=%*.......:::--------------------------------:..
|
||||
...--------------:+......---------------:+%%#.----------------------------:.......-----:..
|
||||
.:----===-------:-.. .:--------------*%%%%=--------------========------:.......-------:...
|
||||
..-:.:------------....-.=---------=#%%%%##%------------=-----------------------------------..
|
||||
.:--:....:--------:##*=:.-------=#%%%%%%#%+-----------=-------------------------------------:
|
||||
..:-----------------::*%%#-------=###%%%%##=--------------------------------------:............
|
||||
..:-------------------:.-#%%##+==+%%%%%%#%+------------------------...:::--------------::::::..
|
||||
...:----------------------..-#%#%%%%%%%%*+#%=-------------------------=-:....:----------------:...
|
||||
--------------------------:.-#%%%%%%%%+#@%%%--------------------------=++=-::---------------:...
|
||||
---------------------------...+%%%%%]%%%%#---------------------------------------------:....
|
||||
............------.....----:....-#%%%%%%%*=------------------------------::+=---------.......
|
||||
..:-... ....-----.. ....-=-------------------------------------.=*+=.......
|
||||
..---:....:-----:.......:--------------------------:-------------==+=-......
|
||||
.:-------------..........:---------------------------..:-------------==..........
|
||||
..-------------:... ...--------:...----------------....:-----------==-...........
|
||||
..:----==------:..-.... ..--------:...:---------------.....:----------=+-.....
|
||||
..------==+=++==-..+--:. .:--------.....-----------=*%=.. ..----------=+=......
|
||||
....------------........:... ..:--------.....-------+#%%#@%.. ...----------=+=......
|
||||
....---------===:............... .:----=+*#=. ..--+#**+%@@@#%+. ..:-:..=----=*=:.....
|
||||
:............:=::+=:--:=.=-.::=... ..*@*-+%@@@:.....-@@#%@*#@@@#%:.. ..-:..---:-#**+-.........
|
||||
.. ...::::....::-.:.::-.. ..*%:..*@@@*.. ..-%#%@@+%@@@@=.. ...::.=#=..-%*++=:... ...
|
||||
...... .......... ..**...*#=*%:. .-*#@%+#%@@@@+... ..*%@%+...+%+=*+=-...
|
||||
..*#:.-#+..+-. ..-*#**%%*%@@%=.. ..-%@@*:..+@%=:+**+=:..
|
||||
..*@#*%%=..==. .-*%@#%@##@@@#-. ...#@@%*-=%@@#:..-=++=-
|
||||
.:#@*-:++..==. .=#%@%*@@*%*=+*:....:.+@*::+%@@@%=......-*
|
||||
.-%+...=%##%-. .+@*@%*%@##*-:*+..:-==*@=..:#@+:=*:.......
|
||||
.:*#:..:*@@@%:. .-%@*%@#*%*#=..-%-....:+#=-.:#%-.:+-.......
|
||||
.+@#=.-*@@@@*.. ....-%@@@@@@=..+%*.. .-%--=+#%-.:*-. ....
|
||||
.-=++++++++=... .:***+++==::::... .-%#=-*#%#**#-.
|
||||
</pre>
|
||||
|
||||
<div id="content">
|
||||
<h1 id="titleText">Princess Pi's Magic Random Words Generator</h1>
|
||||
|
||||
<div class="privacy-badge">
|
||||
✨ 100% Offline • Zero Storage • Zero Logging • Web Crypto API ✨
|
||||
</div>
|
||||
|
||||
<div class="controls-row">
|
||||
<div class="form-group">
|
||||
<label for="wordCount">Number of Words</label>
|
||||
<input type="number" id="wordCount" value="12" min="1" max="256">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="delimiter">Custom Delimiter</label>
|
||||
<input type="text" id="delimiter" value=" ">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button onclick="generateSecureWords()">Generate Magic Words</button>
|
||||
|
||||
<div class="output-container">
|
||||
<label for="output">Generated Output</label>
|
||||
<textarea id="output" readonly placeholder="Click generate to create magic words..."></textarea>
|
||||
<button class="copy-btn" onclick="copyToClipboard()">Copy to Clipboard</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// Changed variable name from BIP39_WORDS to wordsListArray per your request
|
||||
// SecLists language-english.txt + SecLists us-citites.txt
|
||||
// sed 's/.*/"&"/' input.txt | paste -sd, - | sed 's/,/, /g' > output.txt
|
||||
const wordsListArray = [
|
||||
"Abbeville", "Abbotsford", "Abbott", "Abbottsburg", "Abbottstown", "Abbyville", "Abell", "Abercrombie", "Aberdeen", "Aberfoil", "Abernant", "Abernathy", "Abeytas", "Abie", "Abilene", "Abingdon", "Abington", "Abiquiu", "Abita Springs", "Abo", "Aboite", "Abraham", "Abram", "Abrams", "Absarokee", "Absecon", "Academy", "Accokeek", "Accomac", "Accord", "Ace", "Aceitunas", "Acequia", "Achille", "Achilles", "Ackerly", "Ackerman", "Ackley", "Ackworth", "Acme", "Acomita Lake", "Acra", "Acree", "Acton", "Acworth", "Acy", "Ada", "Adair", "Adair Village", "Adairsville", "Adairville", "Adams", "Adams Center", "Adams City", "Adamstown", "Adamsville", "Adario", "Addicks", "Addie", "Addieville", "Addington", "Addis", "Addison", "Addy", "Addyston", "Adel", "Adelaide", "Adelanto", "Adelino", "Adell", "Adelphi", "Adelphia", "Aden", "Adena", "Adgateville", "Adin", "Adjuntas", "Admire", "Adna", "Adona", "Adrian", "Advance", "Adwolf", "Ady", "Aetna", "Affton", "Afton", "Agar", "Agate", "Agate Beach", "Agawam", "Agency", "Agnes", "Agness", "Agnew", "Agnos", "Agoura", "Agra", "Agricola", "Agua Dulce", "Agua Fria", "Aguada", "Aguadilla", "Aguanga", "Aguas Buenas", "Aguas Claras", "Agudo", "Aguila", "Aguilar", "Aguilares", "Aguilita", "Ahloso", "Ahmeek", "Ahoskie", "Ahtanum", "Ahuimanu", "Ahwahnee", "Aibonito", "Aid", "Aiea", "Aiken", "Ailey", "Ainsworth", "Airmont", "Airport Drive", "Airway Heights", "Aitkin", "Ajo", "Akaska", "Akeley", "Akers", "Akhiok", "Akiachak", "Akiak", "Akin", "Akra", "Akron", "Akutan", "Alabam", "Alabaster", "Aladdin", "Alakanuk", "Alamance", "Alameda", "Alamo", "Alamo Alto", "Alamo Heights", "Alamo Oaks", "Alamogordo", "Alamosa", "Alamota", "Alanreed", "Alapaha", "Alba", "Albany", "Albee", "Albemarle", "Alberene", "Alberhill", "Albers", "Albert", "Albert City", "Albert Lea", "Alberta", "Alberton", "Albertson", "Albertville", "Albin", "Albion", "Alborn", "Albright", "Albuquerque", "Alburg", "Alburnett", "Alburtis", "Alcalde", "Alcan", "Alcester", "Alco", "Alcoa", "Alcoa Center", "Alcolu", "Alcoma", "Alda", "Aldan", "Alden", "Alden Bridge", "Alder", "Alderpoint", "Alderson", "Alderwood Manor", "Aldine", "Aldrich", "Aledo", "Aleknagik", "Alex", "Alexander", "Alexander City", "Alexandria", "Alexandria Bay", "Alexis", "Alfalfa", "Alfordsville", "Alfred", "Alger", "Algerita", "Algoa", "Algodones", "Algoma", "Algona", "Algonac", "Algonquin", "Algood", "Alhambra", "Ali Chukson", "Alice", "Aliceville", "Alicia", "Aline", "Aliquippa", "Alire", "Aliso Viejo", "Alix", "Alkabo", "Allakaket", "Allamuchy", "Allandale", "Allardt", "Alleene", "Allegan", "Allegany", "Alleghany", "Allegre", "Alleman", "Allen", "Allen City", "Allen Park", "Allendale", "Allenfarm", "Allenhurst", "Allenport", "Allenspark", "Allensville", "Allenton", "Allentown", "Allenville", "Allenwood", "Allerton", "Alley", "Allgood", "Alliance", "Alligator", "Allison", "Allison Gap", "Allison Park", "Allons", "Allouez", "Alloway", "Allport", "Allyn", "Alma", "Alma Center", "Almedia", "Almelund", "Almena", "Almeria", "Almira", "Almo", "Almon", "Almond", "Almont", "Almonte", "Almota", "Almy", "Almyra", "Alnwick", "Aloe", "Aloha", "Alondra Park", "Alpaugh", "Alpena", "Alpha", "Alpharetta", "Alpine", "Alquina", "Alsea", "Alsen", "Alsey", "Alsip", "Alston", "Alstown", "Alsuma", "Alta", "Alta Loma", "Alta Sierra", "Alta Vista", "Altadena", "Altair", "Altamahaw", "Altamont", "Altamonte Springs", "Altavista", "Altenburg", "Altha", "Altheimer", "Altmar", "Alto", "Alto Pass", "Alton", "Altona", "Altoona", "Altura", "Alturas", "Altus", "Alum Bridge", "Alva", "Alvarado", "Alvaton", "Alvin", "Alvo", "Alvord", "Alvordton", "Alvwood", "Alzada", "Amado", "Amador City", "Amagansett", "Amagon", "Amalga", "Amanda", "Amanda Park", "Amargosa Valley", "Amarillo", "Amasa", "Amawalk", "Amazonia", "Amber", "Amberg", "Amberley", "Ambler", "Amboy", "Ambridge", "Ambridge Heights", "Ambrose", "Amchitka", "Amelia", "Amelia City", "Amelia Court House", "Amenia", "American Beach", "American Canyon", "American Falls", "American Fork", "Americus", "Amery", "Ames", "Amesbury", "Amesville", "Amherst", "Amherst Junction", "Amherstdale", "Amidon", "Amiret", "Amistad", "Amite", "Amity", "Amity Gardens", "Amityville", "Ammon", "Amo", "Amonate", "Amoret", "Amorita", "Amory", "Amsden", "Amsterdam", "Amy", "Anacoco", "Anaconda", "Anacortes", "Anaheim", "Anahola", "Anahuac", "Anaktuvuk Pass", "Anamoose", "Anamosa", "Anandale", "Anasco", "Anatone", "Anawalt", "Ancho", "Anchor", "Anchor Point", "Anchorage", "Anchorville", "Ancient Oaks", "Andale", "Andalusia", "Anderson", "Anderson Mill", "Andersonville", "Andes", "Anding", "Andover", "Andrade", "Andrew", "Andrews", "Andrix", "Anegam", "Aneta", "Angel City", "Angel Fire", "Angela", "Angeles", "Angelica", "Angels City", "Angelus", "Angier", "Angiola", "Angle", "Angle Inlet", "Angleton", "Angola", "Angola on the Lake", "Angora", "Anguilla", "Angus", "Angwin", "Aniak", "Animas", "Anita", "Aniwa", "Ankeny", "Ankenytown", "Anmoore", "Ann Arbor", "AnLine truncated
|
||||
];
|
||||
|
||||
/**
|
||||
* Utility function to generate a random pastel color
|
||||
*/
|
||||
function getRandomPastel() {
|
||||
const hue = Math.floor(Math.random() * 360);
|
||||
return `hsl(${hue}, 100%, 75%)`;
|
||||
}
|
||||
|
||||
/**
|
||||
* Utility function for random timeouts
|
||||
*/
|
||||
function getRandomTimeout(min, max) {
|
||||
return Math.floor(Math.random() * (max - min + 1)) + min;
|
||||
}
|
||||
|
||||
// Initialization logic for UI animations
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
// --- H1 Character Color Animation ---
|
||||
const h1 = document.getElementById('titleText');
|
||||
const textChars = h1.innerText.split('');
|
||||
h1.innerText = ''; // Clear raw text
|
||||
|
||||
textChars.forEach(char => {
|
||||
const span = document.createElement('span');
|
||||
// Handle spaces explicitly
|
||||
span.innerHTML = char === ' ' ? ' ' : char;
|
||||
h1.appendChild(span);
|
||||
|
||||
const animateChar = () => {
|
||||
span.style.color = getRandomPastel();
|
||||
setTimeout(animateChar, getRandomTimeout(50, 500));
|
||||
};
|
||||
|
||||
// Kick off the animation loop for this character
|
||||
animateChar();
|
||||
});
|
||||
|
||||
// --- ASCII Art Background Animation ---
|
||||
const asciiBg = document.getElementById('ascii-bg');
|
||||
const animateAsciiBg = () => {
|
||||
asciiBg.style.color = getRandomPastel();
|
||||
setTimeout(animateAsciiBg, getRandomTimeout(200, 750));
|
||||
};
|
||||
|
||||
// Kick off the ASCII background loop
|
||||
animateAsciiBg();
|
||||
});
|
||||
|
||||
/**
|
||||
* Generates a string of cryptographically secure random words.
|
||||
*/
|
||||
function generateSecureWords() {
|
||||
const countInput = document.getElementById('wordCount').value;
|
||||
const delimiter = document.getElementById('delimiter').value;
|
||||
const outputArea = document.getElementById('output');
|
||||
|
||||
let numberOfWords = parseInt(countInput, 10);
|
||||
if (isNaN(numberOfWords) || numberOfWords < 1) {
|
||||
numberOfWords = 12;
|
||||
document.getElementById('wordCount').value = 12;
|
||||
}
|
||||
|
||||
const generatedWords = [];
|
||||
|
||||
// Array length evaluated dynamically allowing arbitrary additions/removals
|
||||
const wordListLength = wordsListArray.length;
|
||||
|
||||
for (let i = 0; i < numberOfWords; i++) {
|
||||
const randomBuffer = new Uint32Array(1);
|
||||
window.crypto.getRandomValues(randomBuffer);
|
||||
|
||||
const randomIndex = randomBuffer[0] % wordListLength;
|
||||
generatedWords.push(wordsListArray[randomIndex]);
|
||||
}
|
||||
|
||||
outputArea.value = generatedWords.join(delimiter);
|
||||
}
|
||||
|
||||
/**
|
||||
* Copies the currently generated text in the textarea to the system clipboard.
|
||||
*/
|
||||
function copyToClipboard() {
|
||||
const outputArea = document.getElementById('output');
|
||||
|
||||
if (!outputArea.value) {
|
||||
return;
|
||||
}
|
||||
|
||||
outputArea.select();
|
||||
outputArea.setSelectionRange(0, 99999);
|
||||
|
||||
navigator.clipboard.writeText(outputArea.value)
|
||||
.then(() => {
|
||||
const copyBtn = document.querySelector('.copy-btn');
|
||||
const originalText = copyBtn.innerText;
|
||||
copyBtn.innerText = "Copied! ✨";
|
||||
setTimeout(() => {
|
||||
copyBtn.innerText = originalText;
|
||||
}, 2000);
|
||||
})
|
||||
.catch(err => {
|
||||
console.warn('Clipboard API failed, attempting execCommand...', err);
|
||||
document.execCommand('copy');
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,280 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>String Tools</title>
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
}
|
||||
body {
|
||||
background-color: #f4f6f8;
|
||||
color: #333;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
padding: 20px;
|
||||
}
|
||||
.container {
|
||||
background: #ffffff;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
||||
padding: 30px;
|
||||
width: 100%;
|
||||
max-width: 650px;
|
||||
}
|
||||
h2 {
|
||||
margin-bottom: 20px;
|
||||
font-size: 1.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
.input-group {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
textarea {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
padding: 12px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 6px;
|
||||
font-size: 0.95rem;
|
||||
resize: vertical;
|
||||
background-color: #fafafa;
|
||||
}
|
||||
textarea:focus {
|
||||
outline: none;
|
||||
border-color: #0066ff;
|
||||
background-color: #fff;
|
||||
}
|
||||
.section-header {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
color: #0066ff;
|
||||
margin: 20px 0 10px 0;
|
||||
padding-bottom: 4px;
|
||||
border-bottom: 2px solid #e1effe;
|
||||
}
|
||||
.output-card {
|
||||
background-color: #f8f9fa;
|
||||
border: 1px solid #e9ecef;
|
||||
border-radius: 6px;
|
||||
padding: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.output-card.hidden {
|
||||
display: none;
|
||||
}
|
||||
.output-card.error {
|
||||
border-color: #ffc9c9;
|
||||
background-color: #fff5f5;
|
||||
}
|
||||
.output-card .title {
|
||||
font-size: 0.8rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
color: #6c757d;
|
||||
margin-bottom: 4px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.output-card .value {
|
||||
font-family: monospace;
|
||||
font-size: 0.95rem;
|
||||
word-break: break-all;
|
||||
white-space: pre-wrap;
|
||||
color: #212529;
|
||||
}
|
||||
.value.error-text {
|
||||
color: #d9534f;
|
||||
font-style: italic;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<h2>String Tools</h2>
|
||||
|
||||
<div class="input-group">
|
||||
<label for="strInput">Enter your string below:</label>
|
||||
<textarea id="strInput" placeholder="Type or paste something here..."></textarea>
|
||||
</div>
|
||||
|
||||
<div class="section-header">String Transformations</div>
|
||||
|
||||
<div class="output-card">
|
||||
<div class="title">Character Count (Length)</div>
|
||||
<div class="value" id="outLength">0</div>
|
||||
</div>
|
||||
|
||||
<div class="output-card">
|
||||
<div class="title">Uppercase</div>
|
||||
<div class="value" id="outUpper">---</div>
|
||||
</div>
|
||||
|
||||
<div class="output-card">
|
||||
<div class="title">Lowercase</div>
|
||||
<div class="value" id="outLower">---</div>
|
||||
</div>
|
||||
|
||||
<div class="output-card">
|
||||
<div class="title">URL Encoded</div>
|
||||
<div class="value" id="outEncoded">---</div>
|
||||
</div>
|
||||
|
||||
<div class="output-card" id="urlDecodedCard">
|
||||
<div class="title">URL Decoded</div>
|
||||
<div class="value" id="outDecoded">---</div>
|
||||
</div>
|
||||
|
||||
<div class="output-card">
|
||||
<div class="title">Base64 Encoded</div>
|
||||
<div class="value" id="outB64Enc">---</div>
|
||||
</div>
|
||||
|
||||
<div class="output-card hidden" id="b64DecCard">
|
||||
<div class="title">Base64 Decoded</div>
|
||||
<div class="value" id="outB64Dec">---</div>
|
||||
</div>
|
||||
|
||||
<div class="section-header">Hashes</div>
|
||||
|
||||
<div class="output-card">
|
||||
<div class="title">SHA-1</div>
|
||||
<div class="value" id="outSha1">---</div>
|
||||
</div>
|
||||
|
||||
<div class="output-card">
|
||||
<div class="title">SHA-256</div>
|
||||
<div class="value" id="outSha256">---</div>
|
||||
</div>
|
||||
|
||||
<div class="output-card">
|
||||
<div class="title">SHA-512</div>
|
||||
<div class="value" id="outSha512">---</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const strInput = document.getElementById('strInput');
|
||||
const outLength = document.getElementById('outLength');
|
||||
const outUpper = document.getElementById('outUpper');
|
||||
const outLower = document.getElementById('outLower');
|
||||
const outEncoded = document.getElementById('outEncoded');
|
||||
const outDecoded = document.getElementById('outDecoded');
|
||||
const urlDecodedCard = document.getElementById('urlDecodedCard');
|
||||
|
||||
const outB64Enc = document.getElementById('outB64Enc');
|
||||
const outB64Dec = document.getElementById('outB64Dec');
|
||||
const b64DecCard = document.getElementById('b64DecCard');
|
||||
|
||||
const outSha1 = document.getElementById('outSha1');
|
||||
const outSha256 = document.getElementById('outSha256');
|
||||
const outSha512 = document.getElementById('outSha512');
|
||||
|
||||
// Safe Unicode Base64 Helper
|
||||
function utf8ToBase64(str) {
|
||||
return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, (match, p1) => {
|
||||
return String.fromCharCode('0x' + p1);
|
||||
}));
|
||||
}
|
||||
|
||||
function base64ToUtf8(str) {
|
||||
return decodeURIComponent(atob(str).split('').map((c) => {
|
||||
return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
|
||||
}).join(''));
|
||||
}
|
||||
|
||||
// Helper function to calculate Web Crypto hashes
|
||||
async function computeHash(algo, text) {
|
||||
if (!text) return '---';
|
||||
const msgUint8 = new TextEncoder().encode(text);
|
||||
const hashBuffer = await crypto.subtle.digest(algo, msgUint8);
|
||||
const hashArray = Array.from(new Uint8Array(hashBuffer));
|
||||
return hashArray.map(b => b.toString(16).padStart(2, '0')).join('');
|
||||
}
|
||||
|
||||
strInput.addEventListener('input', async () => {
|
||||
const val = strInput.value;
|
||||
|
||||
if (val.length === 0) {
|
||||
outLength.textContent = '0';
|
||||
outUpper.textContent = '---';
|
||||
outLower.textContent = '---';
|
||||
outEncoded.textContent = '---';
|
||||
outDecoded.textContent = '---';
|
||||
outB64Enc.textContent = '---';
|
||||
outB64Dec.textContent = '---';
|
||||
outSha1.textContent = '---';
|
||||
outSha256.textContent = '---';
|
||||
outSha512.textContent = '---';
|
||||
|
||||
urlDecodedCard.classList.remove('error');
|
||||
b64DecCard.classList.add('hidden');
|
||||
return;
|
||||
}
|
||||
|
||||
// Basic Transformations
|
||||
outLength.textContent = val.length;
|
||||
outUpper.textContent = val.toUpperCase();
|
||||
outLower.textContent = val.toLowerCase();
|
||||
outEncoded.textContent = encodeURIComponent(val);
|
||||
|
||||
// URL Decoded
|
||||
try {
|
||||
outDecoded.textContent = decodeURIComponent(val);
|
||||
outDecoded.classList.remove('error-text');
|
||||
urlDecodedCard.classList.remove('error');
|
||||
} catch (e) {
|
||||
outDecoded.textContent = "Error: Invalid URL encoding sequence";
|
||||
outDecoded.classList.add('error-text');
|
||||
urlDecodedCard.classList.add('error');
|
||||
}
|
||||
|
||||
// Base64 Encoded
|
||||
outB64Enc.textContent = utf8ToBase64(val);
|
||||
|
||||
// Base64 Decoded (Hidden unless input is valid Base64)
|
||||
const trimmedVal = val.trim();
|
||||
// Regex validates Base64 formatting before attempting decoding
|
||||
const isB64Format = /^[A-Za-z0-9+/=]+$/.test(trimmedVal) && (trimmedVal.length % 4 === 0);
|
||||
|
||||
if (isB64Format) {
|
||||
try {
|
||||
const decoded = base64ToUtf8(trimmedVal);
|
||||
outB64Dec.textContent = decoded;
|
||||
b64DecCard.classList.remove('hidden');
|
||||
} catch (e) {
|
||||
b64DecCard.classList.add('hidden');
|
||||
}
|
||||
} else {
|
||||
b64DecCard.classList.add('hidden');
|
||||
}
|
||||
|
||||
// Calculate Cryptographic Hashes asynchronously
|
||||
try {
|
||||
outSha1.textContent = await computeHash('SHA-1', val);
|
||||
outSha256.textContent = await computeHash('SHA-256', val);
|
||||
outSha512.textContent = await computeHash('SHA-512', val);
|
||||
} catch (e) {
|
||||
outSha1.textContent = "Error computing hash";
|
||||
outSha256.textContent = "Error computing hash";
|
||||
outSha512.textContent = "Error computing hash";
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -58,4 +58,4 @@ Start-Sleep -Seconds $WaitSeconds
|
||||
|
||||
# x Force reboot with no warning
|
||||
# Disabled -Force to let apps close gracefully
|
||||
Restart-Computer # -Force
|
||||
Stop-Computer # -Force
|
||||
@@ -0,0 +1,42 @@
|
||||
# Usage: alert <message="Alert"> (<type=Information/None/Error/Question/Warning> (<Buttons=OK/OKCancel/YesNoCancel/YesNo>))
|
||||
|
||||
# HELP HANDLE
|
||||
if($args[0] -eq 'h' -or $args[0] -eq '-h' -or $args[0] -eq 'H' -or $args[0] -eq '-H' -or $args[0] -eq 'help' -or $args[0] -eq 'Help' -or $args[0] -eq 'HELP') {
|
||||
Write-Host "Usage: alert <message=Alert> (<type=Information/None/Error/Question/Warning> (<Buttons=OK/OKCancel/YesNoCancel/YesNo>))`nalert h/-h/help/etc: Display this help message"
|
||||
exit
|
||||
}
|
||||
|
||||
# MESSAGE HANDLE DEFAULT
|
||||
if([string]::IsNullOrEmpty($args[0])) {
|
||||
$Message = "Alert"
|
||||
} else {
|
||||
$Message = $args[0]
|
||||
}
|
||||
|
||||
# TYPE HANDLE DEFAULT
|
||||
if([string]::IsNullOrEmpty($args[1])) {
|
||||
$Type = "Information"
|
||||
} else {
|
||||
$Type = $args[1]
|
||||
}
|
||||
|
||||
# BUTTONS HANDLE DEFAULT
|
||||
if([string]::IsNullOrEmpty($args[2])) {
|
||||
$Buttons = "OK"
|
||||
} else {
|
||||
$Buttons = $args[2]
|
||||
}
|
||||
|
||||
# doin inide start-job method so alert box doesnt block
|
||||
Start-Job -ScriptBlock {
|
||||
# get back my fuckin vars inside this script block
|
||||
$Message = $using:Message
|
||||
$Buttons = $using:Buttons
|
||||
$Type = $using:Type
|
||||
|
||||
# Add the PresentationFramework
|
||||
Add-Type -AssemblyName PresentationFramework
|
||||
|
||||
# Send the alert
|
||||
[System.Windows.MessageBox]::Show($Message, $Message, $Buttons, $Type)
|
||||
};
|
||||
@@ -0,0 +1,407 @@
|
||||
[CmdletBinding(DefaultParameterSetName='Generate')]
|
||||
param(
|
||||
# File(s) or wildcard pattern to compute checksum for
|
||||
[Parameter(Position = 0, ParameterSetName = 'Generate', ValueFromPipeline = $true)]
|
||||
[Parameter(Position = 0, ParameterSetName = 'Match', ValueFromPipeline = $true)]
|
||||
[string[]]$FilePath,
|
||||
|
||||
# Custom output file (-f / -OutFile)
|
||||
[Parameter(Mandatory = $false, ParameterSetName = 'Generate')]
|
||||
[Alias('f')]
|
||||
[string]$OutFile,
|
||||
|
||||
# Auto output file switch (-o)
|
||||
[Parameter(Mandatory = $false, ParameterSetName = 'Generate')]
|
||||
[Alias('o')]
|
||||
[switch]$AutoOut,
|
||||
|
||||
# File containing checksums to verify (-c / -Check)
|
||||
[Parameter(Mandatory = $false, ParameterSetName = 'Verify')]
|
||||
[Alias('c')]
|
||||
[string]$Check,
|
||||
|
||||
# Direct checksum hash string to match against (-m / -Match)
|
||||
[Parameter(Mandatory = $true, ParameterSetName = 'Match')]
|
||||
[Alias('m')]
|
||||
[string]$Match,
|
||||
|
||||
# Hashing algorithm to use (Defaults to SHA256)
|
||||
[Parameter(Mandatory = $false)]
|
||||
[Alias('a', 'algo')]
|
||||
[ValidateSet('SHA1', 'SHA256', 'SHA384', 'SHA512', 'MD5')]
|
||||
[string]$Algorithm,
|
||||
|
||||
# Recursive flag (-r / -Recursive)
|
||||
[Parameter(Mandatory = $false)]
|
||||
[Alias('r')]
|
||||
[switch]$Recursive,
|
||||
|
||||
# Help flag (-h / -Help)
|
||||
[Parameter(Mandatory = $false)]
|
||||
[Alias('h')]
|
||||
[switch]$Help
|
||||
)
|
||||
|
||||
begin {
|
||||
function Show-Help {
|
||||
@'
|
||||
NAME
|
||||
checksum - Compute and verify message digests / file checksums
|
||||
|
||||
SYNOPSIS
|
||||
.\checksum.ps1 [-FilePath] <string[]> [-o] [-f <string>] [-Algorithm <string>] [-r]
|
||||
.\checksum.ps1 [-FilePath] <string[]> -Match <string> [-Algorithm <string>] [-r]
|
||||
.\checksum.ps1 -Check <string> [-Algorithm <string>] [-r]
|
||||
.\checksum.ps1 -Help
|
||||
|
||||
DESCRIPTION
|
||||
Computes or verifies checksums using cryptographic hash algorithms (SHA256, SHA512, SHA1, MD5, SHA384).
|
||||
Outputs hash values in standard GNU coreutils format (<hash> <filename>).
|
||||
Ignores checksum metadata files (.md5, .sha1, .sha256, .sha384, .sha512) during wildcards unless passed explicitly.
|
||||
|
||||
PARAMETERS
|
||||
-FilePath <string[]>
|
||||
Specifies the target file(s) or wildcard pattern (*).
|
||||
|
||||
-o, -O
|
||||
Auto-saves checksum results. (Takes no arguments).
|
||||
- If input filename contains a wildcard (*), saves to 'checksums.<algo>'.
|
||||
- If input filename does NOT contain a wildcard, saves to '<filename>.<algo>'.
|
||||
When combined with -r and *, recursively auto-generates checksums per directory.
|
||||
|
||||
-f, -F, -OutFile <string>
|
||||
Saves checksum results to a specific custom filename.
|
||||
Overrides the auto-naming behavior of -o if both are passed.
|
||||
|
||||
-c, -C, -Check <string>
|
||||
Reads hashes from a specified checksum file and verifies target files on disk.
|
||||
If -r is specified, recursively looks for and validates checksum files by name across subdirectories.
|
||||
|
||||
-m, -M, -Match <string>
|
||||
Compares the computed hash of target file(s) directly against a given hash string.
|
||||
|
||||
-a, -A, -Algo, -Algorithm <string>
|
||||
Specifies the hash algorithm to use.
|
||||
Supported options: MD5, SHA1, SHA256 (default), SHA384, SHA512.
|
||||
In -c or -m mode, auto-detects algorithm from hash length if omitted.
|
||||
|
||||
-r, -R, -Recursive <switch>
|
||||
Processes target files or verification files recursively across directory structures.
|
||||
|
||||
-h, -H, -Help <switch>
|
||||
Displays this help documentation.
|
||||
|
||||
EXAMPLES
|
||||
1. Compute SHA256 for a single file and auto-save as 'myfile.iso.sha256':
|
||||
.\checksum.ps1 myfile.iso -o
|
||||
|
||||
2. Compute SHA512 recursively and auto-save as 'checksums.sha512' in each folder:
|
||||
.\checksum.ps1 * -r -o -a SHA512
|
||||
|
||||
3. Compute SHA256 checksums and save to a specific custom file:
|
||||
.\checksum.ps1 * -f my_hashes.txt
|
||||
|
||||
4. Verify checksums against a verification file:
|
||||
.\checksum.ps1 -c checksums.sha256
|
||||
|
||||
5. Compare file directly against an expected hash string:
|
||||
.\checksum.ps1 myfile.bin -m 406653a68bd3538975656831f33f031b
|
||||
'@
|
||||
};
|
||||
|
||||
function Get-AlgorithmFromHashLength {
|
||||
param([string]$HashString);
|
||||
|
||||
switch ($HashString.Trim().Length) {
|
||||
32 { return 'MD5'; }
|
||||
40 { return 'SHA1'; }
|
||||
64 { return 'SHA256'; }
|
||||
96 { return 'SHA384'; }
|
||||
128 { return 'SHA512'; }
|
||||
default {
|
||||
Write-Error "checksum: Could not auto-detect algorithm for hash length $($HashString.Length). Please specify -Algorithm.";
|
||||
return $null;
|
||||
}
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
process {
|
||||
$helpInPath = $false;
|
||||
if ($FilePath) {
|
||||
foreach ($p in ($FilePath)) {
|
||||
if ($p -match '^(?i)[-/]{1,2}(h|help|\?)$') {
|
||||
$helpInPath = $true;
|
||||
break;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
if ($Help.IsPresent -or $helpInPath) {
|
||||
Show-Help;
|
||||
return;
|
||||
};
|
||||
|
||||
if (-not [string]::IsNullOrWhiteSpace($Algorithm)) {
|
||||
$Algorithm = $Algorithm.ToUpper();
|
||||
};
|
||||
|
||||
# --- ITEM GATHERING (Generate & Match Modes) ---
|
||||
if ($PSCmdlet.ParameterSetName -in @('Generate', 'Match')) {
|
||||
if (-not $FilePath -or $FilePath.Count -eq 0) {
|
||||
Write-Error "checksum: Missing file path parameter. Use -Help for usage.";
|
||||
return;
|
||||
};
|
||||
|
||||
$allItems = @();
|
||||
$isWildcardGlobal = $false;
|
||||
$skipExtensions = @('.md5', '.sha1', '.sha256', '.sha384', '.sha512');
|
||||
|
||||
foreach ($pathEntry in ($FilePath)) {
|
||||
$isWildcard = ($pathEntry -match '\*');
|
||||
if ($isWildcard) { $isWildcardGlobal = $true; };
|
||||
|
||||
$resolvedItems = @();
|
||||
if ($Recursive) {
|
||||
$resolvedItems = Get-ChildItem -Path ($pathEntry) -Recurse -File -ErrorAction 'SilentlyContinue';
|
||||
} else {
|
||||
if ($isWildcard -or ($pathEntry -match '\?')) {
|
||||
$resolvedItems = Get-ChildItem -Path ($pathEntry) -File -ErrorAction 'SilentlyContinue';
|
||||
} else {
|
||||
$resolvedItems = Get-Item -Path ($pathEntry) -ErrorAction 'SilentlyContinue';
|
||||
}
|
||||
};
|
||||
|
||||
if (-not $resolvedItems) {
|
||||
Write-Error "checksum: $($pathEntry): No such file or directory";
|
||||
continue;
|
||||
};
|
||||
|
||||
$explicitFileFound = $false;
|
||||
if ((-not $isWildcard) -and (Test-Path -Path ($pathEntry) -PathType 'Leaf')) {
|
||||
$explicitFileFound = $true;
|
||||
};
|
||||
|
||||
foreach ($item in ($resolvedItems)) {
|
||||
if ($item.PSIsContainer) { continue; };
|
||||
|
||||
if (-not $explicitFileFound) {
|
||||
if ($skipExtensions -contains $item.Extension.ToLower()) {
|
||||
continue;
|
||||
}
|
||||
};
|
||||
$allItems += $item;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# --- DIRECT MATCH MODE (-m / -Match) ---
|
||||
if ($PSCmdlet.ParameterSetName -eq 'Match') {
|
||||
if ([string]::IsNullOrWhiteSpace($Algorithm)) {
|
||||
$Algorithm = Get-AlgorithmFromHashLength -HashString ($Match);
|
||||
if (-not $Algorithm) { return; };
|
||||
};
|
||||
|
||||
$expectedHash = $Match.Trim().ToLower();
|
||||
|
||||
foreach ($item in ($allItems)) {
|
||||
$actualHash = (Get-FileHash -Path ($item.FullName) -Algorithm ($Algorithm)).Hash.ToLower();
|
||||
$targetFile = Resolve-Path -Path ($item.FullName) -Relative -ErrorAction 'SilentlyContinue';
|
||||
if (-not $targetFile) { $targetFile = $item.Name; };
|
||||
if ($targetFile.StartsWith(".\") -or $targetFile.StartsWith("./")) { $targetFile = $targetFile.Substring(2); };
|
||||
|
||||
if ($actualHash -eq $expectedHash) {
|
||||
Write-Host "${targetFile}: " -NoNewline;
|
||||
Write-Host "OK" -ForegroundColor Green;
|
||||
} else {
|
||||
Write-Host "${targetFile}: " -NoNewline;
|
||||
Write-Host "FAILED" -ForegroundColor Red;
|
||||
};
|
||||
};
|
||||
}
|
||||
# --- VERIFICATION MODE (-c / -Check) ---
|
||||
elseif ($PSCmdlet.ParameterSetName -eq 'Verify') {
|
||||
$checkFiles = @();
|
||||
if ($Recursive) {
|
||||
$checkFileName = Split-Path -Path ($Check) -Leaf;
|
||||
$checkFiles = Get-ChildItem -Path '.\' -Filter ($checkFileName) -Recurse -File -ErrorAction 'SilentlyContinue';
|
||||
} else {
|
||||
if (Test-Path -Path ($Check) -PathType 'Leaf') {
|
||||
$checkFiles = @(Get-Item -Path ($Check));
|
||||
}
|
||||
};
|
||||
|
||||
if (-not $checkFiles -or $checkFiles.Count -eq 0) {
|
||||
Write-Error "checksum: $($Check): No such file or directory";
|
||||
return;
|
||||
};
|
||||
|
||||
foreach ($cf in ($checkFiles)) {
|
||||
$lines = Get-Content -Path ($cf.FullName);
|
||||
$baseDir = $cf.DirectoryName;
|
||||
|
||||
$fileAlgo = $Algorithm;
|
||||
if ([string]::IsNullOrWhiteSpace($fileAlgo)) {
|
||||
foreach ($line in ($lines)) {
|
||||
if ([string]::IsNullOrWhiteSpace($line) -or $line.StartsWith("#")) { continue; };
|
||||
|
||||
if ($line -match '^([a-fA-F0-9]+)\s+') {
|
||||
$fileAlgo = Get-AlgorithmFromHashLength -HashString ($Matches[1]);
|
||||
break;
|
||||
}
|
||||
elseif ($line -match '^([a-fA-F0-9]{128}|[a-fA-F0-9]{96}|[a-fA-F0-9]{64}|[a-fA-F0-9]{40}|[a-fA-F0-9]{32})') {
|
||||
$fileAlgo = Get-AlgorithmFromHashLength -HashString ($Matches[1]);
|
||||
break;
|
||||
}
|
||||
};
|
||||
if ([string]::IsNullOrWhiteSpace($fileAlgo)) { $fileAlgo = 'SHA256'; };
|
||||
};
|
||||
|
||||
foreach ($line in ($lines)) {
|
||||
if ([string]::IsNullOrWhiteSpace($line) -or $line.StartsWith("#")) { continue; };
|
||||
|
||||
$expectedHash = $null;
|
||||
$targetFile = $null;
|
||||
|
||||
if ($line -match '^([a-fA-F0-9]+)\s+[* ]?(.*)$') {
|
||||
$expectedHash = $Matches[1].ToLower();
|
||||
$targetFile = $Matches[2].Trim().TrimStart('*');
|
||||
}
|
||||
elseif ($line -match '^([a-fA-F0-9]{128}|[a-fA-F0-9]{96}|[a-fA-F0-9]{64}|[a-fA-F0-9]{40}|[a-fA-F0-9]{32})[* ]?(.*)$') {
|
||||
$expectedHash = $Matches[1].ToLower();
|
||||
$targetFile = $Matches[2].Trim().TrimStart('*');
|
||||
};
|
||||
|
||||
if ($expectedHash -and $targetFile) {
|
||||
$targetFullPath = Join-Path -Path ($baseDir) -ChildPath ($targetFile);
|
||||
|
||||
if (Test-Path -Path ($targetFullPath) -PathType 'Leaf') {
|
||||
$actualHash = (Get-FileHash -Path ($targetFullPath) -Algorithm ($fileAlgo)).Hash.ToLower();
|
||||
|
||||
$displayPath = Resolve-Path -Path ($targetFullPath) -Relative -ErrorAction 'SilentlyContinue';
|
||||
if (-not $displayPath) { $displayPath = $targetFile; };
|
||||
if ($displayPath.StartsWith(".\") -or $displayPath.StartsWith("./")) { $displayPath = $displayPath.Substring(2); };
|
||||
|
||||
if ($actualHash -eq $expectedHash) {
|
||||
Write-Host "${displayPath}: " -NoNewline;
|
||||
Write-Host "OK" -ForegroundColor Green;
|
||||
} else {
|
||||
Write-Host "${displayPath}: " -NoNewline;
|
||||
Write-Host "FAILED" -ForegroundColor Red;
|
||||
};
|
||||
} else {
|
||||
$displayPath = $targetFile;
|
||||
if ($baseDir -ne (Get-Location).Path) {
|
||||
$displayPath = Join-Path -Path (Resolve-Path -Path ($baseDir) -Relative -ErrorAction 'SilentlyContinue') -ChildPath ($targetFile);
|
||||
if ($displayPath.StartsWith(".\") -or $displayPath.StartsWith("./")) { $displayPath = $displayPath.Substring(2); };
|
||||
};
|
||||
Write-Host "${displayPath}: " -NoNewline;
|
||||
Write-Host "FAILED open or read" -ForegroundColor Red;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
# --- GENERATION MODE ---
|
||||
else {
|
||||
if ([string]::IsNullOrWhiteSpace($Algorithm)) {
|
||||
$Algorithm = 'SHA256';
|
||||
};
|
||||
|
||||
$wantCustomOut = $PSBoundParameters.ContainsKey('OutFile');
|
||||
$wantAutoOut = $AutoOut.IsPresent;
|
||||
|
||||
if ($wantCustomOut -or $wantAutoOut) {
|
||||
# Recursive wildcard auto-saves per directory
|
||||
if ($Recursive -and $isWildcardGlobal) {
|
||||
$groupedItems = $allItems | Group-Object DirectoryName;
|
||||
|
||||
foreach ($group in ($groupedItems)) {
|
||||
$dirPath = $group.Name;
|
||||
$filesInDir = $group.Group;
|
||||
|
||||
if ($wantCustomOut) {
|
||||
$currentOutFile = Join-Path -Path ($dirPath) -ChildPath ($OutFile);
|
||||
} else {
|
||||
$currentOutFile = Join-Path -Path ($dirPath) -ChildPath "checksums.$($Algorithm.ToLower())";
|
||||
};
|
||||
|
||||
$linesToWrite = @();
|
||||
foreach ($item in ($filesInDir)) {
|
||||
$hash = (Get-FileHash -Path ($item.FullName) -Algorithm ($Algorithm)).Hash.ToLower();
|
||||
$relativePath = $item.Name;
|
||||
|
||||
$outputLine = "${hash} ${relativePath}";
|
||||
$linesToWrite += $outputLine;
|
||||
Write-Output $outputLine;
|
||||
};
|
||||
|
||||
Set-Content -Path ($currentOutFile) -Value $linesToWrite -Encoding utf8;
|
||||
};
|
||||
}
|
||||
else {
|
||||
# Custom file OR Auto file with a wildcard
|
||||
if ($wantCustomOut -or ($wantAutoOut -and $isWildcardGlobal)) {
|
||||
if ($wantCustomOut) {
|
||||
$singleOutFile = $OutFile;
|
||||
} else {
|
||||
$singleOutFile = "checksums.$($Algorithm.ToLower())";
|
||||
};
|
||||
|
||||
$linesToWrite = @();
|
||||
foreach ($item in ($allItems)) {
|
||||
$hash = (Get-FileHash -Path ($item.FullName) -Algorithm ($Algorithm)).Hash.ToLower();
|
||||
|
||||
$relativePath = Resolve-Path -Path ($item.FullName) -Relative -ErrorAction 'SilentlyContinue';
|
||||
if (-not $relativePath) { $relativePath = $item.Name; };
|
||||
if ($relativePath.StartsWith(".\") -or $relativePath.StartsWith("./")) {
|
||||
$relativePath = $relativePath.Substring(2);
|
||||
};
|
||||
|
||||
$outputLine = "${hash} ${relativePath}";
|
||||
$linesToWrite += $outputLine;
|
||||
Write-Output $outputLine;
|
||||
};
|
||||
|
||||
Set-Content -Path ($singleOutFile) -Value $linesToWrite -Encoding utf8;
|
||||
}
|
||||
# Auto file for explicit individual files (No wildcard)
|
||||
else {
|
||||
foreach ($item in ($allItems)) {
|
||||
$hash = (Get-FileHash -Path ($item.FullName) -Algorithm ($Algorithm)).Hash.ToLower();
|
||||
|
||||
$relativePath = Resolve-Path -Path ($item.FullName) -Relative -ErrorAction 'SilentlyContinue';
|
||||
if (-not $relativePath) { $relativePath = $item.Name; };
|
||||
if ($relativePath.StartsWith(".\") -or $relativePath.StartsWith("./")) {
|
||||
$relativePath = $relativePath.Substring(2);
|
||||
};
|
||||
|
||||
$outputLine = "${hash} ${relativePath}";
|
||||
Write-Output $outputLine;
|
||||
|
||||
# Save directly next to the original file: <filename>.<algo>
|
||||
$itemOutFile = "$($item.FullName).$($Algorithm.ToLower())";
|
||||
Set-Content -Path ($itemOutFile) -Value $outputLine -Encoding utf8;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
# Standard console output (No save flags passed)
|
||||
else {
|
||||
foreach ($item in ($allItems)) {
|
||||
$hash = (Get-FileHash -Path ($item.FullName) -Algorithm ($Algorithm)).Hash.ToLower();
|
||||
|
||||
$relativePath = Resolve-Path -Path ($item.FullName) -Relative -ErrorAction 'SilentlyContinue';
|
||||
if (-not $relativePath) { $relativePath = $item.Name; };
|
||||
if ($relativePath.StartsWith(".\") -or $relativePath.StartsWith("./")) {
|
||||
$relativePath = $relativePath.Substring(2);
|
||||
};
|
||||
|
||||
$outputLine = "${hash} ${relativePath}";
|
||||
Write-Output $outputLine;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
end {}
|
||||
@@ -1,7 +0,0 @@
|
||||
param(
|
||||
# powershell is factually gay idkl why its such a shit
|
||||
[Parameter(Mandatory=$True, Position=0)]
|
||||
[string]$Filename
|
||||
)
|
||||
# apng is far hjigher quality and also preserves transparancy :activated:
|
||||
ffmpeg -i "$Filename" -plays 0 -f apng "$Filename.apng"
|
||||
@@ -0,0 +1,18 @@
|
||||
param(
|
||||
# powershell is factually gay idkl why its such a shit
|
||||
[Parameter(Mandatory=$True, Position=0)] # deband the param, its in position 0 so ya canb just ffmpreg_gif_loopy filename.mp4 OR ffmpreg_gif_loopy -Filename filename.mp4
|
||||
[string]$Filename # var for filename string
|
||||
)
|
||||
# apng is far hjigher quality and also preserves transparancy :activated:
|
||||
$noextpath = [System.IO.Path]::GetFileNameWithoutExtension($Filename) # get filename without extension
|
||||
$gifpath = "$noextpath`_MAXLOOP.gif" # add da .gif extension and MAXLOOP tag
|
||||
|
||||
# ffmpeg
|
||||
## -i input file (mp4)
|
||||
## settings for -filter_complex purely vibe coded for max quality
|
||||
### split [a][b]: Splitting clones the video stream into two identical, simultaneous feeds. This lets you process the color palette and render the GIF all in one
|
||||
### palettegen=stats_mode=single: This generates the highest quality 256-color palette based strictly on the exact colors present in your video. Changing the mode to single tells FFmpeg to optimize colors for moving objects across frames.
|
||||
### paletteuse=dither=bayer:bayer_scale=5: This dictates how colors are blended. Using a strict bayer dither with a scale of 5 keeps gradients incredibly clean and crisp, eliminating the ugly "cross-hatch" or "grainy" patterns typical of basic GIFs
|
||||
## -loop 0 maek da gif loop
|
||||
## outputfile (gif)
|
||||
ffmpeg -i "$Filename" -filter_complex "[0:v] split [a][b];[a] palettegen=stats_mode=single [p];[b][p] paletteuse=dither=bayer:bayer_scale=5" -loop 0 "$gifpath"
|
||||
@@ -0,0 +1,99 @@
|
||||
[CmdletBinding()]
|
||||
param(
|
||||
# First string to compare
|
||||
[Parameter(Position = 0)]
|
||||
[string]$String1,
|
||||
|
||||
# Second string to compare
|
||||
[Parameter(Position = 1)]
|
||||
[string]$String2,
|
||||
|
||||
# Optional switch to enable case-sensitive comparison
|
||||
[switch]$CaseSensitive,
|
||||
|
||||
# Help flag (-h, -Help)
|
||||
[Alias('h')]
|
||||
[switch]$Help
|
||||
)
|
||||
|
||||
begin {
|
||||
function Show-Help {
|
||||
@'
|
||||
NAME
|
||||
match - Compare two strings and output visual match status
|
||||
|
||||
SYNOPSIS
|
||||
match <String1> <String2> [-CaseSensitive]
|
||||
match -Help
|
||||
|
||||
DESCRIPTION
|
||||
Compares two string arguments.
|
||||
Outputs "Match OK" in GREEN if they match.
|
||||
Outputs "FAIL: NO MATCH" in RED if they differ.
|
||||
|
||||
PARAMETERS
|
||||
String1
|
||||
The first string to compare.
|
||||
|
||||
String2
|
||||
The second string to compare.
|
||||
|
||||
-CaseSensitive
|
||||
Perform a case-sensitive comparison (default is case-insensitive).
|
||||
|
||||
-h, -Help, h, help (case insensitive)
|
||||
Display this help message.
|
||||
|
||||
EXAMPLES
|
||||
1. Compare two strings (case-insensitive default):
|
||||
match "hello" "Hello"
|
||||
Output: Match OK (in green)
|
||||
|
||||
2. Compare two strings with case sensitivity:
|
||||
match "hello" "Hello" -CaseSensitive
|
||||
Output: FAIL: NO MATCH (in red)
|
||||
|
||||
3. Compare hashes or checksum outputs:
|
||||
match "e3b0c442" "e3b0c442"
|
||||
Output: Match OK (in green)
|
||||
'@
|
||||
}
|
||||
}
|
||||
|
||||
process {
|
||||
# Check if help was explicitly requested via flag or positional parameter
|
||||
$isHelpRequested = $Help.IsPresent -or (
|
||||
$PSBoundParameters.Count -gt 0 -and (
|
||||
($String1 -and $String1 -match '^(?i)[-/]{0,2}(h|help)$') -or
|
||||
($String2 -and $String2 -match '^(?i)[-/]{0,2}(h|help)$')
|
||||
)
|
||||
)
|
||||
|
||||
if ($isHelpRequested) {
|
||||
Show-Help
|
||||
return
|
||||
}
|
||||
|
||||
# Trigger help usage if either string parameter is missing or whitespace
|
||||
if ([string]::IsNullOrWhiteSpace($String1) -or [string]::IsNullOrWhiteSpace($String2)) {
|
||||
Write-Host "Error: Missing required arguments." -ForegroundColor Yellow
|
||||
Write-Host "Usage: match <String1> <String2> [-CaseSensitive]" -ForegroundColor Cyan
|
||||
Write-Host "Run 'match -Help' for detailed documentation.`n"
|
||||
return
|
||||
}
|
||||
|
||||
# Compare strings based on case-sensitivity choice
|
||||
$isMatch = if ($CaseSensitive) {
|
||||
$String1 -ceq $String2
|
||||
} else {
|
||||
$String1 -eq $String2
|
||||
}
|
||||
|
||||
if ($isMatch) {
|
||||
Write-Host "`n`nSUCCESS: MATCH OK!`n`n" -ForegroundColor Green
|
||||
} else {
|
||||
Write-Host "`n`nFAIL: NO MATCH!`n`n" -ForegroundColor Red
|
||||
}
|
||||
}
|
||||
|
||||
end {}
|
||||
@@ -1,6 +0,0 @@
|
||||
param (
|
||||
[Parameter(Mandatory=$true)]
|
||||
[string]$infile
|
||||
)
|
||||
|
||||
Invoke-Expression "$PSScriptRoot\winhash.ps1 $infile MD5"
|
||||
@@ -0,0 +1,38 @@
|
||||
# TEXT TO ASCII ART GENERATOR https://patorjk.com/software/taag/#p=display&f=Graceful&t=PRINCESS+PI&x=none&v=4&h=4&w=80&we=false
|
||||
# IMAGE TO ASCII ART GENERATOR https://www.asciiart.eu/image-to-ascii
|
||||
Clear-Host # cleanup
|
||||
Write-Host -ForegroundColor Magenta @'
|
||||
=--= =----=
|
||||
=--= -------=
|
||||
=--= --------=
|
||||
=----= --- =---------=
|
||||
----= =--- ---==++=----:-----=
|
||||
=-----= - ---- ========----::----=
|
||||
=------= ----=+===-::::::::=+**++===+#
|
||||
==-----=----=+**+=:::-======++******+==+##
|
||||
=------=-=+*:::-=============+*****+==+*##
|
||||
=------=+=:-++==--+=++===+====+***+===***=
|
||||
=--------+*===---+===+===+++==+**=+==+**+-
|
||||
=------=+===--=+++==++++%%*==**====+**+.- -
|
||||
#=---=+====-=+++=+++*+.%+-==**=-==+**+.. --
|
||||
#**+--+========++++#%#**=--==**--==+**=..: =-
|
||||
*****+======+-+++*%%@@%=---==**--+=+*--:..- =
|
||||
#*****=====+=-=++***#%#-----=**=-+=+*=---:.. %%
|
||||
%****+====+=--=+++.:+*=-------=*-===**=---:..- %%
|
||||
#***+=====------=:.-=----------==+=+**+---...: %%%%#%
|
||||
#**+====:---------=-------------+=+=***=-....: %%##%%##
|
||||
%***====..:---------------------==+=-****:.....+%#%%#%%%%#
|
||||
#**+==*=...---------------:.----+==--=***=....##%#######%%
|
||||
#***+=+*=...--------------:..:--=+=----+***:...#%###%%##%
|
||||
#**+==+*=..:-------------:...:--++------=***.:+##%#%%%#% =
|
||||
#***+==+**...:----------:.....:--+=------==**++##%#%%%%% =-
|
||||
#***#+==+**=.................+*---+=------=#+=##%%##%%%#%=---
|
||||
%#**#%*===+***-.....---...=+.:*#=----------=##*#%####%%%%#=----
|
||||
%#### +===****-...: -+##=#%%+---------+###%%%%%%#%%%%%*-----
|
||||
*===+****-..- %###%%%+------=*######%%%%%%%##%#*------
|
||||
+===+****-.- %##%%%*-----#########%####%#####*-------
|
||||
____ ____ __ __ _ ___ ____ ____ ____ ____ __
|
||||
( _ \( _ \( )( ( \ / __)( __)/ ___)/ ___) ( _ \( )
|
||||
) __/ ) / )( / /( (__ ) _) \___ \\___ \ ) __/ )(
|
||||
(__) (__\_)(__)\_)__) \___)(____)(____/(____/ (__) (__)
|
||||
'@
|
||||
@@ -1,6 +0,0 @@
|
||||
param (
|
||||
[Parameter(Mandatory=$true)]
|
||||
[string]$infile
|
||||
)
|
||||
|
||||
Invoke-Expression "$PSScriptRoot\winhash.ps1 $infile SHA1"
|
||||
@@ -1,6 +0,0 @@
|
||||
param (
|
||||
[Parameter(Mandatory=$true)]
|
||||
[string]$infile
|
||||
)
|
||||
|
||||
Invoke-Expression "$PSScriptRoot\winhash.ps1 $infile SHA256"
|
||||
@@ -1,6 +0,0 @@
|
||||
param (
|
||||
[Parameter(Mandatory=$true)]
|
||||
[string]$infile
|
||||
)
|
||||
|
||||
Invoke-Expression "$PSScriptRoot\winhash.ps1 $infile SHA384"
|
||||
@@ -1,6 +0,0 @@
|
||||
param (
|
||||
[Parameter(Mandatory=$true)]
|
||||
[string]$infile
|
||||
)
|
||||
|
||||
Invoke-Expression "$PSScriptRoot\winhash.ps1 $infile SHA512"
|
||||
@@ -1,143 +0,0 @@
|
||||
# Usage:
|
||||
# Open PowerShell as Administrator
|
||||
# win+x
|
||||
# alt+a
|
||||
# alt+y
|
||||
# Run:
|
||||
# In admin powershell Terminal:
|
||||
# iwr -UseBasicParsing -Uri "https://git.thecoven.info/PrincessPi/general-scripts-and-system-ssssssetup/raw/branch/main/Windows-Scripts/windows-repair.ps1?nocache=$(Get-Random)" -OutFile "$env:TEMP\windows-repair-temp.ps1"; powershell -ExecutionPolicy Bypass -File "$env:TEMP\windows-repair-temp.ps1"
|
||||
# or maybe
|
||||
# iwr https://git.thecoven.info/PrincessPi/general-scripts-and-system-ssssssetup/raw/branch/main/Windows-Scripts/windows-repair.ps1 | iex
|
||||
|
||||
# check if hasadmin rights, if notm run script in new terminal, clopsing old
|
||||
## if not, carry on
|
||||
if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S-1-5-32-544')) {
|
||||
# launch tghis script int new window after promopting for admin
|
||||
Start-Process -FilePath 'powershell' -Verb RunAs -ArgumentList "-ExecutionPolicy Bypass -File $PSCommandPath"
|
||||
|
||||
# CLOSE previous terminal
|
||||
exit 0
|
||||
} else {
|
||||
clear # clear window
|
||||
|
||||
Write-Host -ForegroundColor Magenta @'
|
||||
.. .....
|
||||
....------..
|
||||
..:--------.. .......
|
||||
..----------.. ....---..
|
||||
...---------=------::....:----:..
|
||||
..-----=+**************=-----:...
|
||||
.----+****************=-----...
|
||||
.--=****************=-----=**+:::--:....
|
||||
.-=#*********##**++=---====++**+-----:.
|
||||
..:==********#=.+@%-==++===++===++*=----...
|
||||
.:=::******%%+-::=++====+==++====+**=--...
|
||||
.:+..+*****--@===-:-%--====-=+====+*#=:..
|
||||
.-=.-****#=.#+===--=+===----======+*+..
|
||||
.:=:+****#@#+=====-**-----*+====++**:.
|
||||
.. .=****=--======-..%-----%+==++***+-..
|
||||
..=++***+-.----======..*-----#+==+***#%#+..
|
||||
.. .:-..---=====--------=-+==+**-@*. ............::::::....
|
||||
..=:..--===+-:-------*%+==*+#%**=. .....:-------------------------:.
|
||||
..............-:..--===+-..:-------+==+==.:... ...:----------------------------::.
|
||||
......:----------::=:...--==+--:.:-------+==+=:.... ....--------------------------:.....
|
||||
..:::----------------=-::.:--===---:.:------=--:.... ...:---------------------------...
|
||||
..:------------------=--:..:--=+=--------::.:+-..... ...------------------------------..
|
||||
...:-----------------:....----==-------:...=%*.......:::--------------------------------:..
|
||||
...--------------:+......---------------:+%%#.----------------------------:.......-----:..
|
||||
.:----===-------:-.. .:--------------*%%%%=--------------========------:.......-------:...
|
||||
..-:.:------------....-.=---------=#%%%%##%------------=-----------------------------------..
|
||||
.:--:....:--------:##*=:.-------=#%%%%%%#%+-----------=-------------------------------------:
|
||||
..:-----------------::*%%#-------=###%%%%##=--------------------------------------:............
|
||||
..:-------------------:.-#%%##+==+%%%%%%#%+------------------------...:::--------------::::::..
|
||||
...:----------------------..-#%#%%%%%%%%*+#%=-------------------------=-:....:----------------:...
|
||||
--------------------------:.-#%%%%%%%%+#@%%%--------------------------=++=-::---------------:...
|
||||
---------------------------...+%%%%%%%#%%%%#---------------------------------------------:....
|
||||
............------.....----:....-#%%%%%%%*=------------------------------::+=---------.......
|
||||
..:-... ....-----.. ....-=-------------------------------------.=*+=.......
|
||||
..---:....:-----:.......:--------------------------:-------------==+=-......
|
||||
.:-------------..........:---------------------------..:-------------==..........
|
||||
..-------------:... ...--------:...----------------....:-----------==-...........
|
||||
..:----==------:..-.... ..--------:...:---------------.....:----------=+-.....
|
||||
..------==+=++==-..+--:. .:--------.....-----------=*%=.. ..----------=+=......
|
||||
....------------........:... ..:--------.....-------+#%%#@%.. ...----------=+=......
|
||||
....---------===:............... .:----=+*#=. ..--+#**+%@@@#%+. ..:-:..=----=*=:.....
|
||||
:............:=::+=:--:=.=-.::=... ..*@*-+%@@@:.....-@@#%@*#@@@#%:.. ..-:..---:-#**+-.........
|
||||
.. ...::::....::-.:.::-.. ..*%:..*@@@*.. ..-%#%@@+%@@@@=.. ...::.=#=..-%*++=:... ...
|
||||
...... .......... ..**...*#=*%:. .-*#@%+#%@@@@+... ..*%@%+...+%+=*+=-...
|
||||
..*#:.-#+..+-. ..-*#**%%*%@@%=.. ..-%@@*:..+@%=:+**+=:..
|
||||
..*@#*%%=..==. .-*%@#%@##@@@#-. ...#@@%*-=%@@#:..-=++=-
|
||||
.:#@*-:++..==. .=#%@%*@@*%*=+*:....:.+@*::+%@@@%=......-*
|
||||
.-%+...=%##%-. .+@*@%*%@##*-:*+..:-==*@=..:#@+:=*:.......
|
||||
.:*#:..:*@@@%:. .-%@*%@#*%*#=..-%-....:+#=-.:#%-.:+-.......
|
||||
.+@#=.-*@@@@*.. ....-%@@@@@@=..+%*.. .-%--=+#%-.:*-. ....
|
||||
.-=++++++++=... .:***+++==::::... .-%#=-*#%#**#-.
|
||||
..............
|
||||
'@
|
||||
|
||||
Write-Host "`nFIXING WINDOWS FULL PRINCESS PI STYLE (THIS WILL TAKE MANY HOURS AND REBOOT MORE THAN ONCE, SLOWLY)`n" -ForegroundColor Magenta
|
||||
|
||||
Write-Host "ABORTING ANY SCHEDULED SHUTDOWN 1/17"
|
||||
shutdown.exe /a > $null 2> $null # cmd abort scheduled shutdowns
|
||||
|
||||
Write-Host "GENERATING AND DISPLAYING COMPREHENSIVE STABILITY REPORT 2/17"
|
||||
Start-Process "perfmon.exe" -ArgumentList "/report" -Wait
|
||||
|
||||
Write-Host "GENERATING AND DISPLAYING STABILITY HISTORY REPORT 3/17"
|
||||
Start-Process "perfmon.exe" -ArgumentList "/rel" -Wait
|
||||
|
||||
Write-Host "CLEARING DNS 4/17"
|
||||
ipconfig.exe /flushsdns > $null
|
||||
|
||||
Write-Host "CLEARING ARP CACHE 5/17"
|
||||
Remove-NetNeighbor -Confirm:$false > $null 2> $null
|
||||
|
||||
Write-Host "CLEARING ALL SAMBA CREDENTIALS 6/17"
|
||||
net.exe use * /delete /y > $null 2> $null # nuke all samba creds
|
||||
|
||||
Write-Host "RELEASING AND RENEWING DHCP 7/17"
|
||||
# release and renew dhcp
|
||||
ipconfig.exe /release > $null
|
||||
ipconfig.exe /renew > $null
|
||||
|
||||
Write-Host "GETTING CONTROL OF WINDOWS UPDATE"
|
||||
Install-Module -Name PSWindowsUpdate -Force > $null 2> $null
|
||||
|
||||
|
||||
Import-Module PSWindowsUpdate
|
||||
|
||||
Write-Host "UPDATING MALWARE SIGNATURES 8/17"
|
||||
Update-MpSignature # update windows defender malware siggs
|
||||
|
||||
Write-Host "RUNNING WINDOWS MALICIOUS SOFTWARE REMOVAL TOOL (MRT, MAY TAKE A LONG TIME, WONT SHOW STATUS) 9/17"
|
||||
Start-Process -FilePath "MRT.exe" -ArgumentList "/F:Y /Q" -Wait # do full microsoft malicious software removal scan in background automatically removing anything found, wait to proceed
|
||||
|
||||
Write-Host "UPDATING MALWARE SIGNATURES (AGAIN) 10/17"
|
||||
Update-MpSignature # update windows defender malware siggs
|
||||
|
||||
Write-Host "RUNNING FULL WINDOWS DEFENDER SCAN 11/17"
|
||||
Start-MpScan -ScanType FullScan # full windows defender scan
|
||||
|
||||
Write-Host "RUNNING DISM ONLINE IMAGE CLEANUP 12/17"
|
||||
DISM.exe /Online /Cleanup-Image /RestoreHealth # online check for bad files
|
||||
|
||||
Write-Host "RUNNING SYSTEM FILE CHECKER (SFC) 13/17"
|
||||
SFC.exe /scannow # older check for bad files
|
||||
|
||||
Write-Host "SCHEDULING ESSENTIAL FILE CHECK ON NEXT BOOT 14/17"
|
||||
SFC.exe /scanonce # check essential files on next boot
|
||||
|
||||
Write-Host "SCHEDULING OFFLINE CHECK DISK AND REPAIR OF C: (CHKDSK) 15/17"
|
||||
echo y | chkdsk.exe /f /r C: # cmd checks C drive after reboot to waste time and fix errors (noninteractive via y ffuckery)
|
||||
|
||||
Write-Host "SCHEDULINMG OFFLINE MEMTEST 16/17"
|
||||
mdsched.exe /s # schedule offline memtest (noninteractive)
|
||||
|
||||
Write-Host "SCHEDULING WINDOWS DEFENDER OFFLINE SCAN MAY REBOOT UNEXPECTEDLY 17/17"
|
||||
Start-MpWDOScan # powershell starts Windows Defender Offline Scan after reboot
|
||||
|
||||
Write-Host "`nREBOOTING IN 5 MINUTES MAX PROVBABLY SOONER`n"
|
||||
shutdown.exe /r /t (60*5) # shutdown in 5 minutes as failsafe
|
||||
|
||||
Write-Host "`nDONEsiez :3~`n"
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
# Usage:
|
||||
## .\winhash.ps1 <FILE> <ALGO>
|
||||
## Algos Supported:
|
||||
### MD5
|
||||
### SHA1
|
||||
### SHA256
|
||||
### SHA384
|
||||
### SHA512
|
||||
## Example:
|
||||
### .\winhash.ps1 sillyfilly.bin SHA256
|
||||
## Outputs to terminal and to a text file
|
||||
### Text file name format <input filepath>.<unix epoch microseconds>.<hashing algorithm>.txt
|
||||
|
||||
param (
|
||||
[Parameter(Mandatory=$true)] # prompt for input if not specified via cli
|
||||
[string]$infile,
|
||||
|
||||
[Parameter(Mandatory=$true)] # this 1 2 :pope:
|
||||
[string]$algo
|
||||
)
|
||||
|
||||
function Get-UnixMicroseconds {
|
||||
$unixEpoch = [DateTimeOffset]'1970-01-01T00:00:00Z' # unix epoch constant
|
||||
$currentTime = [DateTimeOffset]::UtcNow # current utc time
|
||||
$timeDifferenceTicks = $currentTime.Ticks - $unixEpoch.Ticks # subtract current time from unix epoch constant in ticks
|
||||
$microseconds = [Int64]($timeDifferenceTicks / 10) # use 64bit int, divide ticks by 10 to give microseconds
|
||||
|
||||
# I am literally using Unix microseconds because they are more fun than Unix seconds :pinkie:
|
||||
return $microseconds
|
||||
}
|
||||
|
||||
# jesus fuckin analbeads the selection of hash algos in powershell is weird and limited
|
||||
# probably because Bill Gates and Satya Nadella get together with the other C-suite executives
|
||||
# and hypergoon to leagelese in clickwrap agreements that absolves them of liability and
|
||||
# lets them sell our private data and other assorted dickpics or sumtin idk man lmao
|
||||
$hash = $(Get-FileHash -Path $infile -Algorithm $algo | Format-List) # do da fookin hashin right dafucc here
|
||||
echo $hash # show user
|
||||
echo $hash > "$infile.$(Get-UnixMicroseconds).$algo.txt" # make the txt file
|
||||
@@ -0,0 +1,58 @@
|
||||
#!/bin/bash
|
||||
domain=kasm.h.acker.is
|
||||
local_port=8443
|
||||
swap_size_gib=6
|
||||
sudo apt update
|
||||
sudo apt dist-upgrade -y
|
||||
sudo fallocate -l ${swap_size_gib}g /mnt/${swap_size_gib}GiB.swap
|
||||
sudo chmod 600 /mnt/${swap_size_gib}GiB.swap
|
||||
sudo mkswap /mnt/${swap_size_gib}GiB.swap
|
||||
sudo swapon /mnt/${swap_size_gib}GiB.swap
|
||||
echo "/mnt/${swap_size_gib}GiB.swap swap swap defaults 0 0" | sudo tee -a /etc/fstab
|
||||
cd /tmp
|
||||
curl -O https://kasm-static-content.s3.amazonaws.com/kasm_release_1.19.0-latest.tar.gz
|
||||
tar -xf kasm_release*.tar.gz
|
||||
sudo bash kasm_release/install.sh -L $local_port
|
||||
sudo apt update
|
||||
sudo apt install nginx certbot python3-certbot-nginx -y
|
||||
sudo certbot certonly --nginx -d $domain
|
||||
sudo cat << 'EOF' > /etc/nginx/sites-available/$domain
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name $domain;
|
||||
ssl_certificate /etc/letsencrypt/live/$domain/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/$domain/privkey.pem;
|
||||
location / {
|
||||
# WebSocket Support
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
# Host and X headers
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
# Should match the listening port of this proxy
|
||||
proxy_set_header X-Forwarded-Port 443;
|
||||
|
||||
# Connectivity Options
|
||||
proxy_http_version 1.1;
|
||||
proxy_read_timeout 1800s;
|
||||
proxy_send_timeout 1800s;
|
||||
proxy_connect_timeout 1800s;
|
||||
proxy_buffering off;
|
||||
|
||||
# Allow large requests to support file uploads to sessions
|
||||
client_max_body_size 10M;
|
||||
|
||||
# Proxy to Kasm Workspaces running locally on $local_port using ssl
|
||||
proxy_pass https://127.0.0.1:$local_port;
|
||||
}
|
||||
}
|
||||
EOF
|
||||
sudo ln -s /etc/nginx/sites-available/$domain /etc/nginx/sites-enabled/$domain
|
||||
sudo nginx -t
|
||||
sudo systemctl restart nginx
|
||||
sudo docker restart kasm_api
|
||||
sudo shutdown -r +7
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
# set -euo pipefail # we tolerate no failure :pensive: 😔
|
||||
|
||||
# nullglobyyyy so da FUCKIN wildcard STOPS BEING A FUCK
|
||||
shopt -s nullglob
|
||||
|
||||
# add da current dir name, and timedate stamp to it plus sum middleshit idk
|
||||
default_file_name="$(date +%Y-%m-%d-%H%M-%Z)_$(printf '%s\n' ${PWD##*/})_ChecksumsSHA256.sha256"
|
||||
|
||||
existing_sha256_files=(*.sha256)
|
||||
|
||||
# just for spooky :3
|
||||
## sumtin spookie :3
|
||||
|
||||
# if sha256 files exist, handle
|
||||
if [ ${#existing_sha256_files[@]} -gt 0 ]; then
|
||||
# existing sha256 files fond
|
||||
echo "Existing *.sha256 files found in $PWD, Checking the Latest $default_file_name"
|
||||
|
||||
for file in *.sha256; do
|
||||
# on fnding sha256 files in pwd, generate shas56 checks of each one, notify OK! on success, delete the offending sha256 file if fail
|
||||
[ -f "$file" ] && sha256sum -c $file && echo -e "$file Check: \033[0;32mOK!\033[0m\n" || (echo -e "\n$file NO MATCH! Deleting Bad File \033[31mFAIL\033[0m\n\n"; rm -f $file) # 2>/dev/null)
|
||||
done
|
||||
# validate the found checksums
|
||||
sha256sum -c *.sha256 | tee -a "$default_file_name" && echo -e "\nAll Checksums: \033[0;32mOK!\033[0m\n" || echo -e "\nOne or More Checksums Failed to Match: \033[33mWARN ($?)\033[0m\n"
|
||||
else
|
||||
# no sha256 files, run generate
|
||||
echo "NO Existing *.sha256 files found! Generating sha256 checksums recursively"
|
||||
|
||||
# recursive search in current working dir,
|
||||
find "$PWD" -type f -exec bash -c "sha256sum {} | tee -a \"$PWD/$default_file_name\"" \; && echo -e "\nAll Checksums Created: \033[0;32mOK!\033[0m\n\tLog File: $default_file_name\n" || echo -e "\nOne or More Cecksums Failed to Run: \033[31mWARN ($?)\033[0m\n"
|
||||
fi
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
set -e # we do noot tolerate failure here
|
||||
|
||||
# aint got no time for no bs
|
||||
if [ -z "$1" ]; then
|
||||
echo -e "ERROR\nUsage: hash_cred_check.sh <email or phone number>"
|
||||
exit 1 # fail with error
|
||||
fi
|
||||
|
||||
# 256 bits of random shit, encoded as base64
|
||||
salt="$(openssl rand -base64 32)"
|
||||
|
||||
# set credential
|
||||
credential="$1"
|
||||
|
||||
# output hex bytes after doi one hell of a argon2id fuckery
|
||||
hash=$(echo -n "$credential" | argon2 "$(base64 -d <<< $salt)" -id -t 8 -m 19 -p 2 -r)
|
||||
|
||||
echo "Hash: $hash"
|
||||
echo "Salt: $salt"
|
||||
echo "Credential: $credential"
|
||||
echo 'Protocol: echo -n "$credential" | argon2 "$(base64 -d <<< $salt)" -id -t 8 -m 19 -p 2 -r'
|
||||
echo
|
||||
echo "Verify with: hash_cred_verify.sh '$credential' '$salt' '$hash'"
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
set -e # mama didnt raise no bitch
|
||||
|
||||
# aint got no time for no bs
|
||||
if [ -z "$1" -o -z "$2" -o -z "$3" ]; then
|
||||
echo -e "ERROR\nUsage: hash_cred_check.sh '<email or phone number>' '<salt>' '<hash>'"
|
||||
exit 1 # fail with error
|
||||
fi
|
||||
|
||||
# set credential
|
||||
credential="$1"
|
||||
#set salt
|
||||
salt="$2"
|
||||
# set hash
|
||||
hash="$3"
|
||||
|
||||
# debug
|
||||
## echo -e "credential $credential"
|
||||
## echo -e "salt $salt"
|
||||
## echo -e "hash $hash"
|
||||
|
||||
# run da fuck
|
||||
hash_check=$(echo -n "$credential" | argon2 "$(base64 -d <<< $salt)" -id -t 8 -m 19 -p 2 -r)
|
||||
|
||||
# debug
|
||||
## echo -e "hash check $hash_check"
|
||||
|
||||
# compare demmm
|
||||
if [[ $hash == $hash_check ]]; then
|
||||
echo -e "\n\e[32mGOOD MATCH! \e[0m\n\t$credential \e[32mVERIFIED\e[0m\n"
|
||||
else
|
||||
echo -e "\n\e[31mBAD MATCH! \e[0m\n\t$credential \e[31mNOT VERIFIED\e[0m\n"
|
||||
fi
|
||||
@@ -12,7 +12,6 @@ tmpDir='/tmp/generalssss'
|
||||
tmp_customscripts_dir="$tmpDir/customscripts"
|
||||
finalDir='/usr/share/customscripts'
|
||||
packages="7zip apache2 argon2 avahi-daemon btop build-essential byobu cargo cifs-utils clamav cmake cowsay cracklib-runtime detox docker.io exiftool fdupes ffuf gcc-arm-none-eabi grc gzip iotop iptraf-ng jq kpartx libnss-mdns libnewlib-arm-none-eabi librust-git2+openssl-probe-dev libstdc++-arm-none-eabi-newlib locales lynx net-tools nginx openssl php polygen polygen-data procps python3 python3-scapy resolvconf restic ripgrep samba screen seclists snapd thefuck unzip wget xrdp xxd xz-utils zip kali-linux-default"
|
||||
# packages="grc kpartx openssl cracklib-runtime argon2 jq polygen polygen-data apache2 seclists cmake locales python3 build-essential gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib librust-git2+openssl-probe-dev cargo nginx build-essential cowsay iotop iptraf-ng btop screen byobu thefuck wget lynx zip unzip 7zip xz-utils gzip net-tools clamav php restic cifs-utils detox fdupes ripgrep avahi-daemon libnss-mdns xxd xrdp libimage-exiftool-perl kali-tools-hardware kali-tools-crypto-stego kali-tools-fuzzing kali-tools-bluetooth kali-tools-rfid kali-tools-sdr kali-tools-voip kali-tools-802-11 kali-tools-forensics samba procps snapd"
|
||||
|
||||
echo -e "\nSTARTING!\n\tUsing Shell $SHELL\n"
|
||||
|
||||
@@ -73,49 +72,48 @@ if [ ! -z "$1" ]; then
|
||||
# echo -e "\nhaveibeenpwned-downloader installed, skipping install\n"
|
||||
# fi
|
||||
# homebrew
|
||||
# if [ ! $(which brew) ]; then
|
||||
# ## install homebrew
|
||||
# echo -e "\nlinuxbrew not found, installing\n"
|
||||
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
# test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
# test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
# ### add to rcfile
|
||||
# if ! grep -q 'linuxbrew' $rcfile; then
|
||||
# # echo "adding linuxbrew to $rcfile"
|
||||
# # echo "# linuxbrew (homebrew/brew)" >> $rcfile
|
||||
# # echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> $rcfile
|
||||
# else
|
||||
# echo "linuxbrew already in $rcfile skipping"
|
||||
# fi
|
||||
#
|
||||
# # source $rcfile
|
||||
# else
|
||||
# echo -e "\nlinuxbrew installed, skipping install\n"
|
||||
# # source $rcfile
|
||||
# fi
|
||||
# ### install ponysay
|
||||
# if [ ! $(which ponysay) ]; then
|
||||
# echo -e "\nponysay not fonud, installiing\n"
|
||||
# brew install ponysay
|
||||
# if ! grep 'ponysay fix' $rcfile; then
|
||||
# # echo "adding ponysay fix to $rcfile"
|
||||
# # echo -e "# ponysay fix\nexport PYTHONWARNINGS=ignore::SyntaxWarning" >> $rcfile
|
||||
# # source $rcfile
|
||||
# else
|
||||
# # echo "ponysay fix already in $rcfile skipping"
|
||||
# # source $rcfile
|
||||
# fi
|
||||
# else
|
||||
# echo -e "\nponysay already installed, skipping\n"
|
||||
# fi
|
||||
if [ ! $(which brew) ]; then
|
||||
## install homebrew
|
||||
echo -e "\nlinuxbrew not found, installing\n"
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
### add to rcfile
|
||||
if ! grep -q 'linuxbrew' $rcfile; then
|
||||
echo "adding linuxbrew to $rcfile"
|
||||
echo "# linuxbrew (homebrew/brew)" >> $rcfile
|
||||
echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> $rcfile
|
||||
else
|
||||
echo "linuxbrew already in $rcfile skipping"
|
||||
fi
|
||||
|
||||
else
|
||||
echo -e "\nlinuxbrew installed, skipping install\n"
|
||||
fi
|
||||
### install ponysay
|
||||
if [ ! $(which ponysay) ]; then
|
||||
echo -e "\nponysay not fonud, installiing\n"
|
||||
brew install ponysay
|
||||
if ! grep 'ponysay fix' $rcfile; then
|
||||
echo "adding ponysay fix to $rcfile"
|
||||
echo -e "# ponysay fix\nexport PYTHONWARNINGS=ignore::SyntaxWarning" >> $rcfile
|
||||
source $rcfile
|
||||
else
|
||||
echo "ponysay fix already in $rcfile skipping"
|
||||
source $rcfile
|
||||
fi
|
||||
else
|
||||
echo -e "\nponysay already installed, skipping\n"
|
||||
fi
|
||||
# cargo
|
||||
|
||||
## oniux
|
||||
echo -e "\nINSTALLIN TOR ONIUX\n"
|
||||
if [ -f /usr/local/bin/oniux ]; then
|
||||
echo -e "\nexisting oniux found, skipping\n"
|
||||
else
|
||||
echo -e "\nexisting oniux not found, installing\n"
|
||||
cargo install --git https://gitlab.torproject.org/tpo/core/oniux --tag v0.6.1 oniux
|
||||
cd /tmp && cargo install --git https://gitlab.torproject.org/tpo/core/oniux && cd - && echo -e '## Oniux/Cargo Shit\nPATH=$PATH:$HOME/.cargo/bin' >> ~/.bashrc && source ~/.bashrc && oniux curl https://canhazip.com
|
||||
fi
|
||||
|
||||
else
|
||||
@@ -160,7 +158,7 @@ git clone $gitRepo $tmpDir --single-branch --depth 1
|
||||
|
||||
# donut
|
||||
echo -e "\nCompiling donut\n"
|
||||
gcc -o "$tmp_customscripts_dir/donut" "$tmp_customscripts_dir/donut.c" -lm # 2>/dev/null
|
||||
gcc -o "$tmp_customscripts_dir/donut" "$tmp_customscripts_dir/donut.c" -lm 2>/dev/null
|
||||
|
||||
# put the customscripts dir into place
|
||||
echo -e "\nPlacing in $finalDir\n"
|
||||
@@ -181,10 +179,10 @@ pathgrep=$?
|
||||
if [ $pathgrep -eq 0 ]; then
|
||||
echo -e "\n$finalDir Already in \$PATH Skipping Append\n"
|
||||
fi
|
||||
# else
|
||||
# echo -e "\nAdding $finalDir to $username's \$PATH by Appending to $rcfile\n"
|
||||
# echo -e "\n\n# automatically added by customscripts installer\nexport PATH=\"\$PATH:$finalDir\"" >> "$rcfile"
|
||||
# fi
|
||||
else
|
||||
# echo -e "\nAdding $finalDir to $username's \$PATH by Appending to $rcfile\n"
|
||||
# echo -e "\n\n# automatically added by customscripts installer\nexport PATH=\"\$PATH:$finalDir\"" >> "$rcfile"
|
||||
fi
|
||||
|
||||
# install pishrink if not there
|
||||
if [ ! -f /usr/local/bin/pishrink ]; then
|
||||
@@ -204,15 +202,11 @@ if [ ! -d $userhome/.local/share/blesh ]; then
|
||||
cd /tmp
|
||||
git clone --recursive --depth 1 --shallow-submodules --single-branch -b master https://github.com/akinomyoga/ble.sh.git
|
||||
make -C ble.sh install PREFIX=~/.local
|
||||
# echo '# ble.sh' >> $rcfile
|
||||
# echo "source -- ~/.local/share/blesh/ble.sh" >> $rcfile
|
||||
# source $rcfile
|
||||
# exec "$SHELL"
|
||||
echo '# ble.sh' >> $rcfile
|
||||
echo "source -- ~/.local/share/blesh/ble.sh" >> $rcfile
|
||||
else
|
||||
echo -e "\nble.sh already installed, skippping\n"
|
||||
fi
|
||||
# else
|
||||
# echo -e "\nble.sh already installed, skippping\n"
|
||||
# source $rcfile
|
||||
# fi
|
||||
|
||||
$SHELL -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv bash)"' >> "$rcfile"
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
#!/bin/bash
|
||||
# TEXT TO ASCII ART GENERATOR https://patorjk.com/software/taag/#p=display&f=Graceful&t=PRINCESS+PI&x=none&v=4&h=4&w=80&we=false
|
||||
# IMAGE TO ASCII ART GENERATOR https://www.asciiart.eu/image-to-ascii
|
||||
clear
|
||||
piascii=$(cat << 'EOF'
|
||||
=--= =----=
|
||||
=--= -------=
|
||||
=--= --------=
|
||||
=----= --- =---------=
|
||||
----= =--- ---==++=----:-----=
|
||||
=-----= - ---- ========----::----=
|
||||
=------= ----=+===-::::::::=+**++===+#
|
||||
==-----=----=+**+=:::-======++******+==+##
|
||||
=------=-=+*:::-=============+*****+==+*##
|
||||
=------=+=:-++==--+=++===+====+***+===***=
|
||||
=--------+*===---+===+===+++==+**=+==+**+-
|
||||
=------=+===--=+++==++++%%*==**====+**+.- -
|
||||
#=---=+====-=+++=+++*+.%+-==**=-==+**+.. --
|
||||
#**+--+========++++#%#**=--==**--==+**=..: =-
|
||||
*****+======+-+++*%%@@%=---==**--+=+*--:..- =
|
||||
#*****=====+=-=++***#%#-----=**=-+=+*=---:.. %%
|
||||
%****+====+=--=+++.:+*=-------=*-===**=---:..- %%
|
||||
#***+=====------=:.-=----------==+=+**+---...: %%%%#%
|
||||
#**+====:---------=-------------+=+=***=-....: %%##%%##
|
||||
%***====..:---------------------==+=-****:.....+%#%%#%%%%#
|
||||
#**+==*=...---------------:.----+==--=***=....##%#######%%
|
||||
#***+=+*=...--------------:..:--=+=----+***:...#%###%%##%
|
||||
#**+==+*=..:-------------:...:--++------=***.:+##%#%%%#% =
|
||||
#***+==+**...:----------:.....:--+=------==**++##%#%%%%% =-
|
||||
#***#+==+**=.................+*---+=------=#+=##%%##%%%#%=---
|
||||
%#**#%*===+***-.....---...=+.:*#=----------=##*#%####%%%%#=----
|
||||
%#### +===****-...: -+##=#%%+---------+###%%%%%%#%%%%%*-----
|
||||
*===+****-..- %###%%%+------=*######%%%%%%%##%#*------
|
||||
+===+****-.- %##%%%*-----#########%####%#####*-------
|
||||
____ ____ __ __ _ ___ ____ ____ ____ ____ __
|
||||
( _ \( _ \( )( ( \ / __)( __)/ ___)/ ___) ( _ \( )
|
||||
) __/ ) / )( / /( (__ ) _) \___ \\___ \ ) __/ )(
|
||||
(__) (__\_)(__)\_)__) \___)(____)(____/(____/ (__) (__)
|
||||
EOF
|
||||
);
|
||||
|
||||
echo -e "\033[35m$piascii\033[0m"
|
||||
@@ -1,85 +0,0 @@
|
||||
#!/bin/bash
|
||||
# usage
|
||||
## curl -s https://raw.githubusercontent.com/PrincessPi3/general-scripts-and-system-ssssssetup/refs/heads/main/customscripts/python_pyenv_setup.sh | sudo "$SHELL" && source ~/.zshrc && exec "$SHELL" && pyenv install 3:latest && pyenv global 3:latest
|
||||
# set -e
|
||||
|
||||
# set rcfile
|
||||
rcfile="$HOME/.zshrc" # zsh
|
||||
# rcfile="$USER/.bashrc" # bash
|
||||
package_log="/home/princesspi/python_packages_removed.txt"
|
||||
|
||||
# check if a command exists, and if so, purge that package
|
||||
# usage: check_purge_package <package_name>
|
||||
check_purge_package () {
|
||||
package_name=$1
|
||||
|
||||
# which -s $package_name 2>/dev/null 1>/dev/null # silently test for command
|
||||
# package_check=$? # get return code. 0 for found, any other for not found
|
||||
|
||||
# if [ $package_check -eq 0 ]; then # if package is found, purge it
|
||||
echo "purging $package_name"
|
||||
sudo apt purge $package_name -y 2>>"$package_log" 1>>"$package_log"
|
||||
echo "finished purging $package_name"
|
||||
# else # otherwise skip
|
||||
# echo "no $package_name installation found, skipping uninstall"
|
||||
#fi
|
||||
}
|
||||
|
||||
# cleanup previous python installs
|
||||
# check_purge_package pyenv*
|
||||
# check_purge_package python3*
|
||||
# check_purge_package python2*
|
||||
# check_purge_package python*
|
||||
# check_purge_package pip*
|
||||
# check_purge_package pip3*
|
||||
# check_purge_package pip2*
|
||||
|
||||
|
||||
# cleanup
|
||||
# echo "Autoremoving packages"
|
||||
# sudo apt autoremove -y 2>>"$package_log" 1>>"$package_log"
|
||||
# echo -e "DONE CLEARING OLD PACKAGES!\n\tRemoved packages logged to $package_log"
|
||||
|
||||
if [ -d $HOME/.pyenv ]; then
|
||||
echo "Removing existing pyenv installation"
|
||||
rm -rf $HOME/.pyenv
|
||||
else
|
||||
echo "No existing pyenv installation found, skipping removal"
|
||||
fi
|
||||
|
||||
# install pyenv
|
||||
curl -fsSL https://pyenv.run | bash
|
||||
## setup shell
|
||||
### check for pyenv in rcfile
|
||||
grep -q .pyenv $rcfile
|
||||
rc_pyenv_check=$? # get retcode, 0 for found not 0 for not found
|
||||
|
||||
if [ $rc_pyenv_check -eq 0 ]; then # if pyenv found
|
||||
echo "pyenv already set up in $rcfile, skipping add init"
|
||||
else # if pyenv not found
|
||||
echo "Setting up pyenv in $rcfile"
|
||||
echo -e "\n# pyenv setup" >> $rcfile
|
||||
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> $rcfile
|
||||
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> $rcfile
|
||||
echo 'eval "$(pyenv init - zsh)"' >> $rcfile
|
||||
fi
|
||||
## add aliases
|
||||
### check for aliases in rcfile
|
||||
grep -q '## python aliases' $rcfile
|
||||
rc_pyalias_check=$? # get retcode, 0 for found not 0 for not found
|
||||
|
||||
if [ $rc_pyalias_check -eq 0 ]; then # if aliases found
|
||||
echo "pyenv aliases already set up in $rcfile, skipping"
|
||||
else # if aliases not found, add python shit
|
||||
echo "Setting up pyenv aliases in $rcfile"
|
||||
echo "## python aliases" >> $rcfile
|
||||
echo 'alias py=python' >> $rcfile
|
||||
echo 'alias py3=python' >> $rcfile
|
||||
echo 'alias py2=python' >> $rcfile
|
||||
echo 'alias python3=python' >> $rcfile
|
||||
echo 'alias python2=python' >> $rcfile
|
||||
echo 'alias pip3=pip' >> $rcfile
|
||||
echo -e "alias pip2=pip\n" >> $rcfile
|
||||
fi
|
||||
|
||||
echo -e "\n\ndone~ :3~\n\treset shell with exec \"\$SHELL\"\n"
|
||||
@@ -0,0 +1,86 @@
|
||||
#!/usr/bin/env bash
|
||||
clear
|
||||
|
||||
# Define an array of standard 16-color ANSI foreground codes
|
||||
colors=(
|
||||
"\e[31m" # Red
|
||||
"\e[33m" # Yellow
|
||||
"\e[32m" # Green
|
||||
"\e[36m" # Cyan
|
||||
"\e[34m" # Blue
|
||||
"\e[35m" # Magenta
|
||||
)
|
||||
color_count=${#colors[@]}
|
||||
color_index=0
|
||||
|
||||
shuffle_colors() {
|
||||
local i tmp rand
|
||||
# Start from the last element and move backwards
|
||||
for ((i=${#colors[@]}-1; i>0; i--)); do
|
||||
# Generate a random index between 0 and i (inclusive)
|
||||
rand=$(( RANDOM % (i + 1) ))
|
||||
|
||||
# Swap elements at index 'i' and 'rand'
|
||||
tmp="${colors[i]}"
|
||||
colors[i]="${colors[rand]}"
|
||||
colors[rand]="$tmp"
|
||||
done
|
||||
}
|
||||
|
||||
# randomize dem color postions
|
||||
shuffle_colors
|
||||
|
||||
# Reset code to clear colors at the end of output
|
||||
reset="\e[0m"
|
||||
read -r -d '' ascii_art << 'EOF'
|
||||
--= =----=
|
||||
=--= -------=
|
||||
=--= --------=
|
||||
=----= --- =---------=
|
||||
----= =--- ---==++=----:-----=
|
||||
=-----= - ---- ========----::----=
|
||||
=------= ----=+===-::::::::=+**++===+#
|
||||
==-----=----=+**+=:::-======++******+==+##
|
||||
=------=-=+*:::-=============+*****+==+*##
|
||||
=------=+=:-++==--+=++===+====+***+===***=
|
||||
=--------+*===---+===+===+++==+**=+==+**+-
|
||||
=------=+===--=+++==++++%%*==**====+**+.- -
|
||||
#=---=+====-=+++=+++*+.%+-==**=-==+**+.. --
|
||||
#**+--+========++++#%#**=--==**--==+**=..: =-
|
||||
*****+======+-+++*%%@@%=---==**--+=+*--:..- =
|
||||
#*****=====+=-=++***#%#-----=**=-+=+*=---:.. %%
|
||||
%****+====+=--=+++.:+*=-------=*-===**=---:..- %%
|
||||
#***+=====------=:.-=----------==+=+**+---...: %%%%#%
|
||||
#**+====:---------=-------------+=+=***=-....: %%##%%##
|
||||
%***====..:---------------------==+=-****:.....+%#%%#%%%%#
|
||||
#**+==*=...---------------:.----+==--=***=....##%#######%%
|
||||
#***+=+*=...--------------:..:--=+=----+***:...#%###%%##%
|
||||
#**+==+*=..:-------------:...:--++------=***.:+##%#%%%#% =
|
||||
#***+==+**...:----------:.....:--+=------==**++##%#%%%%% =-
|
||||
#***#+==+**=.................+*---+=------=#+=##%%##%%%#%=---
|
||||
%#**#%*===+***-.....---...=+.:*#=----------=##*#%####%%%%#=----
|
||||
%#### +===****-...: -+##=#%%+---------+###%%%%%%#%%%%%*-----
|
||||
*===+****-..- %###%%%+------=*######%%%%%%%##%#*------
|
||||
+===+****-.- %##%%%*-----#########%####%#####*-------
|
||||
____ ____ __ __ _ ___ ____ ____ ____ ____ __
|
||||
( _ \( _ \( )( ( \ / __)( __)/ ___)/ ___) ( _ \( )
|
||||
) __/ ) / )( / /( (__ ) _) \___ \\___ \ ) __/ )(
|
||||
(__) (__\_)(__)\_)__) \___)(____)(____/(____/ (__) (__)
|
||||
EOF
|
||||
|
||||
# Process the art character-by-character
|
||||
for (( i=0; i<${#ascii_art}; i++ )); do
|
||||
char="${ascii_art:$i:1}"
|
||||
|
||||
# If the character is a space or a newline, print it raw without wasting a color
|
||||
if [[ "$char" == " " || "$char" == $'\n' ]]; then
|
||||
printf "%s" "$char"
|
||||
else
|
||||
# Assign a color, print the letter, and rotate the index cycle
|
||||
printf "%b%s" "${colors[$color_index]}" "$char"
|
||||
color_index=$(( (color_index + 1) % color_count ))
|
||||
fi
|
||||
done
|
||||
|
||||
# Always clear the terminal color state back to default at the end
|
||||
printf "%b\n" "$reset"
|
||||
@@ -0,0 +1,40 @@
|
||||
#!/bin/bash
|
||||
# Usage:
|
||||
## Install Tor
|
||||
### sudo apt update; sudo apt install tor -y
|
||||
## Edit /etc/tor/torrc
|
||||
### sudo nano /etc/tor/torrc
|
||||
#### Uncomment or add
|
||||
##### ControlPort 9051
|
||||
#### Ucomment and change to (default value is 1, change to 0)
|
||||
##### CookieAuthentication 0
|
||||
## Enable, Start, and Restart Tor
|
||||
### sudo systemctl enable tor; sudo systemctl start tor; sleep 20; sudo systemctl restart tor
|
||||
|
||||
# Configuration
|
||||
TARGET_URL="https://canhazip.com"
|
||||
TOR_PROXY="socks5h://127.0.0.1:9050"
|
||||
TOR_CONTROL_PORT=9051
|
||||
DELAY=2 # Delay in seconds between requests
|
||||
|
||||
# Ensure you respect HIBP's API rate limits and terms of service
|
||||
while true; do
|
||||
echo "[+] Requesting new Tor identity..."
|
||||
|
||||
# Send NEWNYM signal to Tor Control Port to switch IP
|
||||
echo -e 'AUTHENTICATE ""\r\nsignal NEWNYM\r\nQUIT' | nc 127.0.0.1 9051 > /dev/null
|
||||
|
||||
# Give Tor a brief moment to establish the new circuit
|
||||
sleep "$DELAY"
|
||||
|
||||
echo "[+] Verifying current IP..."
|
||||
CURRENT_IP=$(curl -s --proxy "$TOR_PROXY" https://canhazip.com)
|
||||
echo "[+] Current Tor IP: $CURRENT_IP"
|
||||
|
||||
echo "[+] Sending request to Have I Been Pwned..."
|
||||
# 'socks5h://' ensures DNS resolution happens through Tor, preventing leaks
|
||||
curl -s --proxy "$TOR_PROXY" -H "hibp-api-key: YOUR_API_KEY" "$TARGET_URL"
|
||||
|
||||
echo -e "\n[+] Waiting for next iteration...\n"
|
||||
sleep "$DELAY"
|
||||
done
|
||||
Reference in new issue
Block a user