This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| C:\Program Files\Wireshark | |
| //remove VLAN tags | |
| editcap -F pcap -L -C 12:4 "packets.pcap" "packets-1.pcap" | |
| //change source & destination IPs | |
| C:\Portable\bittwist-win-2.0\src | |
| ./bittwiste -I "packets-1.pcap" -O "packets-2.pcap" -T ip -s 192.168.1.1 -d 192.168.1.50 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ForceBindIP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Memory faulty? | |
| Run memtest86 | |
| SSD faulty? | |
| //Read-write test (non-destructive) | |
| badblocks -nsv /dev/device -o badblocks.txt | |
| CPU overheating / thermal paste not effective? | |
| Check temperature with Coretemp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LICEcap |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import whisper | |
| from pathlib import Path | |
| from concurrent.futures import ProcessPoolExecutor | |
| #Requirements: | |
| #pip install -U openai-whisper | |
| #winget install ffmpeg | |
| #copy ffmpeg.exe from this folder | |
| #C:\Users\foo\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-6.0-full_build\bin\ffmpeg.exe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Install QGIS | |
| Layer -> Add Layer -> XYZ Layer -> New | |
| URL: | |
| https://heatmap-external-b.strava.com/tiles-auth/run/hot/{z}/{x}/{y}.png?Key-Pair-Id=VALUE&Policy=VALUE&Signature=VALUE | |
| Get the three VALUEs above by logging into Strava and inspecting the site cookies (F12 in Chrome or Firefox). | |
| Max Zoom Level: 23 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # from https://labs.f-secure.com/tools/tcp-over-file-tunnel/ | |
| import sys | |
| import socket | |
| import threading | |
| import base64 | |
| import time | |
| import binascii | |
| import mutex | |
| import signal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Read-write test (non-destructive) | |
| badblocks -nsv /dev/device -o badblocks.txt | |
| //Read-write test (warning: destructive) | |
| badblocks -wsv /dev/device -o badblocks.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ventoy a USB drive | |
| Copy Ubuntu | |
| Boot Ubuntu and 'Try' instead of install | |
| chmod a+x ./Beyond-All-Reason-1.1824.0.AppImage | |
| ./Beyond-All-Reason-1.1824.0.AppImage | |
| Might require the following libraries: | |
| sudo apt update //might not be required |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Install Xming in Windows 10 | |
| Using Putty, select Connection -> SSH -> X11 -> Enable X11 forwarding | |
| In Linux, echo $DISPLAY | |
| Confirm it's DISPLAY=:0.0 | |
| If not: | |
| export DISPLAY=:0.0 | |
| or |