Reply
Thread Tools
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#151
Will this work? Can anyone compile this?

Code:
/*
 *
 * $ gcc -fpic -shared -o libwlancal.so libwlancal.c -ldl
 *
 */

#define _GNU_SOURCE
#include <stdio.h>
#include <dlfcn.h>

FILE* fopen(const char* path, const char* mode) {
	if (path == "/sys/devices/platform/wlan-omap/cal_mac_address") {
		printf("Opening %s\n", path);
		FILE* (*real_fopen)(const char*, const char*) =
			dlsym(RTLD_NEXT, "fopen");
		return real_fopen("/home/user/.oksikokos", mode);
	}
}
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 

The Following 2 Users Say Thank You to allnameswereout For This Useful Post:
Posts: 19 | Thanked: 2 times | Joined on Jan 2008 @ Long Island, NY
#152
ok, my head is spinning....(but that might just be the coffee!)...

OK, so here's a question:

Must I still use the hexedited file if I am still in my original trial period?
I have 3 days left on my original trial.

I'm running Diablo, map version is 2.2.8.453-1

If so then I'm assuming that I would have to hexedit the navicore-navigator file, copy it into the /usr/libexec directory etc, etc, & use libfaketime and libmacspoof.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#153
Originally Posted by allnameswereout View Post
Will this work? Can anyone compile this?

Code:
/*
 *
 * $ gcc -fpic -shared -o libwlancal.so libwlancal.c -ldl
 *
 */

#define _GNU_SOURCE
#include <stdio.h>
#include <dlfcn.h>

FILE* fopen(const char* path, const char* mode) {
	if (path == "/sys/devices/platform/wlan-omap/cal_mac_address") {
		printf("Opening %s\n", path);
		FILE* (*real_fopen)(const char*, const char*) =
			dlsym(RTLD_NEXT, "fopen");
		return real_fopen("/home/user/.oksikokos", mode);
	}
}
Compiled and stripped:
http://qwerty12.maemobox.org/libwlancal.so

(Haven't tested)
 
Posts: 19 | Thanked: 2 times | Joined on Jan 2008 @ Long Island, NY
#154
ok, i've done the hex edit, then:

$ touch /home/user/.oksikokos
$ cat /sys/devices/platform/wlan-omap/cal_mac_address > /home/user/.oksikokos

$ MAC_ADDRESS=00:11:22:33:44:55 LD_PRELOAD="/home/user/libmacspoof.so.1.0.1:/home/user/libfaketimeMT.so.1" FAKETIME="@2008-07-15 `date +%T`" navicore

Making sure I changed to a random mac address, and changing the date to one inside my trial period

but I am getting

>>>Licensing Error<<<
>>>An Unknown Error (0) Has Occured<<<

I'm running Diablo, map version is 2.2.8.453-1

Any ideas? Thanks in advance!
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#155
qwerty12, thanks for compiling the library!! Haven't had time yet to try it.

Veereihen6, do you have /home/user/libmacspoof.so.1.0.1 and /home/user/libfaketimeMT.so.1 ? You don't have to use a different MAC address yet if your license is still valid. Just use libfaketime to set the date to 6 days before your license expires and it should work fine. Keep the time as-is.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Posts: 19 | Thanked: 2 times | Joined on Jan 2008 @ Long Island, NY
#156
Yep, I have both libmacspoof and libfaketime.

But if i'm reading this correctly, I just have to run the following every time 5 or 6 days:

LD_PRELOAD="/home/user/libfaketimeMT.so.1" FAKETIME="@2008-07-15 `date +%T`" navicore

This seemed to have worked, so far, I guess I will see what happens in a few days.

Thanks!!
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#157
Just because the application starts up doesn't mean it is working. Try entering a waypoint (calculate a route). It wants to use the GPS and/or phone home then. See if it still works then.

Notice the date is 15 july 2008. Its old. Your license wasn't valid back then. Try something like 2008-08-24 and see if this works still in 2 weeks. If the date is before the license was valid (7 days) then, according to my experience, the application won't start up at all.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Posts: 19 | Thanked: 2 times | Joined on Jan 2008 @ Long Island, NY
#158
I hear you, I will try it out tomorrow when I head to work.

FWIW, when I ran the libfaketime, I used a 2008-08-23 which is inside the trial.

Also, I don't tether to my phone, and very rarely use wayfinder when I have a wifi signal, but we'll see how this goes.
 
Posts: 12 | Thanked: 0 times | Joined on Jan 2008
#159
BEST WAY TO CRACK WAYFINDER: go on Ebay & buy Navicore Personal 2007 for N800/N770 software license. I paid $50 for a lifetime Wayfinder N.A. license on my N810.
 
Posts: 3 | Thanked: 1 time | Joined on Mar 2008 @ Finland
#160
Originally Posted by Veereihen6 View Post
I hear you, I will try it out tomorrow when I head to work.

FWIW, when I ran the libfaketime, I used a 2008-08-23 which is inside the trial.
It should work fine for a couple of weeks. But after that Wayfinder notices that the system date (emulated by the libfaketime) has drifted too far from the date received from the GPS signal, and won't do navigation with that licence anymore. Then you have to request for a new trial and temper with the mac addresses.

I just find this too inconvenient and am seriously considering on buying a cheap dedicated GPS device to do my in-car navigation. 99 euros for three years licence is just too much if I can get a separate device for the same price.
 
Reply

Tags
customers?, middlefinger


 
Forum Jump


All times are GMT. The time now is 00:48.