Category Archives: Linux

How to enable Python to craft packets and listen to ports less than 1024 without sudo

To be able to craft packets with Scapy, you have to either use sudo or allow setcap for your python environment. I don’t prefer to use sudo when working with my Anaconda environments, so I did the following: sudo setcap … Continue reading

Posted in Linux | Tagged , , | Leave a comment

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