maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Compiling Bluetooth Spammer (!) to Maemo/Easy Debian (https://talk.maemo.org/showthread.php?t=79839)

sr00t 2011-11-09 19:21

Compiling Bluetooth Spammer (!) to Maemo/Easy Debian
 
Alright folks:

First I'll start telling you what this program does.
BlueZSpammer is a tool front-end for obexftp that enables the discovering of Bluetooth devices with OBEX Object Push profile support for sending files in a secuenced way (spamming).
http://i.imgur.com/GrJRN.jpg
It even can filter cellphones and smartphones only.
http://i.imgur.com/MHGf5.jpg
It utilizes the BlueZ protocol stack for Linux and is coded in C.
This attack consists in flooding with bluetooth petitions to a target, sending text and files.
http://i.imgur.com/X69rO.jpg


This could be very useful in our beloved N900. But I tried MANY ways of making it for Easy Debian but I fail 'making' Makefile (no way to install gcc on easy debian, I tried everything posted here).

Sources here for reference!

http://www.seguridadmobile.com/bluet...spammer.tar.gz 174kb tar.gz

I know some devs would compile it in a second... So I'm asking help from you, devs.

I hope this amazing application impresses you! I'm sure most people here didn't even know that this existed :D.

Thanks a lot!

sr00t 2011-11-10 02:19

Re: Porting Bluetooth Spammer (!) to Maemo/Easy Debian
 
shameless self-bump
I see too many n9 threads !

smartypants 2011-11-10 03:40

Re: Porting Bluetooth Spammer (!) to Maemo/Easy Debian
 
che

i would like this too :)

mr_pingu 2011-11-10 07:31

Re: Porting Bluetooth Spammer (!) to Maemo/Easy Debian
 
This even existed in symbian, only not as advanced this :) Honestly I have no idea, but would like to see this working on my system...

sr00t 2011-11-10 16:07

Re: Porting Bluetooth Spammer (!) to Maemo/Easy Debian
 
Is someone with gcc compiler running on Maemo/Easy Debian willing to compile these sources? I don't wanna harrass devs by PM, so self-bump is my only option I think. I'm sorry if I bother you :/ .

anthonie 2011-11-10 16:16

Re: Compiling Bluetooth Spammer (!) to Maemo/Easy Debian
 
Tried the Maemo SDK?

tswindell 2011-11-10 16:26

Re: Compiling Bluetooth Spammer (!) to Maemo/Easy Debian
 
Nice find, just built it for the N9. *boom*

tswindell 2011-11-10 16:31

Re: Compiling Bluetooth Spammer (!) to Maemo/Easy Debian
 
But for you N900 users I did a quick build, no packaging and no friendly launcher. Here's the executable: http://stage.rubyx.co.uk/bluezspammer

sr00t 2011-11-10 17:06

Re: Compiling Bluetooth Spammer (!) to Maemo/Easy Debian
 
Thanks a lot tswindell. I almost raged with your first post :P.
I'm trying to execute it and I can't. Maybe because I didn't link it as an environment variable, or something like that. I'm a noob, I know. Someone ran it successfully in N900?

mr_pingu 2011-11-10 17:28

Re: Compiling Bluetooth Spammer (!) to Maemo/Easy Debian
 
Quote:

Originally Posted by sr00t (Post 1121339)
Thanks a lot tswindell. I almost raged with your first post :P.
I'm trying to execute it and I can't. Maybe because I didn't link it as an environment variable, or something like that. I'm a noob, I know. Someone ran it successfully in N900?

copy to /usr/bin/
and chmod it with reading, writing and executing capabilities

mr_pingu 2011-11-10 17:30

Re: Compiling Bluetooth Spammer (!) to Maemo/Easy Debian
 
Problem is, it doesn't discover any devices =( is it working for you?

sr00t 2011-11-10 18:09

Re: Compiling Bluetooth Spammer (!) to Maemo/Easy Debian
 
Yeah it's discovering devices.

Quote:

Nokia-N900:/home/user/MyDocs/.documents# bluezspammer
BlueZSpammer, an obexftp front-end tool for proximity marketing.

Discovering devices...

BDADDR CLASS OF DEVICE NAME (CHIPSET VENDOR)

00:22:5F:22:00:81 Miscelaneous Dell Wireless 370 Bluetooth Mini-card (Liteon Technology Corporation)

sr00t 2011-11-10 23:38

Re: Compiling Bluetooth Spammer (!) to Maemo/Easy Debian
 
But... It asked me for obexftp. I installed the deb but is missing a lib:
Code:

/home/user/MyDocs/.documents # bluezspammer -p owned.jpg
BlueZSpammer, an obexftp front-end tool for proximity marketing.

Discovering devices...

BDADDR              CLASS OF DEVICE                NAME (CHIPSET VENDOR)

00:1A:DC:42:76:D4  Phone > Cellular                sr00t (Nokia Danmark A/S)

Sending file...
obexftp: error while loading shared libraries: libbluetooth.so.2: cannot open shared object file: No such file or directory
Segmentation fault
/home/user/MyDocs/.documents #


sr00t 2011-11-10 23:55

Re: Compiling Bluetooth Spammer (!) to Maemo/Easy Debian
 
Now I did this and I have libbluetooth.so.2:

Quote:

Originally Posted by xopher (Post 959064)
Adding my progress so far, I've gotten the linked app in the other post to run. At first in complains about missing libbluetooth.so.2 I loaded Debian in a chroot and installed bluez-utils then copied the libbluetooth.so.2 from /usr/lib to my homedir within Easy Debian then copied it to /usr/lib and set proper permissions to the file, the file now loads OK.

Now I have this error:

Code:

/home/user/MyDocs/.documents # bluezspammer -p owned.jpg
BlueZSpammer, an obexftp front-end tool for proximity marketing.

Discovering devices...

BDADDR              CLASS OF DEVICE            NAME (CHIPSET VENDOR)

00:1A:DC:42:76:D4  Phone > Cellular            sr00t (Nokia Danmark A/S)

Sending file...
Suppressing FBS.
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
Segmentation fault

I'm stuck here.

sulu 2011-11-11 14:19

Re: Porting Bluetooth Spammer (!) to Maemo/Easy Debian
 
Quote:

Originally Posted by sr00t (Post 1121307)
Is someone with gcc compiler running on Maemo/Easy Debian willing to compile these sources?

I'll admit that I have absolutely no idea what this program might be good for... :rolleyes:

But installing and running gcc in Easy Debian didn't cause any trouble for me. On the other hand I can't tell if I installed it before or after I dist-upgraded to Squeeze:
http://wiki.maemo.org/Easy_Debian#co...ade_to_Squeeze


All times are GMT. The time now is 21:21.

vBulletin® Version 3.8.8