Pokaż wyniki 1 do 2 z 2

Temat: Bluediving

  1. #1
    Zarejestrowany
    Aug 2009
    Skąd
    /dev/sd5/
    Postów
    34

    Domyślnie Bluediving

    Postanowiłem po naprawie BT pobawić sie nim.
    Zainstalowalem wszystkie potrzebne pakiety od uruchomienia Bluediving'a.

    Wpisuje:
    Kod:
    [email protected]:/home/pl33aser/bluediving-0.9# ls
    AUTHORS                bluedivingNG.conf  db       sounds  vcards
    bluedivingNG_bsd.conf  bluedivingNG.pl    LICENSE  TODO
    bluedivingNG_bsd.pl    CHANGES            README   tools
    [email protected]:/home/pl33aser/bluediving-0.9# cd tools
    [email protected]:/home/pl33aser/bluediving-0.9/tools# ls
    atshell_bsd.c           bss-0.8           hstest.c
    atshell.c               btftp_src         l2cap_headersize_overflow.c
    attest_bsd.c            btobex            l2cap-packet.c
    attest.c                btobex_src        Makefile
    backdoored-bluetooth.c  carwhisperer      make_tools.sh
    bccmd                   carwhisperer-0.2  redfang
    bccmd_src               greenplaque       redfang_bsd.c
    bdaddr_bsd.c            greenplaque_src   redfang_src
    bdaddr.c                hcidump-crash.c   redfang.tar.gz
    bss                     hidattack         rfcomm_shell_bsd.c
    bss-0.6                 hidattack01       rfcomm_shell.c
    [email protected]:/home/pl33aser/bluediving-0.9/tools# chmod +x make_tools.sh
    [email protected]:/home/pl33aser/bluediving-0.9/tools# ./make_tools.sh
    rm -f atshell attest bdaddr hcidump-crash hstest l2cap-packet l2cap_headersize_overflow rfcomm_shell
    echo -en "\n<<< Compiling atshell\n"
    -en 
    <<< Compiling atshell
    
    gcc -lbluetooth -lreadline -lncurses atshell.c -o atshell
    /usr/bin/ld: cannot find -lncurses
    collect2: ld returned 1 exit status
    make: *** [atshell] Błąd 1
    
    <<< Compiling bccmd
    gcc -lbluetooth -lusb csr.c  csr.h  csr_3wire.c  csr_bcsp.c  csr_h4.c  csr_hci.c  csr_usb.c ubcsp.c bccmd.c -o bccmd
    
    <<< Compiling btftp
    gcc -lbluetooth -lopenobex -lreadline -lxml2 obex.c sdp.c folder.c main.c -o btftp
    folder.c:32:30: error: libxml/xmlmemory.h: No such file or directory
    folder.c:33:27: error: libxml/parser.h: No such file or directory
    folder.c: In function ‘print_folder_listing’:
    folder.c:41: error: ‘xmlDocPtr’ undeclared (first use in this function)
    folder.c:41: error: (Each undeclared identifier is reported only once
    folder.c:41: error: for each function it appears in.)
    folder.c:41: error: expected ‘;’ before ‘doc’
    folder.c:42: error: ‘xmlNodePtr’ undeclared (first use in this function)
    folder.c:42: error: expected ‘;’ before ‘cur’
    folder.c:43: error: ‘xmlChar’ undeclared (first use in this function)
    folder.c:43: error: ‘prop’ undeclared (first use in this function)
    folder.c:50: error: ‘doc’ undeclared (first use in this function)
    folder.c:56: error: ‘cur’ undeclared (first use in this function)
    folder.c:62: error: expected ‘)’ before ‘xmlChar’
    folder.c:75: error: expected ‘)’ before ‘xmlChar’
    folder.c:81: error: expected ‘)’ before ‘xmlChar’
    folder.c:83: error: expected ‘)’ before ‘xmlChar’
    folder.c:87: error: expected ‘)’ before ‘xmlChar’
    folder.c:100: error: expected ‘)’ before ‘xmlChar’
    folder.c:102: error: expected ‘)’ before ‘xmlChar’
    folder.c:106: error: expected ‘)’ before ‘xmlChar’
    folder.c:110: error: expected ‘)’ before ‘xmlChar’
    make: *** [all] Błąd 1
    mv: nie można wykonać stat na `btftp': No such file or directory
    
    <<< Compiling btobex
    gcc -lbluetooth -lopenobex obex.c sdp.c main.c -o btobex
    
    <<< Compiling bss
    gcc -c bss.c 
    gcc -c l2ping.c
    gcc -c replace.c
    replace.c: In function ‘replace’:
    replace.c:22: warning: incompatible implicit declaration of built-in function ‘strstr’
    replace.c:26: warning: incompatible implicit declaration of built-in function ‘strlen’
    replace.c:39: warning: incompatible implicit declaration of built-in function ‘strncpy’
    replace.c:44: warning: incompatible implicit declaration of built-in function ‘strcpy’
    replace.c:54: warning: incompatible implicit declaration of built-in function ‘strcpy’
    gcc bss.o l2ping.o replace.o -o bss -Wall  -lbluetooth
    
    <<< Compiling carwhisperer
    gcc  carwhisperer.c -o carwhisperer -lbluetooth
    
    <<< Compiling greenplaque
    cc    -c -o src/greenplaque.o src/greenplaque.c
    src/greenplaque.c: In function ‘sdptool’:
    src/greenplaque.c:253: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘int *’
    src/greenplaque.c:253: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘int *’
    src/greenplaque.c:259: warning: format ‘%hx’ expects type ‘int’, but argument 4 has type ‘time_t’
    src/greenplaque.c:259: warning: format ‘%hx’ expects type ‘int’, but argument 4 has type ‘time_t’
    cc -o src/greenplaque src/greenplaque.o -lbluetooth -lpthread -D_REENTRANT
    rm src/greenplaque.o
    
    <<< Compiling hidattack
    cc -Wall -lbluetooth hidattack.o sdp.o -o hidattack
    
    <<< Compiling redfang
    ./redfang/fang
    tar: ./redfang/fang: Nie można open: Not a directory
    ./redfang/fang.1
    tar: ./redfang/fang.1: Nie można open: Not a directory
    ./redfang/fang.c
    tar: ./redfang/fang.c: Nie można open: Not a directory
    ./redfang/fang.o
    tar: ./redfang/fang.o: Nie można open: Not a directory
    ./redfang/INSTALL
    tar: ./redfang/INSTALL: Nie można open: Not a directory
    ./redfang/Makefile
    tar: ./redfang/Makefile: Nie można open: Not a directory
    ./redfang/Makefile.am
    tar: ./redfang/Makefile.am: Nie można open: Not a directory
    ./redfang/Makefile.in
    tar: ./redfang/Makefile.in: Nie można open: Not a directory
    ./redfang/README
    tar: ./redfang/README: Nie można open: Not a directory
    tar: Zakończenie w stanie błędu z powodu uprzednich błędów
    fang.c:78:9: warning: unknown escape sequence '\@'
    fang.c: In function ‘cmd_hunt’:
    fang.c:85: warning: format not a string literal and no format arguments
    [email protected]:/home/pl33aser/bluediving-0.9/tools# make
    echo -en "\n<<< Compiling atshell\n"
    -en 
    <<< Compiling atshell
    
    gcc -lbluetooth -lreadline -lncurses atshell.c -o atshell
    /usr/bin/ld: cannot find -lncurses
    collect2: ld returned 1 exit status
    make: *** [atshell] Błąd 1
    [email protected]:/home/pl33aser/bluediving-0.9/tools#
    a po otwarciu:

    Kod:
    [email protected]:/home/pl33aser/bluediving-0.9/tools# ls
    atshell_bsd.c           bss-0.8           hstest.c
    atshell.c               btftp_src         l2cap_headersize_overfl
    attest_bsd.c            btobex            l2cap-packet.c
    attest.c                btobex_src        Makefile
    backdoored-bluetooth.c  carwhisperer      make_tools.sh
    bccmd                   carwhisperer-0.2  redfang
    bccmd_src               greenplaque       redfang_bsd.c
    bdaddr_bsd.c            greenplaque_src   redfang_src
    bdaddr.c                hcidump-crash.c   redfang.tar.gz
    bss                     hidattack         rfcomm_shell_bsd.c
    bss-0.6                 hidattack01       rfcomm_shell.c
    [email protected]:/home/pl33aser/bluediving-0.9/tools# cd ..
    [email protected]:/home/pl33aser/bluediving-0.9# ls
    AUTHORS                bluedivingNG.conf  db       sounds  vcards
    bluedivingNG_bsd.conf  bluedivingNG.pl    LICENSE  TODO
    bluedivingNG_bsd.pl    CHANGES            README   tools
    [email protected]:/home/pl33aser/bluediving-0.9# perl bluedivingNG.pl
    Missing or non-executable binary rfcomm_shell tools/rfcomm_shell.
    O co chodzi ? ;/
    Instalowałem wszystko zgodnie z instrukcją.

    EDIT

    Mozę tak, jak go zainstalować ? I sprawdzić czy dane pakiety są zainstalowane?
    Ostatnio edytowane przez krisrox : 07-02-2010 - 18:15

  2. #2
    Zarejestrowany
    Jun 2010
    Postów
    17

    Domyślnie

    Z logu który dałeś jako pierwszy można tylko wywnioskować że wiele rzeczy nie zostało doinstalowanych chyba instalowałeś to z apt spróbuj to z jakiegoś menagera np synaptic jest w bt4 wtedy może w sposób właściwy zainstaluje rzeczoną aplikacje

Zasady Postowania

  • Nie możesz zakładać nowych tematów
  • Nie możesz pisać wiadomości
  • Nie możesz dodawać załączników
  • Nie możesz edytować swoich postów
  •  
Subskrybuj