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
- Server | |
//Enable Shadow RDP | |
Windows Registry Editor Version 5.00 | |
; Allow full control without user's permission for RDP shadowing | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services] | |
"Shadow"=dword:00000002 | |
"DisableShadowConsent"=dword:00000001 | |
//Firewall rules |
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
sudo apt-get update | |
sudo apt-get install nfs-kernel-server | |
mount -o size=1G -t tmpfs none /mnt/tmpfs | |
sudo chmod 777 /mnt/tmpfs | |
sudo nano /etc/exports | |
/mnt/tmpfs *(rw,sync,no_root_squash,no_subtree_check) |
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
// ---------------------------------------------------------------------------- | |
// <auto-generated> | |
// This is autogenerated code by CppSharp. | |
// Do not edit this file or all your changes will be lost after re-generation. | |
// </auto-generated> | |
// ---------------------------------------------------------------------------- | |
using System; | |
using System.Runtime.InteropServices; | |
using System.Security; |
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
--Raw image to VHD | |
./VBoxManage convertdd nvme1n1p4.img nvme1n1p4.vhd --format VHD | |
or | |
./qemu-img.exe convert -f raw -O vpc "vme1n1p4.img" "nvme1n1p4-qemu.vhd" | |
--To remove bitlocker |
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
Re-enable Windows key | |
Fn + Win | |
Re-enable Function keys | |
Fn + x + f | |
Turn off left & right indiciator lights | |
Fn + shift + / + down arrow | |
Check battery |
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
https://github.com/microsoft/fluentui-system-icons | |
iconfinder.com | |
https://game-icons.net/ | |
https://www.iso.org/obp/ui/#iso:pub:PUB400008:en | |
https://iconbuddy.app/ |
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
Download Windows iso | |
Download Rufus | |
Run Rufus | |
Select drive (if not listed, click 'Show advanced drive properties' -> Tick 'List USB Hard Drives') | |
Click 'SELECT' and choose the iso | |
Image option -> Windows To Go | |
Partition scheme -> leave as default (GPT) | |
Target system -> leave as default (UEFI (non CSM)) | |
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
//list filters | |
netsh wfp show filter | |
https://github.com/zodiacon/WFPExplorer | |
//Info | |
https://scorpiosoftware.net/2022/12/25/introduction-to-the-windows-filtering-platform/ | |
https://leanpub.com/windowskernelprogrammingsecondedition |
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 |