Category Archives: Linux

How to run wireshark/tshark or tcpdump to capture packets inside IPMininet using screen

This has been a bit confusing for some time, but after you run your ipmininet network with Python, you want to capture some packets with wireshark/tshark or tcpdump, here is the way you can do it: Let’s assume we have … Continue reading

Posted in Linux | Tagged , , , , , | Leave a comment

Fix Clipboard Copy/Paste Functionality with Windows 11 Pro Host, VMWare Workstation 16 Pro and Ubuntu 16.04 32-bit Guest

#!/bin/bashprocessString=$(ps -ef | grep ‘[0-9][0-9]:[0-9][0-9]:[0-9][0-9] /usr/bin/vmtoolsd -n vmusr’) # get process info for vmtoolsdtokens=( $processString ) # tokenizekill “${tokens[1]}” # grab pid and kill it/usr/bin/vmtoolsd -n vmusr & > /dev/null 2>&1 # restart vmtoolsd That’s it, Enjoy! Source: https://superuser.com/questions/587767/clipboard-operations-copy-paste-often-stop-working-on-vmware-workstation/1323289#1323289?newreg=6f4bb599af1c44edb3f818c50d344fea

Posted in Linux | Tagged , , | Leave a comment

Installing latest version of gef on Ubuntu 16.04 32-bit

If you are having trouble installing gef on Ubuntu 16.04 32-bit, you may follow these steps: Install python3.6 and python3.6-dev: sudo add-apt-repository -y ppa:jblgf0/python sudo apt-get update sudo apt-get install python3.6 python3.6-dev Install texinfo package (since you would the makeinfo … Continue reading

Posted in Linux | Leave a comment

Hack The Box Write-up: BLUE

This article is a writeup of how the HTB machine “Blue” was pawned and its root flag captured and eventually model this path using the MITRE ATT&CK Framework. Recon Introduction The reconnaissance phase, often referred to as the “recon phase,” … Continue reading

Posted in Linux | Leave a comment

How to install multiple CUDA versions on a single Linux server

After you installed the first CUDA toolkit (preferably the latest stable version), and you want to install others beside it, due to some compatibililty issues for example, just do the following: Download the standalone file installer, e.g. https://developer.download.nvidia.com/compute/cuda/11.7.0/local_installers/cuda_11.7.0_515.43.04_linux.run chmod +x … Continue reading

Posted in Linux | Tagged , , , | Leave a comment