howtos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howtos [2023-06-15 00:39] – moved key logger to scripts page asdfhowtos [2024-03-10 00:10] (current) – [Add Linux swap space] asdf
Line 28: Line 28:
 To have the swap automount on boot, add the following to ''/etc/fstab'': To have the swap automount on boot, add the following to ''/etc/fstab'':
  
-<file>+<code>
 /swapfile swap swap defaults 0 0 /swapfile swap swap defaults 0 0
-</file>+</code>
  
 ===== Boot an ISO from GRUB ===== ===== Boot an ISO from GRUB =====
Line 52: Line 52:
  
 Note that the [[GreatFET]] has Facedancer capabilities, so it should be possible to use it to emulate a mass storage device with the ISO as the source and boot that instead. Note that the [[GreatFET]] has Facedancer capabilities, so it should be possible to use it to emulate a mass storage device with the ISO as the source and boot that instead.
 +
 +===== Make an ethernet loopback connector =====
 +This trick works with either a socket or a plug. Connect the following pins: 
 +
 +  * 1 <-> 3
 +  * 2 <-> 6
 +  * 4 <-> 7
 +  * 5 <-> 8
 +
 +===== Mount an ext4 drive in WSL2 =====
 +Open a PowerShell window as an administrator, then run the following command to list available disk drives:
 +
 +<code powershell>
 +GET-CimInstance -query "SELECT * from Win32_DiskDrive"
 +</code>
 +
 +Locate the desired entry, then attach it to the WSL instance: 
 +
 +<code powershell>
 +wsl --mount \\.\PHYSICALDRIVE2
 +</code>
 +
 +Finally, locate and mount the disk within the WSL instance. 
 +
 +https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk
  
 ===== Fake a document scan ===== ===== Fake a document scan =====
 ===== Create a reverse SSH connection ===== ===== Create a reverse SSH connection =====
  • howtos.1686789555.txt.gz
  • Last modified: 2023-06-15 00:39
  • by asdf