Author Archives: Ahmed Tawfik

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek

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

Restart Ethernet Adapter using PowerShell on Windows

In case you are having a problem with your Ethernet adapter, such as not connecting properly or obtaining an IP address when you insert the cable (happens with me sometimes in one of the networks I connect to), you can … Continue reading

Posted in Windows | 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