FreeBSD pkg_add little trick James Bower, August 19, 2009April 21, 2023 So don’t ask me why but I decided to run FreeBSD 6.0 on an older Dell Latitude laptop. Install goes fine. But now I’ve got an issue. When trying to install a package I get the troublesome ftp error (cannot find this location dummy). But this was quickly resolved with the following.You can also see which ftp directory your FreeBSD system is currently using by reading the error received when you try to install a bogus package:# pkg_add -r testError: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-release/Latest/abc.tbz: File unavailable (e.g., file not found, no access)pkg_add: unable to fetch ‘ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-release/Latest/abc.tbz’ by URLIn this case, the system is using packages-6-release/Latest which contains the 6.9 version of xorg instead of packages-6-stable which contains the latest or 7.2 version of xorg. Take a peek in both directories on the ftp site, you’ll see for yourself.You can ask pkg_add to go to a different location by modifying the PACKAGESITE environmental variable by typing this as one line:# setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/And Eureka! No more install issues.And as always, thank you for taking the time to read this. If you have any comments, questions, or critiques, please reach out to me on our FREE ML Security Discord Server – HERE Operating Systems Tech FreeBSD
Operating Systems Quick and Dirty: Installing Htop on FreeBSD 10.x August 31, 2015April 21, 2023Htop is an interactive system-monitor process-viewer written for Linux. On most of my servers I have it up and running continually if I’m not actively on the box. It’s great to be able to quickly glance up and see the current state of a particular server or to see if… Read More
Operating Systems Own Windows with PowerShell using Nishang June 11, 2013April 21, 2023Nishang is a framework and collection of scripts and payloads which enables usage of Windows PowerShell for offensive security and post exploitation during Penetraion Tests. The scripts are written on the basis of requirement by the author during real Penetration Tests. PAYLOADSIt contains many interesting scripts like download and execute,… Read More
Python How to Install Conda and Miniconda3 on Ubuntu 22.04 LTS February 8, 2023April 21, 2023This morning I find myself working on a new data mining project that relies on Conda. I ran into a few issues along the way and decided to write this up. My pain is your gain! Next I visited https://docs.conda.io/en/latest/miniconda.html#linux-installers to find the correct installer for my version of Python… Read More