Howto Add Hex Numbers via Command Line

Recently I needed to calculate the starting and ending memory addresses of an IOS application (in order to dump it). As a result i needed to figure out how to add two hex addresses. Here’s what I discovered.

Basic Example

In this case we are adding 0x4f000 and 0×2000

$ printf “0x%X\n” $(( 0x4f000+0×2000 )) . . . → Read More: Howto Add Hex Numbers via Command Line

Mounting Shares via SSHFS with Fuse for OS X and Macfusion

Mounting Shares via SSHFS with Fuse for OS X and Macfusion

 

Apple’s OS X Lion operating system is a fussier cat than its predecessors in a few regards – specifically, printing and access to mounted network shares. Fortunately we’ve come up with some work-arounds! A solution for printing issues can be found here, while this . . . → Read More: Mounting Shares via SSHFS with Fuse for OS X and Macfusion

convert .crt .key or .pfx to .pem

Objective

Convert your .crt and .key or .pfx file to a .pem file

Tools

OpenSSL- This tool will do the conversion Note: If you have Visual SVN Server then openssl is located at:

“%VISUALSVN_SERVER%\bin\openssl” Converting .crt .key to .pem

This section describes how to convert a .crt and .key file to .pem

Linux/Unix/MacOS/Windows Convert .crt . . . → Read More: convert .crt .key or .pfx to .pem

Howto use command line SVN on Mac OSX

Objective Use the command line SVN client on Mac OS X

Subversion was built to be used with the command line subversion client (not the bastardized GUI clients that are being sold on the market right now).

As such my instructions are for the native command line subversion client “svn”

Instructions

These instructions detail . . . → Read More: Howto use command line SVN on Mac OSX

Mac MySQL GUI Tool

Mac MySQL GUI Tool Sequel Pro Best Looking MySQL Cocoa App. Sequel Pro is a fast, easy-to-use Mac database management application for working with MySQL databases. Flexible Connectivity. Sequel Pro gives you direct access to your MySQL databases on local and remote servers. Perfect Web Development Companion. Whether you are a Mac Web Developer, Programmer . . . → Read More: Mac MySQL GUI Tool

join mp3 files single file

Goal: join mp3 files single file

Download mp3wrap

Installation

mp3wrap is cross-platform (Windows, Linux, and Mac).

Windows

Download from sourceforge here

Mac

You will need to use Mac Ports and run command:

sudo port install mp3wrap Linux – Ubuntu sudo apt-get install mp3wrap Linux – CentOS yum install mp3wrap Using mp3wrap

In this example we . . . → Read More: join mp3 files single file

iMac can’t eject disc

If you cannot eject the disk from your iMac, Macbook, or any other type of Mac try this fix:

Start Terminal, paste this in, and hit enter:

drutil tray eject

 

You may have to run the command a few times for it to eject.

cURL Examples

Great examples of how to use cURL from http://www.thegeekstuff.com/2012/04/curl-examples/

1. Download a Single File

The following command will get the content of the URL and display it in the STDOUT (i.e on your terminal).

$ curl http://www.centos.org

To store the output in a file, you an redirect it as shown below. This will also display some . . . → Read More: cURL Examples

detect flashback mac

F-Secure  has created a free tool that automates the detection and removal of the widespread Flashback Mac OS X malware.

How to use the tools:

1) Download FlashbackRemoval.zip to the Mac machine you want to scan. 2) Double-click the zip package to unzip it in the current folder. 3) Double-click the FlashBack Removal app to run the tool. 4) Follow the instructions to check . . . → Read More: detect flashback mac

detect mac flashback

to detect the mac flashback virus (courtesy of cnet.com)

How does it work?

The Flashback malware injects code into applications (specifically Web browsers) that will be executed when they run, and which then send screenshots and other personal information to remote servers.

First step: Exploiting Java When you encounter the malicious Web page containing the . . . → Read More: detect mac flashback