yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Impossible!No is possible:
OMG!!! i dont belive it Backtrack on my phone...i afraid to kill for ever my ace i prefer wait XD....who had try this "rom"???
[Android Software/Hacking General [Developers Only]] djohnswv:
this isn't a "rom"

its one way of installing backtrack linux on android smartphones....

Sent from my Samsung Mesmerize SCH-I500 Android v2.3.5 Rooted
[Android Software/Hacking General [Developers Only]] Mudahuda:
Can't install it, it gives me this error:

img35.imageshack(DOT)us/img35/1653/sc20120108232809.png
[Android Software/Hacking General [Developers Only]] djohnswv:
does anybody know if u can compile/install a driver for the samsung mesmerize wifi chipset on backtrack that will work with aircrack suite (with injection and monitor mode support)?

is it possible to even use aircrack with injection and monitor mode with backtrack on samsung mesmerize? the wifi is eth0 because the way android and backtrack do the networking stuff...

Sent from my SCH-I500
[Android Software/Hacking General [Developers Only]] hkbladelawhk:
Mount Errors

Okay. So I'm running Bamf Forever Final 1.10 and am using Anant's Backtrack 5 script. It worked wonderfully on Forever 1.0.7, but now I'm getting the following when running it:

/system/bin/startbt: line 14: mount: not found
/system/bin/startbt: line 15: mount: not found
/system/bin/startbt: line 16: mount: not found
/system/bin/startbt: line 18: sysctl: not found

Now I can't use even the simplest commands such as ifconfig or dhclient. (/proc/net/dev is missing) << the error I get. I figure the mount errors are the poisonous tree and the errors following are the fruit. Heck. Ettercap doesn't work either. More errrors.

DIssector "dns" not supported (etter.conf line 70)
Listening on rmnet_sdio0... (Linux cooked)

ERROR : 9, Bad file descriptor
[ec_send.c:send_init:118]

libnet_init(LIBNET_LINK_ADV) failed: unknown physical layer type 0x212

Any ideas? Nothing has changed regarding the SD card and the bt files. I've googled around, but didn't find anything definitive that I could use on the Tbolt.
[Android Software/Hacking General [Developers Only]] Crgm77:
Just got it working on my G2X First try no errors.

any chance of getting BackTrack5 R1?
[Android Software/Hacking General [Developers Only]] jdbower:
Sorry, no ARM release for 5R1:

www.backtrack-linux.org/backtrack/backtrack-5-r1-released/

Hopefully BackTrack 6 will support it again, probably using Ubuntu 12.04 LTS.

FWIW, it works great on my Galaxy Nexus.
[Android Software/Hacking General [Developers Only]] Reamer09:
I just hope that muts and the rest of the developers keep just KDE and Gnome on it though. I will be HIGHLY disappointed if Backtrack ever uses Unity. I think BT 6 will still be based on 10.04 though because there was a lot of Backtrack releases before 5 and they was all based on their own kernel, just like 5 is. They didn't update parallel to the kernel that it was based off of.

As far as the people wanting packet injection, get a Nokia N900, that's the only mobile device that I know has packet injection.

sent from my Galaxy S Captivate
[Android Software/Hacking General [Developers Only]] roothd:
Please solve this running script #sh bt

I'm happen too for this case

i will be include for capture screen of my DHD

Using : DhD

OS: Ginger 2.3.5, Sense 3.0

software: android revolution HD 6.3.1 by mike1986

kernel: 2.6.35.14-RCMIX3D...

thank you

---------- Post added at 11:30 AM ---------- Previous post was at 11:23 AM ----------

---------- Post added at 11:52 AM ---------- Previous post was at 11:30 AM ----------

any more? like folder:

mkdir /data/local/mnt/dev/block/loop7

mkdir /data/local/mnt/dev/loop7

because error on:

#sh bt

mkdir failed for /data/local/mnt, File exists

Loop device exist

losetup: /dev/block/loop7: No such file or directory

mount: Invalid argument

net.ipv

please resolve about my erroor on Desire HD
[Android Software/Hacking General [Developers Only]] Marko1031995:
Hi

I got this in Terminal Emulator

sh-3.2$ su

sh-3.2# cd /sdcard/bt5

sh-3.2# sh bt

bt: line 1: cut: command not found

This script requires root! Type: su

sh-3.2# su

sh-3.2# sh bt

bt: line 1: cut: command not found

This script requires root! Type: su

Help me please

sorry for my english
[Android Software/Hacking General [Developers Only]] movilcillo:
Hi! i am trying to install backtrackt, but in the terminal emulator, when i write

startbt, it's ok and the put in the screen, now you can write bt, but when i write bt

in the screen is write:

Customized script for BackTrack by Anant shirvstava

chroot: can't execute '/bin/bash': No such file or directory

con you help me please?

i am crazy, i don't know what can i do more.

Thanks and regards!
[Android Software/Hacking General [Developers Only]] kekko986:
wow!!! i used this distro in these days!! this is a INTERESTING project!!! go go gooo!!!
[Android Software/Hacking General [Developers Only]] newkidontheblock:
is this working on the thunderbolt running cm7?

hey, im kind of new to all this, i did my own rooting and rom and kernel installation, etc, etc. but, im just getting into this hacking stuff and am not really sure what backtrack even is... ive just been hearing that i'll be able to crack wifi passwords which is exactly what ive been looking for! but ive run into some issues... one being on cm7 so i have no ext2 support(which idek what that means, i just now that i dont have it) but i know that its required to run backtrack, so if anybody could fill me in on how to get this and if backtrack will be able to get me cracking into wifi, it would be much appreciated and if you could, please be easy on me lol im just a 15 year old kid starting to self teach myself a little bit about the hacking world:o if this is already up on running and thunderbolt with cm7 and im reasking a previous question, i apologize!

btw: i have a htc thunderbolt running cm7.2.0 rc1 with a tiamat mecha 2.6.35.14 kernel and android version 2.3.7

thanks for the help and sorry for being a noob!
[Android Software/Hacking General [Developers Only]] 13pointseven:
Having a problem updating metasploit, any ideas?

svn: Failed to add directory 'data/svn' : an unversioned directory of the same name already exists
[Android Software/Hacking General [Developers Only]] NoobDev:
Hi All!

Just wondering if any one confirmed this running on G-Nexus yet, I did check through most of this thread, but yesh! A lot of people asking the same question.

Thanks!

NoobDev
[Android Software/Hacking General [Developers Only]] jdbower:
Yes, it works fine. You can see my installation method here.
[Android Software/Hacking General [Developers Only]] Lutfie7:
Nice info thanks!!
[Android Software/Hacking General [Developers Only]] ParagonX:
Hello!

All went according to the Tutorial works like a charm

Installed Busybox run the commands as told

Installed Android VNC from Market

Connected and ready.

I did this on an a European Samsung Galaxy S2 with ICS 4.03 XXPLB

PS: I cant get airmon-ng command to work any ideas?
[Android Software/Hacking General [Developers Only]] sk8trix:
I tried getting it to run and then when i used vnc it would not connectbut it was running inside terminal what should I do?
[Android Software/Hacking General [Developers Only]] riahc3:
Did a quick search for "Desire Z aircrack-ng" in this thread but nothing came up so sorry if it has been posted.

Does aircrack-ng work with this method? More so, on a Desire Z.

Thanks for the replies. :)
[Android Software/Hacking General [Developers Only]] NoobDev:
RE JD

Hey guys,

You can't use any of the WEP cracking tools yet from what I understand. If you want to know why read up on chroot and chip sets. Likely to be a while before any one gets something stable going for multiple devices. (correct me if I'm wrong)

If you must have it working on a mobile- I believe some Devs got the WEP toolz working on a nokia device. N9000? Over 9000!!!!! (sorry had to do it) Can't remember which one.

Thanks JD, will give it a shot tonight.

CHECK NOKIA FORUMS FOR WORKING WEP TOOLS.
[Android Software/Hacking General [Developers Only]] NoobDev:
@jd

Galaxy Nexus

Stock ICS 4.0.1

I9250

Stock Kernel

Root

Busy

Any idea what is a miss?

export PATH=/data/local/bin:$PATH

app_85@android:/ $ export PATH=/data/local/bin:$PATH

app_85@android:/ $ su

app_85@android:/ # cd /sdcard/BT5-GNOME-ARM; sh bootbt

Loop device exists

open backing file failed: No such file or directory

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

net.ipv4.ip_forward = 1

Creating startvnc script

bootbt[40]: cannot create /data/local/mnt/usr/bin/startvnc: No such file or directory

Unable to chmod /data/local/mnt/usr/bin/startvnc: No such file or directory

Modifying sshd_config

failed on '/data/local/mnt/etc/ssh/sshd_config' - No such file or directory

grep: /data/local/mnt/etc/ssh/sshd_config.old: No such file or directory

bootbt[45]: cannot create /data/local/mnt/etc/ssh/sshd_config: No such file or directory

rm failed for /data/local/mnt/etc/ssh/sshd_config.old, No such file or directory

Adding repositories

failed on '/data/local/mnt/etc/apt/sources.list' - No such file or directory

bootbt[50]: cannot create /data/local/mnt/etc/apt/sources.list: No such file or directory

rm failed for /data/local/mnt/etc/apt/sources.list.old, No such file or directory

Creating quit script

bootbt[59]: cannot create /data/local/mnt/usr/bin/quit: No such file or directory

Unable to chmod /data/local/mnt/usr/bin/quit: No such file or directory

grep: /data/local/mnt/root/.bashrc: No such file or directory

Modifying .bashrc

bootbt[84]: cannot create /data/local/mnt/root/.bashrc: No such file or directory

Configuring nameservers

bootbt[92]: cannot create /data/local/mnt/etc/resolv.conf: No such file or directory

bootbt[94]: cannot create /data/local/mnt/etc/hosts: No such file or directory

Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:

wlan0: ip 192.168.1.144 mask 255.255.255.0 flags [up broadcast running multicast]

Please use the 'quit' command to exit chroot environment

chroot: can't execute '/bin/bash': No such file or directory

Shutting down BackTrack ARM For Android

failed: No such file or directory

failed: No such file or directory

failed: No such file or directory

failed: Invalid argument

1111

Failed to unmount some resources, did you exit with 'quit'?

app_85@android:/sdcard/BT5-GNOME-ARM #

I'm thinking permissions issue? I have these dirs available, but can't seem to cd to them.

Like the names says NoobDev. Linux is some one new territory for me.
[Android Software/Hacking General [Developers Only]] jdbower:
The first error says something is already using that loop device. You can try rebooting your phone to clear it (it may have been from a previous attempt that didn't work correctly). You can also edit bootbt to change references to "loop2" to something else like "loop3".

Unfortunately the original script error handling wasn't all that great and I didn't add anything significant to my version.
[Android Software/Hacking General [Developers Only]] caribpapi:
Trying this on my Samsung Galaxy Player 4.0. (Not sure if its possible) The thing is, that I've read a few posts and it seems the preferred install location for bt5 would be on the internal SD, but I really want to see if I can get it to run on the external SD. (Call me an ass, its cool)

I am using the release "BackTrack5ForARM-MattsLifeBytesEditionv2". I have Busybox Pro 7.7 installed and I am using Better Terminal Emulator 4.03. I have a few apps on my SD card and mainly use Apps2SD to move apps on occasion. I have root access and I have tried a few commands like "busybox ls" to confirm certain things are installed correctly. Here is my error:

$ export PATH=/data/local/bin:$PATH:.
$su
# cd /sdcard/external_sd/bt5
# sh bt
mkdir failed for /data/local/mnt, File exists
Loop device exists
losetup: /dev/block/loop7: No such file or directory
mount: Device or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
bt: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
bt: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
bt: cannot create /data/local/mnt/etc/hosts: directory nonexistent
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: ip 192.168.10.108 mask 255.255.255.0 flags [up broadcast running multicast]

chroot: can't execute '/bin/bash': No such file or directory
Shutting down BackTrack ARM
failed.
failed.
failed.
failed.
losetup: /dev/loop7: Device or resource busy

This is my "grep loop" result:

#ls -l /dev/block | grep loop
brw-rw---- root root 7, 10 2012-03-04 00:10 loop10
brw-rw---- root root 7, 9 2012-03-04 00:10 loop9
brw-rw---- root root 7, 8 2012-03-04 00:10 loop8
brw------- root root 7, 7 2012-03-04 00:09 loop7
brw------- root root 7, 6 2012-03-04 00:09 loop6
brw------- root root 7, 5 2012-03-04 00:09 loop5
brw------- root root 7, 4 2012-03-04 00:09 loop4
brw------- root root 7, 3 2012-03-04 00:09 loop3
brw------- root root 7, 2 2012-03-04 00:09 loop2
brw------- root root 7, 1 2012-03-04 00:09 loop1
brw------- root root 7, 0 2012-03-04 00:09 loop0
#

Would I possibly have to go by this tutorial instead: http://xdaforums.com/showthread.php?t=1162662 or maybe use a command to use a different loop?

Any help, especially with step by step instructions, is appreciated. :D
[Android Software/Hacking General [Developers Only]] z3nful:
The error your getting is that the first losetup isn't pointed at the right file. Double check your path to the .img.

Also, the script is set to use loop7, which is being used by one of your sdcardvapps. Change the loop number to above 20 (20 to be safe, your using 10 right now, so any number higher than that should do it.
[Android Software/Hacking General [Developers Only]] sushigeezer:
Did anyone managed to get some WIFI security auditing done using this?

does aircrack/reaver actually works?
[Android Software/Hacking General [Developers Only]] caribpapi:
Thank you for the response.

So pardon my Linux noobishness, but right now, my bt5 folder is located under /scard/external_sd/bt5. (Where my .img file is located) My BusyBox is installed to /system/xbin/.

This is my bt file:

perm=$(id|cut -b 5)
if [ "$perm" != "0" ];then echo "This script requires root! Type: su"; exit; fi
mount -o remount,rw /dev/block/mmcblk0p5 /system
export kit=/sdcard/bt5
export bin=/system/bin
export mnt=/data/local/mnt
mkdir $mnt
export PATH=$bin:/usr/bin:/usr/local/bin:/usr/sbin:/bin:/usr/local/sbin:/usr/games:$PATH
export TERM=linux
export HOME=/root
if [ -b /dev/loop7 ]; then
echo "Loop device exists"
else
busybox mknod /dev/loop7 b 7 0
fi
#mount -o loop,noatime -t ext2 $kit/bt5.img $mnt
losetup /dev/block/loop7 $kit/bt5.img
mount -t ext2 /dev/block/loop7 $mnt
mount -t devpts devpts $mnt/dev/pts
mount -t proc proc $mnt/proc
mount -t sysfs sysfs $mnt/sys
busybox sysctl -w net.ipv4.ip_forward=1
echo "nameserver 8.8.8.8" > $mnt/etc/resolv.conf
echo "nameserver 8.8.4.4" >> $mnt/etc/resolv.conf
echo "127.0.0.1 localhost bt5" > $mnt/etc/hosts
echo "Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:"
ifconfig eth0
echo " "
busybox chroot $mnt /bin/bash

echo "Shutting down BackTrack ARM"
umount $mnt/dev/pts
umount $mnt/proc
umount $mnt/sys
umount $mnt
losetup -d /dev/loop7

Would I just change "export kit=/sdcard/bt5" to "export kit=/sdcard/external_sd/bt5" and change every instance of loop7 to loop20? Or are there other specifics I'm missing here? (Besides my lack of Linux knowledge of course. :p)
[Android Software/Hacking General [Developers Only]] z3nful:
Yep on both counts, changing the kit to the external sdcard path should line it up right, and changing all loops to 20 will fix the loop issue :)

Just fair warning, you might have other errors after those are fixed lol, many devices out there need to script tweaked considerably
[Android Software/Hacking General [Developers Only]] caribpapi:
So here is my new bt file:

perm=$(id|cut -b 5)
if [ "$perm" != "0" ];then echo "This script requires root! Type: su"; exit; fi
mount -o remount,rw /dev/block/mmcblk0p5 /system
export kit=/sdcard/external_sd/bt5
export bin=/system/bin
export mnt=/data/local/mnt
mkdir $mnt
export PATH=$bin:/usr/bin:/usr/local/bin:/usr/sbin:/bin:/usr/local/sbin:/usr/games:$PATH
export TERM=linux
export HOME=/root
if [ -b /dev/loop20 ]; then
echo "Loop device exists"
else
busybox mknod /dev/loop20 b 20 0
fi
#mount -o loop,noatime -t ext2 $kit/bt5.img $mnt
losetup /dev/block/loop20 $kit/bt5.img
mount -t ext2 /dev/block/loop20 $mnt
mount -t devpts devpts $mnt/dev/pts
mount -t proc proc $mnt/proc
mount -t sysfs sysfs $mnt/sys
busybox sysctl -w net.ipv4.ip_forward=1
echo "nameserver 8.8.8.8" > $mnt/etc/resolv.conf
echo "nameserver 8.8.4.4" >> $mnt/etc/resolv.conf
echo "127.0.0.1 localhost bt5" > $mnt/etc/hosts
echo "Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:"
ifconfig eth0
echo " "
busybox chroot $mnt /bin/bash

echo "Shutting down BackTrack ARM"
umount $mnt/dev/pts
umount $mnt/proc
umount $mnt/sys
umount $mnt
losetup -d /dev/loop20

And this is what I get:

$ export PATH=/data/local/bin:$PATH:.
$ su
# cd /sdcard/external_sd/bt5
# sh bt
mkdir failed for /data/local/mnt, File exists
Loop device exists
losetup: /dev/block/loop20: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
bt: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
bt: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent
bt: cannot create /data/local/mnt/etc/hosts: directory nonexistent
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: ip 192.168.10.108 mask 255.255.255.0 flags [up broadcast running multicast]

chroot: can't execute '/bin/bash': No such file or directory
Shutting down BackTrack ARM
failed.
failed.
failed.
failed.
losetup: /dev/loop20: No such device or address

Any thoughts? Unless someone who has this running off their external_sd can share their bt file perhaps. :D
[Android Software/Hacking General [Developers Only]] z3nful:
Just for ****s and giggles, what does "ls /mnt" show?

One thing I've noticed across devices with internal and e ternal sdcards is that the path to the external sdcar varies. In /mnt there should be something relevant to your external sdcard (maybe the path is external_sdcard and not external_SD?)
[Android Software/Hacking General [Developers Only]] caribpapi:
Getting warm me thinks...

obb
asec
secure
sdcard

Can I assume since external_sd is not part of that list, thats the problem? Would some kind of mount command need to be added to my bt file? If so, what would it be?
[Android Software/Hacking General [Developers Only]] z3nful:
Let's see what mount shows. Type "mount | busybox grep sd " and see if you can locate the external sdcard there
[Android Software/Hacking General [Developers Only]] caribpapi:
$ export PATH=/data/local/bin:$PATH:.
$ su
# mount | busybox grep sd
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:9 /mnt/sdcard/external_sd vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/external_sd/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
#

Definitely shows my external_sd there. See anything I don't?
[Android Software/Hacking General [Developers Only]] z3nful:
unfortuantly, no. Last thing I can think of is that your img isnt in the correct folder.
[Android Software/Hacking General [Developers Only]] caribpapi:
Well the img is definitely in my bt5 folder on my external_sd.

Thanks for your help though!
[Android Software/Hacking General [Developers Only]] z3nful:
one last thing you can try is to run the losetup command manually, then type dmesg to see if it shows anything useful to work off of :)
[Android Software/Hacking General [Developers Only]] caribpapi:
Not sure if I ran this correctly, but this is what I got. Had to attach it as a file due to the length of what was created.
[Android Software/Hacking General [Developers Only]] z3nful:
wasn't expecting a file that large lol

Its kinda hard to read through, so let's do this to shorten it up a little, and to have the error jump out a bit.

Reboot the device, then, as soon as its responsive, open your terminal and run the bt.sh about 10-15 times. (This will show the error multiple times in the dmesg)

From the terminal, you can use "dmesg > /mnt/sdcard/dmesg.txt" to save the output to a file on your internal sdcard. That should help track the error down a bit :)
[Android Software/Hacking General [Developers Only]] caribpapi:
Sorry for the confusion, but is bt.sh a separate command? Because when I run it (tried it as soon as I got on terminal and from from the bt5 location), it shows "Not found". Did you mean run the "sh bt" command like normal 10-15 times then the rest that you stated?
[Android Software/Hacking General [Developers Only]] karthiknr:
Can this work on a armv6 device?
[Android Software/Hacking General [Developers Only]] caribpapi:
Well, here goes the dmesg output file that I got. Again, I got this by doing the "sh bt" command 10+ times. If I was supposed to do the bt.sh command, just let me know.

Thanks again. :)
[Android Software/Hacking General [Developers Only]] z3nful:
Its not showing anything there :/ I'm pretty much stumped. Which version of android is it? For some reason I've Ben having the kinda of problems getting it working on most ICS builds
[Android Software/Hacking General [Developers Only]] caribpapi:
I'm on Android 2.3.5.

I'm wondering if anything from this thread might help BT work on my player: http://xdaforums.com/showthread.php?t=1162662
[Android Software/Hacking General [Developers Only]] Willanhanyard:
I'm having trouble extracting the file from media fire. When I open up the file in winrar or winzip it says the the file has been damaged or the file extension is not supported. This happens with all links. Does anyone in know what this is?
[Android Software/Hacking General [Developers Only]] shreyas.kukde:
Can anyone help me?

Here is what I get after I enter the commands in terminal emulator :(

export PATH=/data/local/bin:$PATH

$ export PATH=/data/local/bin:$PATH

$su

# cd /sdcard/bt5

# sh bt

losetup: /dev/block/loop7

mount: mounting /dev/block/loop7 on /data/local/mnt failed: Device or resource busy

mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or directory

mount: mounting proc on /data/local/mnt/proc failed: No such file or directory

mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory

net.ipv4.ip_forward = 1

bt: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent

bt: cannot create /data/local/mnt/etc/resolv.conf: directory nonexistent

bt: cannot create /data/local/mnt/etc/hosts: directory nonexistent

Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:

eth0: No such device

chroot: can't execute '/bin/bash': No such file or directory

Shutting down BackTrack ARM

umount: can't umount /data/local/mnt/dev/pts: No such file or directory

umount: can't umount /data/local/mnt/proc: No such file or directory

umount: can't umount /data/local/mnt/sys: No such file or directory

umount: can't umount /data/local/mnt: Invalid argument

losetup: /dev/loop7: Device or resource busy

#
[Android Software/Hacking General [Developers Only]] prscarp:
You probably need to use 7zip instead. Get it here http://www.7-zip.org/

Not sure if it will help but you could try this bt script. I had to edit it to make it work for me. Just replace the bt file in /sdcard/bt5 with this one.

-SEE BELOW-