Skip to content

Instantly share code, notes, and snippets.

View iAmG-r00t's full-sized avatar
📈
Vulnerability Research - "It's the learning curve for me."

G-r00t iAmG-r00t

📈
Vulnerability Research - "It's the learning curve for me."
View GitHub Profile
@iAmG-r00t
iAmG-r00t / Windows-Terminal-Configuration-Guide.md
Last active November 14, 2024 17:59
Windows Terminal + WSL + MOSH + Remote Server == SSH Tab Profile in Windows Terminal
  • Hi, so I was looking for a way to configure windows terminal to have a profile that automatically logins to a remote server using mosh.

  • I ended up here, but it wasn't a reliable method for me.

  • Below is how I managed to do it.

  • First make sure the requirements are present, WSL, Windows Terminal and an installed distribution of your choice ( preferably Ubuntu).

  • Next proceed; installing mosh and ssh in the wsl distribution of your choice.

  • Next create an SSH Key that is not password protected and then add it to your remote server.

  • Also do remember to install mosh in the remote server.

  • Next within your wsl distribution, create the ~/.ssh/config file and then add the following;

@iAmG-r00t
iAmG-r00t / WSL2-On-Steroids.md
Created April 22, 2021 23:12
Windows + Ubuntu on WSL2

WSL2 on Steroids

A way to do mobile application security testing on windows with ubuntu on WSL2, avoids having to use virtualbox or vmware. I would like to note that there are several tools for mobile application testing, the ones I am installing here are the ones that get the job done for me.

  • Point to Note: I haven't yet figured out what tool I will use for network analysis, but I am going to provide a different gist on that once I find a solution to it.
  • I would also love to point out that I do have a linux pc so this setup is for my windows pc.

Tools

#!/bin/bash
# Credits someone on StackOverflow
# Allows you to fix the new kernel issue to make VMware work correctly.
# Get the current VMware version
VMWARE_VERSION="workstation-$(vmware -v|grep -oE "[[:digit:]]+.[[:digit:]]+.[[:digit:]]+"| head -n1)" # this is detect the version you have VMware Workstation 16.2.1 build-18811642
echo -e "\nCurrent VMWARE Version: $VMWARE_VERSION\n"
TMP_FOLDER="/tmp/patch-vmware"
rm -fdr $TMP_FOLDER