Technology Errors

smbclient Backtrack Linux – sh: line 0: cd: /pentest/python/impacket-examples/: No such file or directory

When attempting to launch smbclient via the Backtrack menu in Backtrack Linux version 5 release 3 you will receive an error stating there is no such file or directory. It appears some of the paths have changed between Backtrack Linux releases and the menu item for smbclient was not updated. I personally prefer smbclient from the command line however if you like the smbclient.py python script then fixing it is easy as noted in the details below.

Technology Insights

Stop Receiving Text Messages From Barrack Obamas Campaign, Text Messages From 62262

At one point during the election in 2008 I signed up for text messages from Barrack Obama’s campaign. After the election I completely forgot about signing up for the text messages and didn’t receive any for almost a year after Obama was elected. Anyhow at one point I all of the sudden started receiving text messages again and honestly just didn’t want to receive them anymore. At times they came early in the morning or late at night and it just became annoying. Below is information on how to stop receiving the text messages from 62262 which is Barrack Obama’s short code.

Technology Insights

CentOS Linux: sort: invalid option — R, Try sort –help for more information

I was working on an article a couple days ago with a friend and he had sent over some commands for me to reference in the article which included the “sort -R” command. The sort -R switch will randomly sort the contents of a file which is very useful in certain situations. The problem is that the sort command which is installed by the coreutils RPM package on CentOS does not include the -R switch because it is to old. Below I describe the issue in more detail and provide references on how you could upgrade sort on CentOS Linux.

Technology Errors

How To mv Files With A Dash: mv: invalid option — 1, Try mv –help for more information

Recently I was moving files from one directory to another on a CentOS 5.4 server and ran into an issue. When attempting to move every single file in the directory I received an error which is noted below. It took me a couple minutes but I figured out by trial and error that the issue was related to files starting with a “-“(dash) because the mv command thought that I was attempting to use a switch. The resolution is easy using “./”. Look at the below examples for more information about the error and how it was resolved.