yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Dr_Death:
I download the new package, and this what i got:
[Android Software/Hacking General [Developers Only]] msullivan:
Hrm yet another small error in one of the scripts. So sorry :S (this script is from the BT5 team though, so I take no fault in it not working, lol).

Open "installbusybox" in a text editor and replace the text "cat /sdcard/busybox" with "cat /sdcard/bt5/busybox" it should work. I'll fix it and put it up online once I'm home from work today.
[Android Software/Hacking General [Developers Only]] Dr_Death:
thanks for your time and for your help :)

now i got:
[Android Software/Hacking General [Developers Only]] msullivan:
I'll have to play when I get home... at the moment I don't have an answer :-/
[Android Software/Hacking General [Developers Only]] maikvitesse:
Link is offline....
[Android Software/Hacking General [Developers Only]] Macester:
Just about have it working on my samsung galaxy s2, just having an issue with VNC, won't connect with the following error:

The resolution is correct too, not sure what else to change :confused:
[Android Software/Hacking General [Developers Only]] anantshri:
not sure if synaptic is installed or not.... however synaptic will not work on your terminal mode you will need to run it in graphical mode.

if you are on console either apt-get or you can try aptitude.

aptitude.

P.S. not adding sudo as we are already root in these chrooting environments.
[Android Software/Hacking General [Developers Only]] av_arias9431:
Hi!

Exactly what did you did? I have the same equipment but I can't install :s
[Android Software/Hacking General [Developers Only]] BravoMotorola:
OK, so I've got synaptic, and now GIMP, which works amazingly well. Does anybody know a list of ARM compatible ubuntu applications????
[Android Software/Hacking General [Developers Only]] jab12:
can u operate the network card in monitor mode, on your android device
[Android Software/Hacking General [Developers Only]] wholoot1:
thanks again
[Android Software/Hacking General [Developers Only]] anantshri:
synaptic contains the list of softwares available in repositories.
[Android Software/Hacking General [Developers Only]] BravoMotorola:
I wish you could single out which ones are compatible for ARM and which ones aren't. I can't get sound to work on my Atrix yet with Backtrack. Any I've yet to find a way to get Flash on the firefox browser.

Oh, and also after I install something like Audacity for example, for some weird reason it won't show under my applications.
[Android Software/Hacking General [Developers Only]] anantshri:
ohk here is the think what synaptic tells are only softwares tha are compatible with arm... so you can install any and alll.

sound not sure how you will tap it.

Also try restarting the gui that might bring the application in menu.
[Android Software/Hacking General [Developers Only]] Reamer09:
BT is built off of Ubuntu 10.04 LTS like many people have said already, but it doesn't have the installer for .deb files. In order to install a .deb file that you already have then find it in the terminal and type

dpkg -i file.deb

I used this to install some extras that I had on my Ubuntu partition that I wanted on BT as well.

Sent from my Andromeda Captivate
[Android Software/Hacking General [Developers Only]] Reamer09:
Im having this exact same problem on my Samsung Captivate and it's driving me crazy. In the command line that booted up before trying the VNC I found the file that says its the problem and the text in it isn't able to be modified. Someone please help us with this. Though I am using AdamOutler's code because it works and the OP's renders my sdcard unreadable and requires a reboot to get it back. Very weird.

Sent from my Andromeda Captivate
[Android Software/Hacking General [Developers Only]] anantshri:
try `apt-get install gdebi` and then you can install packages graphically.

if you want to download and install

or you can install synaptic

apt-get install synaptic.

and then you can use it as package manager.
[Android Software/Hacking General [Developers Only]] Reamer09:
That too. I knew about Synaptic, but not the other option. But in a setup like this, the changes don't stay do they? At least I'm having a problem with them keeping. I have to add the path /usr/local/bin every time I start BT in order to use traceroute and others of the sort.
[Android Software/Hacking General [Developers Only]] anantshri:
as for the path look into your startup script and you will find one variable i.e.

export PATH=.......

ust append /usr/local/bin:/usr/local/sbin

and its done

what else you are not able to keep over reboots.
[Android Software/Hacking General [Developers Only]] Reamer09:
I am getting "ust: command not found"

To get traceroute working I am using the command

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

I haven't tried much else because when I try to connect through VNC i get an error saying "There is a problem with the configuration server. (/usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status 256)" but it is in the VNC screen itself (not an Android pop-up if that makes sense).

Thank you for all the help though.
[Android Software/Hacking General [Developers Only]] anantshri:
my bad

i wanted to say "just"

check your script which initiate the bt

inside the script you will find one place which says something like export PATH=$PATH:..... lot more

that's where i suggested you add your directory and all done from next reboot.
[Android Software/Hacking General [Developers Only]] Reamer09:
Thank you very much, that done the trick. Do you have any idea what the error is that I quoted in my last post could be? Someone else a couple pages back have a screen capture attached that is the same error also. I tried uploading one but it was saved as png and tapatalk doesn't support that.

Sent from my Andromeda Captivate
[Android Software/Hacking General [Developers Only]] anantshri:
not exactly however it is related to your gnome configuration.

one of the file where you can do some editing would be /root/.vnc/xstartup

however its better to directly search for error on ubuntu forum or google some hit and trial is required to find the root cause.
[Android Software/Hacking General [Developers Only]] BravoMotorola:
I restarted the gnome by rebooting my phone. I installed Quick Office... I still can't see it.
[Android Software/Hacking General [Developers Only]] Reamer09:
Alright, so how do you modify these files when using this? My phone doesn't have directional keys on it. I'm about to stop bugging you, I do search for quite a bit before posting, I just had that problem with commands starting on reboot and it had the snowball effect from there. Thank you for all of the help.
[Android Software/Hacking General [Developers Only]] anantshri:
QuickOffice is a Android product you wont's find it in BT.

when you install any product inside BT it could be tracked in any one of the folders in menu in its own categories.

for directional keys i am using full keyboard from market however the problem with this is that it doesn't have spelling correction or suggestion.

also basically i can't get the head or tail out of the message so that's why asked you to check google, basically giving you pointers where you can get some help.
[Android Software/Hacking General [Developers Only]] BravoMotorola:
Yea, sorry. I meant Open Office...why the heck did I say Quick Office...
[Android Software/Hacking General [Developers Only]] droid8622:
BackTrack is not designed for running GIMP or installing mintmenu etc,primarily it is designed for security testing,not for everyday use!

I will try to put wireless cards in monitor mode on different phones and submit a conclusion
[Android Software/Hacking General [Developers Only]] Macester:
Still struggling to get vnc working on Samsung galaxy s2, googled lots and tried many a solution that has worked for others including chmod 1777 /tmp which is the most popular fix. if anyone has any ideas or suggestions as to why this is, please please let me know!
[Android Software/Hacking General [Developers Only]] BravoMotorola:
Thats good to hear. I don't see why android phones cant do it like the n900.
[Android Software/Hacking General [Developers Only]] anantshri:
per my current checkes n900 is the only phone i found which is capable of shifting to monitor mode.

also as n900 has native linux its easy for it to port where as we have only linux kernel and other stuff we are doing on our own.
[Android Software/Hacking General [Developers Only]] BravoMotorola:
Do these android phones even have the capability to go into monitor mode?
[Android Software/Hacking General [Developers Only]] anantshri:
as far as my handset is considered... Xperia X10.... It is limited by arthorus at fireware level.

others a lot of devices don't have cards known to go in monitor mode. however no one has yet created a list of devices which can go to monitor mode.

P.S. and iDevice is also not capable of monitor mode.
[Android Software/Hacking General [Developers Only]] uzzoo:
It runs on HD2

[NAND][22.01.11][MDJ's CyanogenMod 7][v2.6][n/Sense][Kernel:
[Android Software/Hacking General [Developers Only]] Lasereye:
I've been getting the same issue as quite a few other people, the "device not found" mounting issue. It creates the $mnt dir fine, but then seems to have an issue at the #mount line... I'm on Droid2Global with stock ROM and 1.19 BusyBox. I've looked over the script quite a few times and recopied over the bt5 folder and .img file a few times as well but can't seem to get anywhere.

I'm no expert in Android/Unix or the like but I can offer my resources.
[Android Software/Hacking General [Developers Only]] Quistnix:
I'm finding this to be increasingly useful. I stripped all the bt tools and a lot of other software I don't use, replaced the panels with a dockbarX on the left side for a touch-friendly unity-like interface and managed (after a lot of hassle) to get OpenJDK running. Combined with the slideout keyboard of my Desire Z, this turns my phone into a nice desktop replacement.
[Android Software/Hacking General [Developers Only]] hexparadox:
Decepticon On-Line

Yes I have managed to get this working like a dream on my Asus TF101 Transformer. Tried running it of an external device and changing the location of the mount points etc but in the end simply copied it all to the internal device memory which is referred as /sdcard.

all i need to do now is increase the default screen res as the screen is bigger. but anyway it works amazingly well. currently trying out some of the programs on it.

Thnaks msullivan
[Android Software/Hacking General [Developers Only]] anantshri:
check startvnc file

basically when you start vncserver you you specify geometry that you just need to change as per your device.
[Android Software/Hacking General [Developers Only]] hexparadox:
is that located in the .img file?
[Android Software/Hacking General [Developers Only]] anantshri:
yup inside image file.

which startvnc might help until and unless the OP has not changed the files.
[Android Software/Hacking General [Developers Only]] joshv06:
Here's a video tutorial today for anyone interested:

http://www.youtube.com/watch?v=QnqQpDnoCg4
[Android Software/Hacking General [Developers Only]] SpyFi:
Ettercap Question

Hey guys! I followed the TUT and Thank You! :) I am using an HTC Evo and am getting an error I cannot find the answer to when it comes to using ettercap.

When I use the command - ettercap -i eth0 // // -qT -M ARP

The error I get is:

FATAL: Interface is not suitable for Layer 2 Sending:

Any help would be great!

Thanks!
[Android Software/Hacking General [Developers Only]] anantshri:
if i am not wrong interface should be wlan0

i.e. -i wlan0

also this discussion should not be there as you are moving towards experimentation.

in that case please post a question on BT forum....

MOD : if you want you can delete this post.
[Android Software/Hacking General [Developers Only]] Solacetech:
Works great on my n1 using blandroid.
[Android Software/Hacking General [Developers Only]] moccor:
Is it possible to fix this error? Droid X
[Android Software/Hacking General [Developers Only]] Reamer09:
Move your apps to the phone off of the SD card. I've had this problem a lot in the past and that's all it is. It could be a specific app causing it (mine was Network Discovery) but the simple fix is to move them all. With the Droid X you have plenty of room on the phone for apps so it shouldn't be a problem.

sent from my Captivate
[Android Software/Hacking General [Developers Only]] anantshri:
This is for OP....

buddy change the code to use loop 254 or 255 that's the last loop you can use.

that way you will not have these erro generally till someone has 255 apps in sdcard.
[Android Software/Hacking General [Developers Only]] utrack:
losetup

How can i fix this error? LG Optimus CM 2.3.4

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

but loop255 IS here!

ls /dev/block | grep 255

loop255

here's my version of script(standard version not working too).
[Android Software/Hacking General [Developers Only]] anantshri:
I would suggest try rebooting and see if it helps...
[Android Software/Hacking General [Developers Only]] utrack:
already done this plenty of times...and tried to recreate loops, no dice.
[Android Software/Hacking General [Developers Only]] anantshri:
can you post the output of mount command .

also approximately how many applications do you have on sdcard.

also please post output of /sdcard/bt5

ls -l /sdcard/bt5
[Android Software/Hacking General [Developers Only]] moccor:
This is what I got after moving all the apps to my phone and editing the loop to 254. Maybe my phone just isn't compatible? Idk, I'll have to look over other posts some more to see if my problem was already talked about.
[Android Software/Hacking General [Developers Only]] Reamer09:
Im not sure. I have started using AdamOutler's script on page 110 or 111 because the OP's was making my phone really messed up until a reboot. Try his instructions and see what you get.

sent from my Captivate
[Android Software/Hacking General [Developers Only]] moccor:
I found his post here

http://xdaforums.com/showpost.php?p=13924701&postcount=109

But I have no idea what he's doing. Is he using terminal emulator?

edit: does it help that knowing my bt5 folder is located at /mnt/sdcard/bt5 ?
[Android Software/Hacking General [Developers Only]] Reamer09:
Copy the script into a text file and name it uboot. The rest of the instructions are in the post. When he's saying to "cd /sdcard/ubuntu" and "sh uboot" he is in a terminal emulator. Make sure the files are in the internal memory, not the SD card. I have mine working with the GUI now with the OP instructions, I don't know what changed.

sent from my Captivate

EDIT: Alright, it's easier now that I'm on my computer. Copy the text in the script and put it into a text file named "uboot" like I had mentioned before. Now make a folder in your phone's internal SD card named "ubuntu". Put the "uboot" script and the BackTrack 5 ARM image in that folder and rename "bt5.img" to "ubuntu.img". Now on your phone execute the following commands in a terminal emulator (I use ConnectBot)

$cd /sdcard/ubuntu
$su
#sh uboot
[Android Software/Hacking General [Developers Only]] moccor:
Ok thanks. I did all of that, and then this is what came afterwards.
[Android Software/Hacking General [Developers Only]] Reamer09:
Can a see an ls output of /sdcard/ubuntu? It looks like the ARM image isn't named "ubuntu.img" and therefore can't find any of the needed files.
[Android Software/Hacking General [Developers Only]] moccor:
I appreciate you spending your time to help me with this, but don't feel obligated to.
[Android Software/Hacking General [Developers Only]] Reamer09:
Its no problem, people have helped me as well, id like to help however I can.

You don't need the files fsrw, mountonly, or unionfs in the folder though. I don't see how that could pose an issue, but they're not needed and you don't want them causing issues that can easily be avoided. Try it after removing those and see if the output changes.

Also, make sure you have busybox installed. You can get it off of the market, just search for "busybox installer".

sent from my Captivate
[Android Software/Hacking General [Developers Only]] moccor:
Yeah I thought the files wouldn't interrupt anything so I left them, but I guess I should have removed them in the first place just in case. Well it resulted in the same as the pic with them removed. I appreciate your help, but I'm gonna install the new Cyangenmod7 ROM on my X. I'm sure that'll create even more problems, so I'll just wait til there are better/easier methods.

Edit: so I'm on the Cyangenmod7 ROM, and instead of it saying "not found" it says "permission denied". Can that be a clue to anything?
[Android Software/Hacking General [Developers Only]] Reamer09:
For anyone getting this message!

EDIT: The quote was suppose to include a picture. The error message is the gconf message that comes up when starting the VNC viewer.

Use ConnectBot for your terminal emulator. After you have started BackTrack in ConnectBot then press the back button to get to ConnectBot's menu and start another terminal but in SSH and use "root@localhost". Once that starts up then you need to enter your BackTrack password "root" unless you changed it. This will bring you to the BackTrack prompt and type in "stopvnc" then after it ends start it again with "startvnc". Now you should be able to go into your VNC viewer and connect to BackTrack with the GUI. It sounds like a lot of steps but ConnectBot can automate the initial commands to get to the bt5 folder and gain su permissions. This is how I got it working on my Galaxy S Captivate so I hope it can help others as well.

sent from my Galaxy S Captivate
[Android Software/Hacking General [Developers Only]] anantshri:
Or you can use followcode as startvnc which will clear all stuff and load vnc in one shot.

if [ `pgrep Xtightvnc` ]
then
echo "VNC SERVER Already running"
else
rm /tmp/.X11-unix/X1
rm -rf /tmp/.X1-lock
vncserver -geometry 850x480
fi

parallely for stopvnc you can have this code.

kill -KILL `pidof Xtightvnc`
rm /tmp/.X11-unix/X1
rm -rf /tmp/.X1-lock

I have encountered wiered scenarios where people were running vnc server's on there android system and hence needed this elegant solution for the hack.
[Android Software/Hacking General [Developers Only]] Reamer09:
That looks like a nice script but its not an issue of the VNC server starting, but it needs to be done thru a SSH connection. It doesn't make any sense to me why this is but if I try to restart the VNC connection without being connected thru SSH then it doesn't do any good.

If I was to try this script though, would I just add it to the bootbt file?

sent from my Galaxy S Captivate
[Android Software/Hacking General [Developers Only]] anantshri:
these are replacement code for startvnc and stopvnc respectively.

try

which startvnc

which stopvnc

that is the location of file you need to modify.

also remember to midfy the screen resolution in vncserver --geometry line.
[Android Software/Hacking General [Developers Only]] daphr:
Hello guys,

I've tried to install bt5 on my galaxy s, but without success. Here's the output of what I get when executing the bt.

# sh bt
mkdir failed for /data/local/mnt, File exists
sysctl: file not found
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: ip 192.168.1.6 mask 255.255.255.0 flags [up broadcast running multicast]
chroot: applet not found
Shutting down BackTrack ARM
losetup: /dev/loop7: No such device or address

Ok, I know it's running under chroot and I'm on Darky's ROM v10.1 which is rooted and busybox is already installed. So I'm wondering what to do, to run bt.

Anyone?

Thanks in advance!
[Android Software/Hacking General [Developers Only]] Reamer09:
Can I see an output of "ls" in the /sdcard/bt5 folder? It says you're missing a file and that maybe where the chroot applet is located because chroot isn't starting. I am on a Galaxy S Captivate and I never had a problem like this when I followed the OP's instructions step by step.

sent from my Galaxy S Captivate
[Android Software/Hacking General [Developers Only]] daphr:
ls /sdcard/BT5 says:

bootbt
bt5.img
busybox
fsrw
installbusybox.sh
mountonly
unionfs

Do i need chroot and sysctl in that dir? I mean it chroot and sysctl are working fine straight out of the terminal (root and non-root).
[Android Software/Hacking General [Developers Only]] neonoafs:
Loved that =D
[Android Software/Hacking General [Developers Only]] Reamer09:
I actually don't have the busybox files in that folder, but I also don't see how this could pose a problem. I just made sure busybox was installed beforehand. You don't need chroot or sysctl in the folder either. Maybe your ROM doesn't support ext4? I think that's something required. I flashed the new official* Samsung release of 2.3.3 for my Captivate and I haven't rooted yet so I cannot run BackTrack on the new ROM.

sent from my KF1 Galaxy S Captivate
[Android Software/Hacking General [Developers Only]] daphr:
I'm on Darky's ROM v10.1 - based on gingerbread. The phone became rooted by installing the ROM and the busybox was also added. I think it's very well supporting ext4, because It already repartitoned and reformatted storage to ext4fs. I've also tried to run Voodoo Sound app, to remove the lagfix and switch it back to ext2, but the result was the same. I've also downgraded my busybox version to 1.18 from 1.19, still the same. Maybe it's the ROM that's causing problems, but the funny thing is that I can run chroot and sysctl from terminal without any problems.

Ugh, maybe I have to export some sysctl and chroot PATH!?

Can you please post your "set" output?
[Android Software/Hacking General [Developers Only]] stasok:
thank you very much msullivan, and greetings from Russia, the only thing I do not understand, there is said about ext2, backtrack 5 will not start if the sd-card is fat32 correctly, I understand and tell me how to do this very ext2?
[Android Software/Hacking General [Developers Only]] Reamer09:
You only need ext2 if the filesize you use for the BackTrack image is larger than 4gb. The one for this is only 3.3gb because it is stripped. FAT32 ant support past 4gb.

sent from my KF1 Galaxy S Captivate
[Android Software/Hacking General [Developers Only]] Yenrac10:
Hello guys,

I've tried to install bt5 on LG Optimus One P500, but without success. Here's the output of what I get when executing the bt.

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

sh-3.2$ export PATH=/data/local/bin:$PATH

sh-3.2$ su

sh-3.2# cd /sdcard/bt5

sh-3.2# sh bt

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

losetup: /dev/block/loop7

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: line 23: /data/local/mnt/etc/resolv.conf: No such file or directory

bt: line 24: /data/local/mnt/etc/resolv.conf: No such file or directory

bt: line 25: /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:

eth0: No such device

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

sh-3.2#

If anyone could help me That would be great.
[Android Software/Hacking General [Developers Only]] Reamer09:
Try moving apps off of the SD card first. I know every time my chroot can't access /bin/bash its because an app on my SD card is using it.

sent from my KF1 Galaxy S Captivate