Table of Contents: Tech

Most Popular: Tech

Mac OS X – Export Google Chrome Browsing History to CSV File from the Terminal

This post is just for my own personal reference, but you can use it too if you like. Just make sure to change the “UserName” below to whatever that user’s home directory is. I’ve mashed the code together from the following sources, changed it to export in csv format (making it easier to import into Excel or Open Office for further manipulation), made it into a one-liner for sake of ease, put the data in ascending order based on last URL visit date, and converted the dates into human readable format. Continue reading “Mac OS X – Export Google Chrome Browsing History to CSV File from the Terminal”

HP Support Assistant – The Epitome of Spyware and How to Disable It

Sure there are several legitmate cases where the HP Support Assistant can be helpful, such as updating drivers or flashing the BIOS on the computer, but if you’re reading this, you’ve probably already established the fact that the software basically hijacks your computer and does a lot of shady shit in the background. I would absolutely classify the product as being spyware and would highly recommend that you take all steps necessary to disable it when it is not being used, and here are some reasons why.

My first problem is that by default, the HP Support Assistant does an intrusive scan of your network to search for “devices” every time the software runs and it appears you can’t turn that off. It doesn’t get much shadier than that folks, seeing as how you don’t really know what they are up to and why they are taking an inventory of your entire network.
Continue reading “HP Support Assistant – The Epitome of Spyware and How to Disable It”

Bash Script – Move Files into Subdirectories Based on Modified Date – OR – Moving Ntop Netflow Dumps into Subdirectories by Date

In a busy network environment, it is critical to have some form of network monitoring on all your servers and equipment. Network monitoring comes in many different forms and flavors, whether it be to monitor critical system services and applications via SNMP, WMI, or some proprietary third party software, or just generically pinging some devices to make sure they are up.

Nowadays, it is getting more and more necessary to dig deeper to be able to track what end users are doing and what websites they are visiting and this is where the Cisco Netflow comes in handy. Essentially, netflow allows us to peer down into the network traffic streams and give us vital source, destination, and protocol information coming to and from our network hosts but isn’t quite as storage intensive as doing a full fledged pcap dump, which makes historical accounting of this data a whole lot nicer.
Continue reading “Bash Script – Move Files into Subdirectories Based on Modified Date – OR – Moving Ntop Netflow Dumps into Subdirectories by Date”

Cannot Log onto Windows – Trust Relationship Failed

There’s several different things that can cause the trust relationship issue and there are hundreds of post or more online about the subject. Sometimes simply resetting the computer account in Active Directory can fix the problem. Other times, unjoining/rejoining the computer from the domain will fix the problem. If either of those isn’t the case, usually that is a good indication that there is some sort of corruption in the Active Directory database that can only be fixed by manual intervention.
Continue reading “Cannot Log onto Windows – Trust Relationship Failed”

Fuck You Microsoft, I Will Install the Cisco VPN Client on Windows 10 and Furthermore, You Can Suck It

Seriously man, fuck Microsoft, fuck Windows 10, and fuck you. No actually you are ok, as long as you don’t work for Microsoft or are some sort of freak MS enthusiast, but what kind of shithole stasi big brother state do we live in when your software vendor tells you what applications you can and can’t install on the operating system you purchased for your own PC? I mean I know they’ve been doing that shit for a long time, but tonight the stars revolt (seemingly misplaced Powerman 5000 reference).

I just had the joy of wasting an hour of my life getting the damn Cisco VPN client to work. When Windows 8 came out, there were a few workarounds to have to do, but now MS has stepped up their game of being total assclowns and won’t let you even run the installer. In your delight, you will receive the pleasantly authoritarian popup box that says, “This app can’t be run on this PC. Fan-fucking-tastic.
Continue reading “Fuck You Microsoft, I Will Install the Cisco VPN Client on Windows 10 and Furthermore, You Can Suck It”

Mac OS X – Install Yosemite/El Capitan via USB Thumb Drive or How to Get the DMG Image

Howdy folks, this is just another somewhat plagiaristic post for my own future reference. I found this info hyah and unfortunately I was unable to retrace my steps to find my original source on where to locate the .dmg file in the installer package.

Download the latest version of Yosemite/El Capitan from the App Store and make sure you’ve formatted your USB thumb drive with the Disk Utility. Then open up a terminal and issue the following commands:
Continue reading “Mac OS X – Install Yosemite/El Capitan via USB Thumb Drive or How to Get the DMG Image”

uTorrent – Don’t Have Permission to Uninstall the Program

There are certainly versions of uTorrent that have massive problems. Whether it be the inability to click on magnet links and open them properly inside the program or the never-ending issue where the program constantly tells you some shit about there being an update when you open it and says something along the lines of “you already have a more recent version of the program installed, would you like to downgrade?”. Just an FYI, downgrading doesn’t do shit, it’s an endless loop of futility, sad faces, and teardrops.

It is even more disturbing when you want to uninstall uTorrent to try and install a more recent beta version that doesn’t have all these bugs and when you try to remove it the conventional way, you receive the message “You do not have sufficient access to uninstall uTorrent. Please contact your system administrator.” and you are logged on as the user with administrator rights.
Continue reading “uTorrent – Don’t Have Permission to Uninstall the Program”

Ubuntu – Icecast2 Startup Script with Ices2 Support

Recently I set up an Icecast server to be able to stream music on hold to my Asterisk servers at work. Here is an updated init script for Icecast2 that adds support to start the Ices2 source client at the same time. For streaming audio from a playlist with Ogg support, Ices2 is a good candidate. For streaming audio from an mp3 based playlist, have a look at Ices0 that can be downloaded on the same site. There is also an array of different Icecast source clients to choose from here. This just happened to be the first one that I tried out. I ended up bastardizing the code somewhat to make it conform to my own personal preferences by using functions and what not to make it all pretty like. I also chose to run Ices2 as the same user as the icecast user, so you would have to update any permissions on the Ices2 directories and config files as needed.
Continue reading “Ubuntu – Icecast2 Startup Script with Ices2 Support”

Asterisk – How to Host a PRI Circuit with a Sangoma Card

These are just a few quick notes of mine on how to host a PRI circuit from a Sangoma card in an Asterisk server to another Asterisk server or wherever for that matter.

This config here is for a Sangoma A102 with two ports and Asterisk will provide the clocking source. Channels 1-23 will be the B channels and channel 24 will be the D channel for signaling. Echo cancelling will be enabled as well.
/etc/dahdi/system.conf

#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
#autogenrated on 2015-08-28
#Dahdi Channels Configurations
#For detailed Dahdi options, view /etc/dahdi/system.conf.bak
loadzone=us
defaultzone=us

#Sangoma A102 port 1 [slot:4 bus:6 span:1] 
span=1,0,0,esf,b8zs
bchan=1-23
echocanceller=mg2,1-23
hardhdlc=24

#Sangoma A102 port 2 [slot:4 bus:6 span:2] 
span=2,2,0,esf,b8zs
bchan=25-47
echocanceller=mg2,25-47
hardhdlc=48

Continue reading “Asterisk – How to Host a PRI Circuit with a Sangoma Card”