exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

mass-blue-0.1.txt

mass-blue-0.1.txt
Posted Mar 20, 2007
Authored by Stefan Behte | Site ge.mine.nu

mass-blue is a bluetooth auto-discovering mass-file sending tool. Can be used for penetration tests or picture spamming.

tags | tool, wireless
SHA-256 | 683229b9ceea75e738d7e810c65fa977e2b99b0a03e2e2b75660b16c85c63831

mass-blue-0.1.txt

Change Mirror Download
#!/bin/bash
#
# mass-blue is a bluetooth mass-sending tool for files of any kind.
# It's useful for commercials or mass-deploying software.
#
# It uses hcitool to search for devices, then uses sdptool to get the correct
# channel and then does an OBEX Object Push. The ussp-push tool does not always
# get the correct channel on a "Sony Ericsson K610" and maybe others; I have no idea why.
#
# You can use the "list" functions (-o/-F) to only send a file once to every user;
# which I strongly suggest! Bombing really doesn't make sense.
#
# The script was successfully tested with an SGH-i300 and an K610.
#
# Copyright (c) 2007 by Stefan Behte
#
# mass-blue is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# mass-blue is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with mass-blue; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
# Written by Stefan Behte
#
# Please send bugs, comments, wishes and success stories to:
# Stefan.Behte at gmx dot net
#
# Also have a look at my page:
# http://ge.mine.nu/
#
# BTW: mass-blue needs ussp-push (http://www.xmailserver.org/ussp-push.html)
#

FILE=/dev/null
FILE_PHONE=software
SLEEP_INTERVAL=15
LIST=/dev/null

usage()
{
echo -e "\nmass-blue v0.1 by Stefan Behte\nMass-deployment tool for bluetooth files"
echo -e "\nusage: $0 -f [file to send] -p [filename on the phone] -s [sleep between scans] -F [listfile] -o {only send once to every device}\n"
exit 1
}

die()
{
printf "$@\n"
exit 1
}

if [ ! -n "`which ussp-push`" ]
then
die "ussp-push not found.\n"
fi

while getopts "f:p:s:oF:" Option
do
case $Option in
f) if [ -e ${OPTARG} ]; then FILE=${OPTARG};else die "file $OPTARG does not exist.\n";fi;;
p) FILE_PHONE=${OPTARG};;
s) SLEEP_INTERVAL=${OPTARG};;
o) LIST=/tmp/.mass-blue.tmp;;
F) if [ -e ${OPTARG} ]; then LIST=${OPTARG};else die "file $OPTARG does not exist.\n";fi;;
*) usage;;
esac
done

if [ ! -n "$1" ]
then
usage
fi

echo -e "\nlocal file:\t$FILE"
echo -e "remote file:\t$FILE_PHONE"
echo -e "sleep interval:\t$SLEEP_INTERVAL"
echo -e "list:\t\t$LIST\n"

while [ 1 ]
do
hcitool scan | grep ":" | awk '{print $1}' | while read MAC
do
if ! grep ${MAC} ${LIST} &>/dev/null
then
CHANNEL=`sdptool browse $MAC | grep -A11 "Service Name: OBEX Object Push" | grep "Channel: " | awk '{print $2}'`
ussp-push ${MAC}@${CHANNEL} ${FILE} ${FILE_PHONE} &
echo ${MAC} >> ${LIST}
fi
done
sleep ${SLEEP_INTERVAL}
done

Login or Register to add favorites

File Archive:

October 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Oct 1st
    39 Files
  • 2
    Oct 2nd
    23 Files
  • 3
    Oct 3rd
    18 Files
  • 4
    Oct 4th
    20 Files
  • 5
    Oct 5th
    0 Files
  • 6
    Oct 6th
    0 Files
  • 7
    Oct 7th
    17 Files
  • 8
    Oct 8th
    66 Files
  • 9
    Oct 9th
    25 Files
  • 10
    Oct 10th
    20 Files
  • 11
    Oct 11th
    21 Files
  • 12
    Oct 12th
    0 Files
  • 13
    Oct 13th
    0 Files
  • 14
    Oct 14th
    0 Files
  • 15
    Oct 15th
    0 Files
  • 16
    Oct 16th
    0 Files
  • 17
    Oct 17th
    0 Files
  • 18
    Oct 18th
    0 Files
  • 19
    Oct 19th
    0 Files
  • 20
    Oct 20th
    0 Files
  • 21
    Oct 21st
    0 Files
  • 22
    Oct 22nd
    0 Files
  • 23
    Oct 23rd
    0 Files
  • 24
    Oct 24th
    0 Files
  • 25
    Oct 25th
    0 Files
  • 26
    Oct 26th
    0 Files
  • 27
    Oct 27th
    0 Files
  • 28
    Oct 28th
    0 Files
  • 29
    Oct 29th
    0 Files
  • 30
    Oct 30th
    0 Files
  • 31
    Oct 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close