Information Security

btscanner Brute Force Bluetooth Crashes On Backtrack 5 R3

I have been playing around with some of the bluetooth tools within Backtrack recently and btscanner is one of the main tools I have bene using. The btscanner application in Backtrack Linux provides two bluetooth scanning functions it calls inquiry scanning and brute force scanning. Unfortunately the package installed with Backtrack 5 release 3 will crash when attempting to use it for brute force scanning however I was able to create a fix that isn’t too messy to accomplish. Below we describe the btscanner crash in more detail and provide a way to get btscanner bluetooth brute forcing operating properly.

Details
Technology Errors

BtScanner Compile Error: cc1: error: unrecognized command line option -Wimplicit-function-dec

While doing some testing this evening I ran into all sorts of errors when attempting to compile a new version of btscanner on Backtrack Linux 5 R3. Luckily it is super easy to resolve the error complaining about an unrecognized command named -Wimplicit-function-dec. This error will display when attempting to run “make” against an already configured (./configure) btscanner source. Below we output the error in more detail, explain how to resolve the error by editing the make file, and then display the compilation process moving past the error.

Details
Technology Insights

Ubuntu 10.04 Installed Package From Source And APT Complaining Of Unmet Dependencies

While doing some testing this evening on Backtrack Linux 5 R3 I had issues with apt or aptitude complaining about some dependencies for packages I had compiled from source. One of the packages I first ran into issues with was bluez which is installed by default on Backtrack. I wanted to apply a patch to the source code and then reinstall bluez which I was able to accomplish. The issue started after that when apt started complaining that bluez was not installed any longer. Below I describe how I modified the apt dependencies tracker file which fixed my unmet dependencies errors.

Details
Technology Errors

Backtrack Linux Configure Error: No package check found

While compiling some earlier versions of bluez, which provides support for core bluetooth layers and protocols, I ran into a minor error. The error complained about no check being available. Read below to see the initial error when running ./configure and how to install the check package to resolve the errors. Installing the check package will fix this problem likely on any platform but for sure on Ubuntu 10.04 since Backtrack Linux is currently built on that platform.

Details
Technology Insights

Append Or Prepend Text To Every Line In Text File With Notepad++

When I need to use Windows either for Microsoft Office products or some other reason I find myself in Notepad++ a lot. Notepad++ is a great free tool that provides a ton of functionality including the ability to easily add plugins, etc. One great feature of Notepad++ is the Regular Expression capabilities when using find/replace. If you wanted to add data to the beginning of each line or add data to the end of each line you can easily do so using find and replace with Regular Expressions enabled as shown in the below examples.

Details