Tag Archives: python

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

Create a filesystem report with Python

In many cases, data accumulates over time, and a lot of this data is not being accessed at all, sometimes for years. Accordingly, it would be great if you could create a report that shows which data, the last access … Continue reading

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

azure-cli installation on Ubuntu Bionic (18.04)

No deb packages have been released yet for Ubuntu 18.04, so you have to use the script MS provided here. However, you will face the following error immediately:  fatal error: Python.h: No such file or directory To resolve this, simply … Continue reading

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

How to call GitHub REST API from Ubuntu

In brief, I needed to get a list of the members currently in my organization at GitHub. There are multiple ways to do so, including: Direct calls to the API from curl sudo apt install curl Python using PyGitHub pip … Continue reading

Posted in Ubuntu, Uncategorized | Tagged , , , , , , , , , , | 1 Comment